Abstract
Recent progress in text-to-music generation has enabled models to synthesize high-quality musical segments, full compositions, and even respond to fine-grained control signals, e.g. chord progressions. State-of-the-art (SOTA) systems differ significantly in many dimensions, such as training datasets, modeling paradigms, and architectural choices. This diversity complicates efforts to evaluate models fairly and identify which design choices influence performance the most. While factors like data and architecture are important, in this study we focus exclusively on the modeling paradigm. We conduct a systematic empirical analysis to isolate its effects, offering insights into associated trade-offs and emergent behaviors that can guide future text-to-music generation systems. Specifically, we compare the two arguably most common modeling paradigms: auto-regressive decoding and conditional flow-matching. We conduct a controlled comparison by training all models from scratch using identical datasets, training configurations, and similar backbone architectures. Performance is evaluated across multiple axes, including generation quality, robustness to inference configurations, scalability, adherence to both textual and temporally aligned conditioning, and editing capabilities in the form of audio inpainting.
Introduction
In the current landscape of generative music modeling, two paradigms dominate: Auto-Regressive (AR) decoding, popularized by models like MusicGen, and Conditional Flow-Matching (FM), which operates in continuous latent spaces. While AR models have long been the standard in NLP, the audio domain remains a "Wild West" where both approaches show promise. However, direct comparisons are often confounded by differences in training data and model scale. This study isolates the modeling paradigm by training both AR and FM models from scratch using a 400M-parameter Transformer backbone and identical datasets (20,000 hours of audio).
Methodology and Paradigms
Both models utilize the EnCodec latent representation and T5 text embeddings for conditioning.
- Auto-Regressive (AR): This approach treats music as a sequence of discrete tokens. It predicts the next token based on previous ones, utilizing a "delay pattern" to manage multiple codebooks simultaneously.
- Conditional Flow-Matching (FM): Operating in a continuous latent space, FM learns to transform Gaussian noise into a complex audio distribution by predicting a vector field. It is inherently non-autoregressive, allowing for parallel generation and refinement.
Comparative Analysis
The study reveals distinct trade-offs between the two paradigms across several performance axes:
Fidelity and Control Adherence
AR models demonstrate a slight edge in raw musical fidelity, achieving a Fréchet Audio Distance (FAD) score of 0.40 compared to FM's 0.42. More significantly, AR models are more "obedient" to temporal control signals, such as chord progressions, achieving an Intersection over Union (IoU) of 0.57 versus FM's 0.33. However, AR models are susceptible to "accumulated errors," where early deviations can cause the entire sequence to drift out of sync.
Inpainting and Flexibility
FM models prove to be superior for audio editing tasks like inpainting. In human evaluations, FM produced significantly smoother transitions (8.11/10) compared to AR (7.57/10). FM's ability to refine audio in parallel makes it naturally suited for zero-shot editing without the need for specialized "fill-in-the-middle" training strategies.
Training and Inference Efficiency
FM models are more budget-friendly during training, reaching near-peak performance with smaller batch sizes and fewer tokens than AR. Regarding inference, FM is generally faster for single-sample generation. However, AR with KV-caching scales more efficiently for high-throughput scenarios involving large batches of short sequences (under 20 seconds).
Conclusion
This comparative study highlights that while AR models currently lead in raw fidelity and strict control adherence, FM models offer superior flexibility for editing and better training efficiency. The choice between paradigms should be guided by the specific application: AR for high-fidelity, structured compositions, and FM for interactive editing and budget-conscious deployment. Future work may explore hybrid architectures that leverage the structural strengths of AR with the flexibility of FM.
Summary updated