H2H Music Improv: A Communication Model and Audio-Visual Dataset for Music Improvisation
Authors: Aleksandra Teng Ma, Anthony Cammarota, Jiayi Wang, Alexandria Smith, Cheng-Zhi Anna Huang, Jeffrey Albert, Alexander Lerch
Organizations: Human-AI Resonance Lab, Massachusetts Institute of Technology, USA · Music Informatics Group, Georgia Institute of Technology, USA · Music Informatics Group, Georgia Institute of Technology · Creative Music Technology Lab, Georgia Institute of Technology, USA
Current real-time AI improvisation systems lack the communication awareness human musicians rely on: rather than treating communication as a foundational algorithm design concern, most systems layer interaction strategies post-hoc onto generative algorithms through explicit controls and predefined modes. This gap persists in part because no formalized, machine-readable communication model with musicians exists. To address this, we study how expert musicians communicate in free (non-idiomatic) improvisation, unconstrained by prior discussion or agreement. Through a collaborative co-design process with expert improvisers, we derive a communication model that (1) captures how free improvisers negotiate musical ideas and enter stable musical spaces, and (2) is formalized as a machine-readable annotation scheme. We further present the H2H (Human-to-Human) Music Improvisation dataset: six hours of audio-visual expert duo improvisations with clean per-player stems and per-player annotations of both their own intentions and their perception of their partner's intentions. To our knowledge, this is the first such dataset for free improvisation. Together, the communication model and the dataset offer a new lens and resource for studying musician communication and may in future inform the design of AI musical partners that communicate by design.
Figures & tables
Figure 1: The communication model. Improvisers’ interactions are modeled as a sequence of point-in-time actions: initiate (i) and acknowledge (a). Actions in time form 3 states: negotiation, proposal, and stability. Each improviser listens to the whole clip and provides timestamp markers annotating both their intended actions and their perception of their partner’s actions.
Figure 2: Left: studio setup with musicians in tracking and isolation rooms, connected via hearback system and inter-room window (not pictured). Right: frontal video recording of the improvisation.
Musician
Time
Music Background
guitar1
4h 3m
20+ years professional; active in jazz, free, commercial, and electro-acoustic improv
trombone2
3h 12m
35+ years professional; active in jazz, free, and classical improv; credits on Grammy winning album
saxophone3
1h 57m
8 years pre-professional; active in jazz improv
trombone4
1h 1m
20+ years professional; member of internationally touring funk fusion ensemble
trumpet5
2h 4m
20+ years professional; active in jazz, free, and experimental improv; internationally performing artist
Table 1: Musician background and contribution time.
Pairing
Annotations
Duration
Played Together
gtr1+trmb2
193
1h 6m
N
gtr1+sax3
200
54m
N
trmb2+sax3
314
1h 3m
N
gtr1+trmb4
236
1h 1m
Y
trmb2+tpt5
246
1h 2m
Y
gtr1+tpt5
179
1h 2m
N
Table 2: Dataset overview by musician pair.
Figure 3: Example of paired annotations from both musicians on the same clip. Broad segmentation aligns, but musicians diverge on granularity and state assignment, illustrating the gap between produced and perceived intention.
Figure 4: Overall and per-state alignment between paired annotations across all clips (medians shown). Stability shows the highest agreement, while proposal and negotiation reveal substantial divergence, not as annotation error, but as evidence of genuine asymmetry between produced and perceived intention.
Machine generation of symbolic music and digital audio are hot topics but there have been relatively few digital musical instruments that integrate generative AI. Present musical AI tools are not artist centred and do not support experimentation or integrating into musical instruments or practices. This work introduces an inexpensive generative AI instrument platform based on a single board computer that connects via MIDI to other musical devices. The platform uses artist-collected datasets with models trained on a regular computer. This paper asks what the design space of intelligent musical instruments might look like when accessible and portable AI systems are available for artistic exploration. I contribute five examples of instruments created and tested through a two-year first-person artistic research process. These show that (re)mapping can replace retraining for discovering AI interaction, that fast input interleaving is a new co-creative strategy, that small-data AI models can be a transportable design resource, and that cheap hardware can lower barriers to inclusion. This work could enable artists to explore new interaction and performance schemes with intelligent musical instruments.
Charles Patrick Martin
The Australian National University Canberra, ACT, Australia
We present a framework for real-time human-AI musical co-performance, in which a latent diffusion model generates instrumental accompaniment in response to a live stream of context audio. The system combines a MAX/MSP front-end-handling real-time audio input, buffering, and playback-with a Python inference server running the generative model, communicating via OSC/UDP messages. This allows musicians to perform in MAX/MSP - a well-established, real-time capable environment - while interacting with a large-scale Python-based generative model, overcoming the fundamental disconnect between real-time music tools and state-of-the-art AI models. We formulate accompaniment generation as a sliding-window look-ahead protocol, training the model to predict future audio from partial context, where system latency is a critical constraint. To reduce latency, we apply consistency distillation to our diffusion model, achieving a 5.4x reduction in sampling time, with both models achieving real-time operation. Evaluated on musical coherence, beat alignment, and audio quality, both models achieve strong performance in the Retrospective regime and degrade gracefully as look-ahead increases. These results demonstrate the feasibility of diffusion-based real-time accompaniment and expose the fundamental trade-off between model latency, look-ahead depth, and generation quality that any such system must navigate.
Deep learning has transformed symbolic music generation by borrowing the training paradigms of large language models, with systems such as NotaGen now producing complete, stylistically convincing classical scores from a short prompt. These systems could become powerful creative partners, helping musicians generate endless possibilities. However, current systems expose almost no control handles on the music itself. In principle, control handles could be built into a foundation model trained from scratch, but this is rarely practical without massive amounts of quality annotated data and compute resources. We therefore present MotiGen, a recipe for retrofitting pretrained symbolic music models to use new instruction prompts. MotiGen injects a musical motif as a structured prompt line, reinforces it with a scalar attention bias toward the motif tokens, and learns the association with a two-phase curriculum. First, it learns from focused excerpts cropped around motif occurrences in the training data, then full scores including the motifs. Our experiments show that our model composes with the prompted motif in over 92.3% of generated pieces. Generated pieces using a variety of motifs are included in our sample site: https://motigen-site.github.io/.
Chao Peter Yang, Cynthia Rudin, Yue Jiang +2
Yale University New Haven, CT · Duke University Durham, NC · Chinese University of Hong Kong, Shenzhen Shenzhen, Guangdong