Live Music Models

Antoine Caillon, Brian McWilliams, Cassie Tarakajian, Ian Simon, Ilaria Manco, Jesse Engel, Noah Constant, Yunpeng Li, Timo I. Denk, Alberto Lalama, Andrea Agostinelli, Cheng-Zhi Anna Huang, Ethan Manilow, George Brower, Hakan Erdogan, Heidi Lei, Itai Rolnick, Ivan Grishchenko, Manu Orsini, Matej Kastelic, Mauricio Zuluaga, Mauro Verzetti, Michael Dooley, Ondrej Skopek, Rafael Ferrer, Zalán Borsos, Aaron van den Oord, Douglas Eck, Eli Collins, Jason Michael Baldridge, Tom Hume, Chris Donahue, Kehang Han, Adam Roberts

TL;DR

This paper introduces "live music models" that generate music in real-time, allowing for synchronized user control and a more interactive music creation experience. They release two models, Magenta RealTime (open-weights) and Lyria RealTime (API-based), which outperform existing models in quality and offer novel control mechanisms for human-AI musical collaboration.

What Problem Does This Paper Address?

Traditional AI music generation models primarily focus on "offline" generation, where users provide input, wait for a period, and then receive a fixed piece of music. This approach doesn't capture the essence of live music performance, which is characterized by continuous interaction, embodied expression, and a dynamic flow between performer and instrument. The challenge lies in creating AI systems that can generate high-quality music in real-time, respond to user input with minimal latency, and maintain a continuous, causal stream of audio that feels like a live performance.

Methods

The core of the proposed systems, Magenta RealTime and Lyria RealTime, is based on codec language modeling. This involves using a discrete audio codec (SpectroStream) to convert audio into tokens, which are then modeled by a Transformer-based language model.

Key innovations include:

  • Chunk-based autoregression: To enable infinite streaming, the model generates music in 2-second chunks, predicting each chunk based on a limited history of previous chunks. This reduces error accumulation and simplifies deployment.
  • Coarse context representation: For faster processing, the audio history used for conditioning is represented by coarser RVQ tokens, balancing fidelity with speed.
  • MusicCoCa for style control: A joint audio-text embedding model (MusicCoCa) is used to translate user prompts (text or audio) into style embeddings that guide the music generation. This allows for intuitive blending of styles and instrumentation.
  • Lyria RT's advanced controls: Lyria RT extends this with finer-grained controls for tempo, instrumentation, timbre, and harmony, extracted using Music Information Retrieval (MIR) techniques.
  • Audio Injection: A novel mechanism where user's live audio input is mixed with the model's output, tokenized, and fed back as context for the next generation step. This allows for real-time steering of the music.
  • Refinement Model (Lyria RT only): An additional small model that predicts finer-scale audio tokens to boost fidelity at the cost of slightly increased inference time.

Datasets

The models are trained on a large dataset of approximately 190,000 hours of primarily instrumental stock music. For Lyria RT, additional conditioning features are extracted using MIR methods. The paper also mentions a user study involving five music enthusiasts who interacted with the MusicFX DJ interface.

Key Insights and Ideas

  • Live music as a verb: The paper emphasizes the shift from viewing music as a static product to a dynamic process, highlighting the importance of human-in-the-loop interaction.
  • Real-time control is crucial for expressivity: The ability to continuously steer music generation with low latency unlocks new possibilities for personalized expression and a more collaborative creative process.
  • Codec language models are well-suited for streaming: By carefully designing the codec and language model to be causal and achieve a Real-Time Factor (RTF) greater than 1, real-time generation becomes feasible.
  • Style blending via embedding arithmetic: MusicCoCa's embedding space allows for intuitive mixing of styles and instruments by simply averaging their embeddings.
  • Audio injection bridges the gap: This technique directly integrates user performance into the generation loop, creating a more responsive and interactive experience.

Key Results

  • Magenta RealTime outperforms existing open-weights models: On automatic metrics like FDopenl3 and KLpasst, it shows better audio quality and text adherence. It also uses significantly fewer parameters than comparable models like MusicGen Large and Stable Audio Open.
  • Effective musical transitions: The models can generate smooth transitions between different musical styles or prompts, maintaining coherence and adapting to user input.
  • User study findings: Participants found the continuous streaming nature to be inspiring and comparable to collaborative music-making. They felt they could broadly steer the music but desired more precise, real-time control.

Limitations and Future Work

  • Latency: While significant progress has been made, there is still a noticeable latency (several seconds) between user input and its influence on the generated music, which can make precise real-time adjustments challenging.
  • Context window: The 10-second audio context window limits the model's ability to create longer-term song structures.
  • Control granularity: While controls are improved, users still feel more like guides than directors, with prompts broadly steering the music rather than offering fine-grained, direct manipulation.

Future work aims to further decrease control latency, potentially enabling direct MIDI or audio control akin to a new class of synthesizers or audio effects. Training on multi-stem audio is also proposed to allow models to act as musical partners, jamming along with users.

Summary updated

BibTeX
@inproceedings{caillon2025live,
  author = {Antoine Caillon and Brian McWilliams and Cassie Tarakajian and Ian Simon and Ilaria Manco and Jesse Engel and Noah Constant and Yunpeng Li and Timo I. Denk and Alberto Lalama and Andrea Agostinelli and Cheng-Zhi Anna Huang and Ethan Manilow and George Brower and Hakan Erdogan and Heidi Lei and Itai Rolnick and Ivan Grishchenko and Manu Orsini and Matej Kastelic and Mauricio Zuluaga and Mauro Verzetti and Michael Dooley and Ondrej Skopek and Rafael Ferrer and Zalán Borsos and Aaron van den Oord and Douglas Eck and Eli Collins and Jason Michael Baldridge and Tom Hume and Chris Donahue and Kehang Han and Adam Roberts},
  title = {{Live Music Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=SB3XbPgvpl},
}
Figure