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 · DOI

Abstract

Generating high-quality, fully aligned songs—comprising both vocals and accompaniment—remains a significant challenge in the field of AI music generation. This paper introduces VersBand, a multi-task framework designed to synthesize complete songs from simple text or audio prompts. By leveraging flow-matching for vocal synthesis and a novel Mixture of Experts (MOE) architecture for musical accompaniment, VersBand achieves state-of-the-art performance in musicality, rhythmic alignment, and stylistic control.

Introduction

While text-to-speech and melody generation have seen rapid advancement, the synthesis of a complete song is a significantly more complex task. Existing models often struggle with three primary hurdles: capturing nuanced singing techniques (style control), maintaining perfect synchronization between vocals and accompaniment (alignment), and providing a flexible interface for diverse tasks such as lyrics generation and melody composition (task flexibility).

VersBand addresses these challenges by acting as a "versatile band" that manages the entire creative pipeline—from lyric writing to the final mix—while offering granular control over performance styles through a modular, prompt-based architecture.

The VersBand Framework

The framework is composed of four specialized components, each optimized for a specific stage of the song generation process:

1. VocalBand: Flow-Matching for Vocal Synthesis

VocalBand decouples the singing voice into three distinct components: content (phonetic information), timbre (the unique identity of the singer), and style (expressive techniques like vibrato or breathiness). It utilizes flow-matching, a generative technique that models a deterministic path from Gaussian noise to clear audio. This approach is significantly faster than traditional diffusion models and produces higher-fidelity results by providing a more stable training objective.

2. AccompBand: Specialized Mixture of Experts

To generate the backing track, VersBand employs a flow-based transformer featuring a novel Band-MOE (Mixture of Experts) architecture. Rather than using a monolithic network, the model routes information through three specialized groups of experts:

  • Aligned Experts: Focus on synchronizing accompaniment with vocal features such as loudness and frequency.
  • Controlled Experts: Interpret text-based style prompts (e.g., "aggressive metal guitar").
  • Acoustic Experts: Specialize in specific frequency ranges, such as the low-end for bass or high-end for treble.

3. LyricBand & MelodyBand: The Creative Front-End

These components provide the initial creative structure. LyricBand is a fine-tuned Qwen-7B model (using QLoRA) that generates lyrics based on thematic prompts. MelodyBand is a non-autoregressive transformer that translates text descriptions into musical notes and durations, providing the foundation for the subsequent vocal and accompaniment synthesis.

Data and Training

The researchers trained VersBand on a massive, multi-source dataset totaling over 2,300 hours of audio:

  • Web-crawled Data: 20,000 Chinese and English songs (~1,000 hours).
  • Open-source Singing Datasets: GTSinger, M4Singer, and OpenSinger (~140 hours).
  • Accompaniment Data: A filtered subset of LP-MusicCaps-MSD (~1,200 hours).
  • Expert Annotation: To ensure the model understood high-level style prompts, music experts labeled 200 hours of clips with specific singing techniques, such as falsetto and glissando.

Key Insights

Disentanglement and Zero-Shot Transfer

By separating style from content and timbre, VersBand enables "zero-shot" style transfer. This allows the model to apply the "breathy" style or "vibrato" of one singer to the vocal identity of another without losing the original singer's unique timbre.

Dynamic Routing in MOE

The framework utilizes a Global Router in the AccompBand. During the initial stages of generation (when the audio is mostly noise), the router prioritizes the Aligned Experts to establish the song's structure. As the generation progresses, it shifts focus to the Controlled Experts to refine stylistic details and nuances.

Results and Evaluation

VersBand outperformed existing baselines, such as Melodist and MelodyLM, across both subjective and objective metrics:

  • Vocal Quality: In Mean Opinion Score (MOS-Q) tests, VocalBand achieved a score of 4.04, closely approaching the ground truth score of 4.34.
  • Alignment: The system achieved an Alignment (ALI) score of 80.51, significantly surpassing Melodist (74.86). This validates the effectiveness of the MOE approach in maintaining synchronization between the singer and the band.
  • Style Control: Qualitative analysis via mel-spectrograms demonstrated that VersBand successfully interprets complex prompts like "bubble technique" or "breathy singing," which are often ignored by previous models.

Conclusion and Future Work

VersBand represents a significant step toward versatile, high-fidelity AI song generation. While the current framework relies on four separate sub-models—which can be computationally intensive—it demonstrates the power of disentangled representations and specialized experts. Future work will focus on unifying these components into a single model, expanding language support beyond Chinese and English, and further diversifying the musical genres represented in the training data.

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