MusicLayout: Explicit Structural Planning for Controllable Text-to-Music Generation

Shuyu Li, Kejun Zhang, Jiahe Lei, Shulei Ji, Zihao Wang, Jiaxing Yu, Wanying Wu, Lei WangarXiv 2026

TL;DR

MusicLayout introduces an explicit "blueprint" stage for text-to-music generation, moving away from opaque global prompts toward interpretable, time-aligned plans. By generating a structured intermediate representation of sections, textures, and instrument arrangements before the audio itself, the system enables precise user control and significantly improves the long-range structural organization of generated music.

What Problem Does This Paper Address?

Current text-to-music models (like MusicGen or Stable Audio) are impressive but often behave like black boxes. You might provide a prompt like "a mid-tempo Chinese pop-folk arrangement," but you have little control over when the chorus starts, how the instruments enter, or where a specific melody repeats.

The structural organization remains implicit in the model's weights, making it nearly impossible to inspect or revise a musical plan before the computationally expensive audio synthesis begins. This lack of "structural steerability" is a major hurdle for creators who need specific arrangements rather than just generic background tracks.

Methods

The authors propose MusicLayout, a human-readable, tokenized intermediate representation that acts as a planning layer.

Figure 1: Conventional autoregressive LM-based text-to-audio generation (top) and our explicit- planning framework (bottom). Our LM generates MusicLayout tokens and then discrete audio tokens, labeled audio codes in the figure, within one sequence. A frozen decoder renders the audio tokens into music. The abbreviated rewrite selects the musical section at 49–55 seconds, assigns it the chorus label, and sets its active instrument list to drums. The <roles> tag delimits that list.

The core of the approach is a unified autoregressive framework built on the ACE-Step 1.5 architecture. Instead of predicting audio tokens directly from text, the model generates a sequence in this order:

  1. Text Prompt: The initial user intent.
  2. Layout Tokens: A detailed plan specifying sections (e.g., intro, verse, chorus), textures (e.g., rhythm-driven, harmonic bed), and instrument roles (e.g., drums:low:sparse:med).
  3. Audio Tokens: The final discrete codes that a decoder turns into sound, conditioned on the preceding layout.

A key innovation is the concept of "Families." MusicLayout groups segments that share similar musical material into families (e.g., fam_0). This allows the model to explicitly plan repetitions and variations (marked as same, light_var, or strong_var), ensuring that a chorus sounds like a chorus when it returns later in the song.

Figure 2: A MusicLayout example aligned to a shared timeline. Rows show sections, material families, textures, variations, and instrument arrangements. Family colors identify recurring material, and instrument entries give register, density, and energy. Blanks denote inactivity. For readability, rhythm, light, and strong abbreviate rhythm_driven, light_var, and strong_var, respectively.

Datasets

The researchers utilized three primary datasets to train and evaluate the model:

  • FreeMIDI: The primary training set, consisting of over 24,000 MIDI-synthesized pieces. The authors developed a deterministic pipeline to extract MusicLayout annotations from these MIDI files.
  • MidiCaps: Used for out-of-domain evaluation to see how well the model generalizes to different MIDI styles and captions.
  • MuChin: A dataset of real-world audio (accompaniments separated from vocals). Since this lacks MIDI data, it served as a "domain shift" test to see if the model's structural planning benefits hold up on real recordings.

Key Insights and Ideas

  • Planning as Supervision: Even when the layout is "shuffled" (paired with the wrong audio during training), the model still learns a generic structural benefit. However, the best results come from "matched-data" training, where the layout accurately describes the accompanying audio.
  • Pre-Synthesis Control: Because the layout is generated first, a user can pause the process, "rewrite" a section of the plan (e.g., changing a bridge to a drum-heavy breakdown), and then resume generation. The audio will then follow the modified plan.
  • Structural Metrics Matter: The authors emphasize that standard audio metrics like FAD (Fréchet Audio Distance) don't capture musical structure well. They use specialized metrics like SCM Energy Distance and Acoustic-Boundary Agreement ($F_{0.5}$ and $F_{3.0}$) to prove that MusicLayout actually helps the model "keep time" and organize sections better than baselines.

Key Results

The model was compared against heavyweights like MusicGen-Large and Stable Audio 3. As shown in the objective results table (Figure 5), the MusicLayout model (especially in the "Generated layout" condition) frequently outperformed baselines in structural metrics.

Objective results across different datasets and metrics.
  • Structural Organization: On the FreeMIDI dataset, the model achieved the highest boundary agreement scores ($F_{0.5} = 0.643$, $F_{3.0} = 0.834$), indicating that the generated audio transitions align much more closely with a logical musical structure.
  • Subjective Quality: In listening tests, experienced listeners rated the "Reference layout" condition higher in text consistency than the original ACE-Step 1.5, suggesting that explicit planning helps the model stay "on-task" throughout long-form generation.

Limitations and Future Work

While MusicLayout is a significant step forward, it has a few notable constraints:

  • Pre-synthesis Only: You can edit the plan before the music is made, but you can't currently use it to "fix" a specific section of an already-generated audio file.
  • Acoustic Fidelity: Because the model was trained on MIDI-synthesized audio to get clean structural data, its raw "sound quality" (timbre and production) may not yet match models trained on massive libraries of high-end studio recordings.
  • Instrument Granularity: The instrument representation is categorical (e.g., "sax"). It doesn't yet capture fine-grained performance nuances like vibrato or specific production effects.

The authors suggest that future work will focus on achieving higher-quality audio synthesis while maintaining this high level of structural control.

Summary updated

BibTeX
@misc{li2026musiclayout,
  author = {Shuyu Li and Kejun Zhang and Jiahe Lei and Shulei Ji and Zihao Wang and Jiaxing Yu and Wanying Wu and Lei Wang},
  title = {{MusicLayout: Explicit Structural Planning for Controllable Text-to-Music Generation}},
  year = {2026},
  eprint = {2608.09035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09035},
}
Figure