Versatile Framework for Song Generation with Prompt-based Control

Yu Zhang, Wenxiang Guo, Changhao Pan, Zhiyuan Zhu, Ruiqi Li, Jingyu Lu, Rongjie Huang, Ruiyuan Zhang, Zhiqing Hong, Ziyue Jiang, Zhou Zhao · OpenReview

TL;DR

This paper introduces VersBand, a novel framework for generating complete, high-quality songs with fine-grained control over vocals, lyrics, and accompaniment. VersBand achieves this by decoupling vocal and accompaniment generation and employing flow-matching and transformer-based models, significantly improving alignment and controllability compared to existing methods.

What Problem Does This Paper Address?

Generating a complete, high-quality song from text prompts is a complex task that existing methods struggle with. Specifically, they often fail to:

  • Generate aligned vocals and accompaniments: Ensuring that the vocal melody and rhythm perfectly match the instrumental backing is crucial for a coherent song, but current models often produce misaligned outputs.
  • Offer fine-grained prompt-based control: Users want to control various aspects of the song, such as singing style (emotion, techniques), musical genre, instrumentation, and lyrical themes, but existing systems offer limited control.
  • Support multiple generation tasks: A truly versatile song generation system should be able to handle tasks like lyric writing, melody generation, and full song synthesis, which is not well-supported by current approaches.

This paper aims to bridge this gap by proposing VersBand, a framework designed to address these limitations and provide a more comprehensive and controllable song generation experience.

Methods

VersBand is a multi-task framework built upon four key models:

  • VocalBand: This decoupled model uses a flow-matching approach to generate singing styles, pitches, and mel-spectrograms. This allows for fast, high-quality vocal synthesis with precise control over singing characteristics. It disentangles content, style, and timbre for better control.
  • AccompBand: This flow-based transformer model generates high-fidelity, controllable, and aligned accompaniments. It incorporates a novel "Band-MOE" (Mixture of Experts) mechanism, which intelligently selects specialized experts to enhance quality, alignment, and control.
  • LyricBand: A dedicated model for generating lyrics based on text prompts, allowing users to specify themes, emotions, and other lyrical attributes.
  • MelodyBand: This model generates musical notes (pitches and durations) based on text prompts, lyrics, and vocal prompts, enabling customizable melody creation.

The framework leverages flow-matching for its ability to model smooth transitions and ensure stable generation, and transformers for capturing long-range dependencies. Classifier-free guidance is also employed to further enhance control over accompaniment styles.

Datasets

The authors trained VersBand using a combination of:

  • Bilingual web-crawled song datasets: Approximately 20,000 Chinese and English songs.
  • Open-source singing datasets:
    • GTSinger (Zhang et al., 2024c): ~30 hours (Chinese & English)
    • M4Singer (Zhang et al., 2022a): ~30 hours (Chinese)
    • OpenSinger (Huang et al., 2021): ~83 hours (Chinese)
  • Accompaniment dataset: A filtered subset of LP-MusicCaps-MSD (Doh et al., 2023), contributing ~1,200 hours.

For data expansion and annotation, they utilized tools like Ultimate Vocal Remover 2 for source separation, WhisperX for transcription, Montreal Forced Aligner (MFA) for alignment, and GPT-4o for generating text prompts and style labels.

Key Insights and Ideas

  • Decoupling for Control: Separating the generation of vocals and accompaniments allows for specialized models (VocalBand and AccompBand) that can focus on their unique challenges, leading to better overall quality and control.
  • Flow-Matching for Smoothness: The use of flow-matching in VocalBand and AccompBand is key to achieving stable, high-quality generation with fine-grained control over styles and transitions.
  • Mixture of Experts (MOE) for Adaptability: Band-MOE in AccompBand intelligently routes tasks to specialized "experts" (Aligned, Controlled, Acoustic), enabling it to adapt to various conditions and produce more nuanced accompaniments.
  • Multi-Task Integration: Combining LyricBand and MelodyBand with VocalBand and AccompBand creates a truly versatile system capable of generating complete songs from diverse prompts, covering lyrics, melody, vocals, and accompaniment.

Key Results

  • Superior Performance: VersBand consistently outperformed baseline models across multiple song generation tasks (lyric, melody, vocal, and full song generation) in both objective and subjective evaluations.
  • High-Quality Vocals: VocalBand achieved higher quality (MOS-Q, FFE) and controllability (MOS-C) in vocal generation and singing style transfer compared to models like VISinger2 and StyleSinger.
  • Aligned Accompaniments: AccompBand demonstrated strong alignment with vocals, achieving high scores in FAD, KLD, OVL, REL, and ALI for song generation.
  • Efficient Generation: The flow-matching approach enables fast inference times for generation.
  • Controllability: The framework allows for extensive control over singing styles, music styles, lyrics, and melodies through various text and audio prompts.

Limitations and Future Work

  • Cumbersome Training/Inference: The reliance on multiple sub-models and infrastructures can make training and inference procedures cumbersome. Future work aims to explore a single model for multi-task generation.
  • Limited Dataset Diversity: The current dataset primarily includes Chinese and English songs, lacking diversity. Future work will focus on building a larger and more comprehensive dataset to enable a wider range of application scenarios.
  • Ethical Concerns: The ability to generate high-quality, controllable songs raises ethical concerns regarding copyright infringement, unfair competition, and potential unemployment for music professionals. The authors suggest exploring methods like music watermarking to mitigate these risks.

Summary updated

BibTeX
@misc{zhang2025versatile,
  author = {Yu Zhang and Wenxiang Guo and Changhao Pan and Zhiyuan Zhu and Ruiqi Li and Jingyu Lu and Rongjie Huang and Ruiyuan Zhang and Zhiqing Hong and Ziyue Jiang and Zhou Zhao},
  title = {{Versatile Framework for Song Generation with Prompt-based Control}},
  year = {2025},
  eprint = {2504.19062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.19062},
}
Figure