[Paper Review] Notochord: a Flexible Probabilistic Model for Embodied MIDI Performance
Notochord is a low-latency, probabilistic deep learning model for real-time MIDI performance that enables fine-grained, interpretable interventions in music generation. Trained on the Lakh MIDI dataset, it supports polyphonic, multi-track generation with sub-millisecond response times and enables applications like steerable generation, harmonization, live coding, and likelihood-based interfaces via open-source software and model checkpoints.
Deep learning-based probabilistic models of musical data are producing increasingly realistic results and promise to enter creative workflows of many kinds. Yet they have been little-studied in a performance setting, where the results of user actions typically ought to feel instantaneous. To enable such study, we designed Notochord, a deep probabilistic model for sequences of structured events, and trained an instance of it on the Lakh MIDI dataset. Our probabilistic formulation allows interpretable interventions at a sub-event level, which enables one model to act as a backbone for diverse interactive musical functions including steerable generation, harmonization, machine improvisation, and likelihood-based interfaces. Notochord can generate polyphonic and multi-track MIDI, and respond to inputs with latency below ten milliseconds. Training code, model checkpoints and interactive examples are provided as open source software.
Motivation & Objective
- To design a deep probabilistic model for MIDI sequences that enables real-time, low-latency interaction in embodied musical performance.
- To support fine-grained, interpretable interventions at the sub-event level, such as constraining pitch, timing, or velocity during generation.
- To enable diverse interactive musical functions—like harmonization, improvisation, and live coding—within a single unified model backbone.
- To bridge the gap between slow, batch-mode AI music generation and the immediacy required for performance, ensuring perceptual responsiveness.
- To provide open-source training code, model checkpoints, and interactive examples for extensibility and community research.
Proposed method
- Notochord uses an RNN-based architecture with continuous time and velocity modeling, treating note-ons, note-offs, and controller events as distinct but contextually conditioned events.
- It employs a probabilistic autoregressive framework with discretized mixture logistic distributions for continuous variables and an any-order note factorization to improve modeling efficiency.
- The model is trained on 100,000 songs from the Lakh MIDI dataset to capture rich, ambient musical patterns and stylistic consistency.
- It supports structured interventions via conditional queries—e.g., fixing pitch-class or timing constraints—while allowing other attributes to be predicted contextually.
- The system integrates with real-time environments like SuperCollider and TidalCycles via OSC, enabling live coding and low-latency performance interaction.
- It enables likelihood-based interfaces by exposing model probability scores for pitch selection or parameter modulation.
Experimental results
Research questions
- RQ1How can a deep probabilistic model be designed to support real-time, low-latency musical interaction with sub-10ms response times?
- RQ2To what extent can interpretable, fine-grained interventions (e.g., pitch or timing constraints) be embedded within a probabilistic sequence model without sacrificing generative quality?
- RQ3Can a single unified model serve as a flexible backbone for diverse interactive musical tasks such as harmonization, improvisation, and live coding?
- RQ4How does the model’s probabilistic formulation enable novel interface designs based on likelihood or surprise?
- RQ5What are the practical performance trade-offs of using a deep learning model for real-time MIDI generation in embodied musical contexts?
Key findings
- Notochord achieves response latencies below 10 milliseconds, enabling perceptually instantaneous interaction suitable for embodied performance.
- The model supports polyphonic and multi-track MIDI generation with context-aware, conditional sampling for real-time control.
- Through conditional queries, users can constrain specific attributes (e.g., pitch-class C, velocity 99) while the model generates the rest contextually.
- The model enables diverse applications including real-time harmonization, machine improvisation, live coding with TidalCycles, and likelihood-based pitch selection interfaces.
- The system was successfully integrated into live coding workflows using OSC and SuperCollider, demonstrating compatibility with real-time performance environments.
- Open-source training code, model checkpoints, and interactive examples are publicly available to support further research and experimentation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.