A Tutorial on Generative Models for Music Audio

Mateusz Modrzejewski, Joanna Kurkowska, Dorien Herremans

Warsaw University of Technology · ZAiKS Lab · Singapore University of Technology and Design

Published October 28, 2026 · on the feed November 3, 2026 · ▲ 4 · arXiv 2610.38252

Speech & audioLLM training & RLSociety & education No code arXiv ↗Hugging Face ↗

The abstract

Music audio generation spans instrumental clips, full songs with vocals, edits of existing recordings, and systems that play alongside a musician in real time. This monograph explains the methods behind these systems for readers familiar with neural-network training who are new to music generation. It introduces neural audio codecs and autoencoders, autoregressive and masked token models, diffusion and flow matching, sampling acceleration, and preference optimization in a shared notation. Worked examples connect training objectives and sampling procedures to published systems. The application sections relate the musical requirements of instrumental generation, songs, editing, and live performance to model design. Comparison tables record representations, methods, inputs, tasks, and release information documented in papers and official sources. Symbolic composition, speech, and sound effects are included where they connect to music audio. We explain how to interpret automatic metrics and learned judges, design and report listening tests, and assess evidence about data provenance, memorization, attribution, and output detection. Selected legal decisions and disputes illustrate the implications for training and release. The reviewed systems combine established generative paradigms with new representations, planning stages, and post-training procedures. Differences in data, scale, and evaluation limit what cross-system comparisons can establish about the sources of reported gains.

The Brief

2:29

A short podcast summary of the paper. Written and voiced by AI.

Transcript

A Tutorial on Generative Models for Music Audio. By Mateusz Modrzejewski and two others, from the Warsaw University of Technology, ZAiKS Lab, and one other institution. Published on the twenty-eighth of October.

Music audio generation now covers a wide range of systems. Some produce instrumental clips. Some produce full songs with vocals. Some edit existing recordings, and some play alongside a musician in real time. This monograph explains the methods behind all of them. It is written for a particular reader: someone already familiar with training neural networks, but new to music generation.

The tutorial begins with the building blocks, presented in one shared notation. It covers neural audio codecs and autoencoders, autoregressive and masked token models, diffusion and flow matching, ways of accelerating sampling, and preference optimization. Worked examples tie the training objectives and sampling procedures back to systems that have been published.

Application sections follow, organised by musical task: instrumental generation, songs, editing and live performance. For each, the authors relate what the music requires to how the model is designed. Comparison tables record the representations, methods, inputs, tasks and release information documented in papers and official sources. Symbolic composition, speech and sound effects also appear, wherever they connect to music audio.

Evaluation and responsibility get their own treatment. The monograph explains how to interpret automatic metrics and learned judges, and how to design and report listening tests. It discusses how to assess evidence about data provenance, memorization, attribution and the detection of generated output. Selected legal decisions and disputes illustrate what is at stake for training and for release.

Across the reviewed systems, one pattern stands out. They combine generative paradigms that are already established with newer ingredients: new representations, planning stages, and post-training procedures. The authors also draw a caution from the same survey. Systems differ in their data, in their scale and in how they are evaluated, and those differences limit what any comparison between systems can establish about where the reported gains actually come from.

The result reads less like a leaderboard and more like a map with a legend. It gives a newcomer the shared vocabulary of methods, connects that vocabulary to the musical jobs systems are built for, and adds the tools to judge evaluations, provenance and legal exposure. Its closing caution is the one to carry forward: when data, scale and evaluation all vary, a gap between two systems does not by itself say which ingredient produced it.

The deep dive

6:37

A longer episode, written from the whole paper. Written and voiced by AI.

Transcript

A Tutorial on Generative Models for Music Audio. By Mateusz Modrzejewski and two others, from the Warsaw University of Technology, ZAiKS Lab, and one other institution. Published on the twenty-eighth of October. This is the long version: the whole paper rather than the abstract.

A useful music generator has to do more than make plausible sound. A lyrics-to-song system must coordinate the words, the singing and the accompaniment across a song's sections. An edit must change what was asked for and leave the rest of the recording alone. A system used on stage must respond soon enough for a musician to act on what they hear. The methods that meet these demands are scattered across papers. This monograph is a tutorial. It puts the shared objectives into one notation, then tabulates a hundred and five systems against them. Its sharpest observation sits not in the abstract but near the end: every generative paradigm in those tables was already known by 2023.

