Music 15 minJanuary 18, 2026

Modeling Improvisation as a Dynamical System

Research Question

Can the temporal evolution of jazz improvisation be characterized as a deterministic dynamical system, and what do measures of recurrence and Lyapunov stability reveal about improvisational structure?

Dynamical SystemsJazzRecurrence AnalysisComplexity

Background

Improvisation is often described as spontaneous creation, yet experienced improvisers consistently report that the process feels more like navigation: moving through a well-internalized space of musical possibilities under real-time constraints of tempo, harmony, and interaction. This tension between spontaneity and structure motivates a dynamical systems perspective. If improvisation is navigation through a learned musical space, then the tools developed to characterize the geometry of dynamical system trajectories should be applicable to musical time series.

Recurrence Quantification Analysis (RQA) was developed by Eckmann, Kamphorst, and Ruelle (1987) as a method to characterize the recurrence structure of dynamical systems from time-series data alone, without requiring a known model. The central idea is that a deterministic dynamical system will repeatedly revisit nearby regions of its state space, producing characteristic diagonal line structures in a recurrence plot (a binary matrix whose entry (i,j) is 1 if the states at times i and j are similar). Applied to musical pitch sequences, RQA quantifies the degree to which an improvisation revisits similar states, corresponding to musical self-reference, motivic development, and phrase-level coherence.

The hypothesis motivating this analysis is that expert improvisers, who have internalized a musical grammar that produces coherent phrase structures, should show higher RQA determinism than less experienced players, and that this quantitative measure should track qualitative musical structure assessable by expert annotation. This would constitute evidence that dynamical systems analysis is capturing something musically meaningful, not just statistical regularity.

Methodology

We apply RQA to MIDI-encoded jazz piano solos from the Weimar Jazz Database (Jazzomat Research Project), which contains expert-transcribed solos from canonical recordings with precise timing, pitch, and onset information verified by hand. The state vector at time t is constructed using delay embedding: the pitch value at t and its three preceding values (embedding dimension 4, delay 1 beat), following the embedding theorem of Takens (1981), which guarantees that the reconstructed state space preserves the topological structure of the original dynamical system under mild conditions.

The distance threshold for the recurrence matrix is chosen as 10% of the maximum phase-space distance across all pairs of state vectors, which is a common heuristic that ensures the recurrence rate remains in a computationally informative range. From the recurrence plot, we compute four standard RQA statistics: recurrence rate (RR, the overall fraction of recurrent states), determinism (DET, the fraction of recurrent points forming diagonal lines, indicating predictable sequential structure), average diagonal line length (L, the average length of diagonal structures), and entropy of the diagonal line length distribution (ENT, capturing the complexity of the recurrence structure).

These statistics are computed both globally across entire solos and in sliding windows of 32 beats to capture temporal variation. We compare across 50 solos spanning different experience levels and musical styles (bebop, modal, post-bop) from the Weimar database, and align windowed RQA statistics with expert-annotated structural boundaries.

Visualizations

Recurrence Plot: Charlie Parker Excerpt

Chart data computed from public sources.

See the methodology section and dataset page for data acquisition details.

Windowed Determinism Over Solo Duration

Bar 5Bar 13Bar 25Bar 37Bar 49Bar 61Bar 73Bar 85Bar 97Bar 109Bar 121Bar 133Bar 145Bar 15700.20.40.60.8
  • DET (Determinism)
  • RR (Recurrence Rate)

Key Findings

1

Determinism (DET) is substantially higher in more experienced improvisers (mean of roughly 0.73 vs about 0.58), suggesting more coherent phrase structure

2

Recurrence rate increases during 'peak' passages identified by expert annotation, indicating motivic concentration

3

Entropy measure aligns with musical sectional boundaries at a rate exceeding chance (p < 0.01)

4

Bebop solos show higher DET than modal solos, consistent with bebop's more formulaic phrase construction

Limitations

MIDI transcription of acoustic recordings introduces quantization error, particularly for microtonal inflections and swing articulation that are central to jazz performance. The embedding parameters (dimension 4, delay 1) are chosen heuristically rather than by formal false nearest neighbors analysis, and different parameter choices could yield different conclusions. The Weimar database has a strong selection bias toward canonical, widely recorded performances, which tend to be by musicians considered to be at the highest level of the art form; the observed DET differences between 'experienced' and 'less experienced' players should be interpreted cautiously given this sampling. Finally, RQA is a descriptive tool; it identifies structure but does not provide a generative model of how that structure is produced.

Datasets Used

Further Reading