Every system, the authors argue, fills four slots. A representation: what the model actually generates, whether codec tokens, a continuous latent, a symbolic score or a sketch. A factorization: one token at a time, many in parallel, a chain of denoising steps, a velocity field integrated from noise to data, or a plan followed by a rendering. A route for the condition: a global embedding, a sequence aligned in time with the music, or reference audio. And a sampler, with its count of network evaluations.

MusicGen is the running example, because its paper states every slot. Its EnCodec codec cuts the waveform into fifty frames a second and describes each frame with four tokens, each chosen from a table of two thousand and forty-eight entries. So the language model must produce two hundred tokens for every second of music, which is six thousand tokens for a thirty-second clip. Token rate sets sequence length, and sequence length sets cost and reachable duration.

MusicGen does not predict its four streams one after another. It delays each stream by one step relative to the one before, so that at every step the model emits one token of each stream, and the later streams can see the earlier ones of the same frame. The authors call the pattern a canon: each voice enters one step after the previous one and follows it. A thirty-second clip then costs one thousand five hundred decoding steps plus three at the end, rather than six thousand, at a small cost in quality. Diffusion and flow models scale differently. Each step updates a representation of the whole excerpt, so the number of steps is set by the sampler's schedule and does not grow with output length, though each step gets more expensive as the latent grows.

Flow matching replaces noise prediction with regression onto a velocity along a chosen path from noise to data, usually a straight line. The tutorial is careful here: a straight path between each noise and data pair does not make the learned field straight, so the number of solver steps still depends on what the model learned. Few-step sampling comes from separate procedures, among them adversarial post-training, which the authors warn is easily confused with preference optimization. Adversarial post-training pushes a few-step sampler toward the data distribution, and is a speed method. Preference optimization pushes a model toward outputs a judge or listener prefers, while a penalty holds it near the model it started from.

The fifth paradigm joins the two lineages. In a planner-renderer system a language model writes a plan, which may be semantic tokens, a melody or a score, and a diffusion or flow model renders audio from it. The cost is exposure bias. In training, the renderer sees clean plans taken from the data. At inference it sees the planner's imperfect ones, with errors it never met.

The evidence here is the tables. Song generation is where the field moved: the song table holds no system from 2023 and twenty-five from the two most recent years, and eleven of those twenty-five report a preference or reinforcement stage. Speed separates the paradigms most concretely. Six rows of the instrumental table are marked faster than real time, among them diffusion and flow models, a planner-renderer and a masked token model. No autoregressive token model reports such a measurement.

On quality, the comparison that most directly tests which paradigm is better is a single study that held data and architecture fixed and varied only the paradigm, autoregressive against flow matching. It found trade-offs and no winner. Every other comparison confounds the paradigm with the training set, the codec, the model size and the metric. And the metric itself is shaky. The Fréchet Audio Distance, the default for most of the period, shifts with the choice of encoder and reference set, its estimate from a small set is biased, generally upward, and on modern text-to-music output it correlates weakly with human preference.

There is no dedicated limitations section. The limits are stated throughout instead, most sharply in the conclusion: the tables cannot say which change, whether in representation, planning or post-training, accounts for the reported gains, because the systems also differ in data, scale and evaluation. Data is the least described component. Forty-three of the hundred and five rows disclose no training source, and the industrial song systems train on five million hours and more against tens of thousands for academic ones. The tables do not score output quality at all. Coverage is a dated snapshot, with thirteen further eligible papers found after the classification closed. Openness proved perishable too: the weights the LeVo papers name were withdrawn, which the authors found only by rechecking model cards.

The idea to carry away is where the progress actually lives. Since 2023 the generative families have stayed the same. What changed is what systems generate over, what follows their training, and whether a planner comes before the renderer. So when the next system report arrives, read its codec, its autoencoder, its conditioning route and its training feedback as closely as its generator family. The authors add one commitment of their own: progress should support musicians' consent, recognition and fair pay, and technical quality does not establish any of those.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.