MuseControlLite: Multifunctional Music Generation with Lightweight Conditioners

Fang-Duo Tsai, Shih-Lun Wu, Weijaw Lee, Sheng-Ping Yang, Bo-Rui Chen, Hao-Chung Cheng, Yi-Hsuan Yang

Abstract

We propose MuseControlLite, a lightweight mechanism designed to fine-tune text-to-music generation models for precise conditioning using various time-varying musical attributes and reference audio signals. The key finding is that positional embeddings, which have been seldom used by text-to-music generation models in the conditioner for text conditions, are critical when the condition of interest is a function of time. Using melody control as an example, our experiments show that simply adding rotary positional embeddings to the decoupled cross-attention layers increases control accuracy from 56.6% to 61.1%, while requiring 6.75 times fewer trainable parameters than state-of-the-art fine-tuning mechanisms, using the same pre-trained diffusion Transformer model of Stable Audio Open. We evaluate various forms of musical attribute control, audio inpainting, and audio outpainting, demonstrating improved controllability over MusicGen-Large and Stable Audio Open ControlNet at a significantly lower fine-tuning cost, with only 85M trainable parameters.

Introduction

While modern text-to-music models generate high-fidelity audio from simple prompts, they often lack the fine-grained control required by creators. Tasks like following a specific melody or maintaining a precise rhythmic pulse are difficult to achieve through text alone. Existing solutions, such as ControlNet, often rely on duplicating large portions of the base model, leading to over-parameterization and high computational costs. MuseControlLite addresses these challenges with a lightweight adapter framework that enables precise, time-varying control over music generation.

Methods

The MuseControlLite architecture is designed as a lightweight extension for Diffusion Transformers (DiT), specifically evaluated using the Stable Audio Open model. It introduces several key innovations:

Decoupled Cross-Attention

Rather than injecting all conditions into the primary attention layers, MuseControlLite utilizes "decoupled" cross-attention layers. This separation allows the model to process musical attributes (melody, rhythm, dynamics) and reference audio independently from the text prompt, preserving the model's ability to follow original text instructions while learning new control signals.

Rotary Positional Embeddings (RoPE)

A critical technical contribution of this work is the integration of Rotary Positional Embeddings (RoPE) within the decoupled attention layers. The authors observed that while text conditioners often omit positional information, time-varying conditions like melody require precise temporal alignment. RoPE provides the necessary signal for the model to understand exactly when specific musical events should occur.

Architecture of MuseControlLite featuring decoupled cross-attention and RoPE.

Multi-Condition Guidance

To manage multiple inputs simultaneously, a mathematical formulation for Multi-Condition Classifier-Free Guidance (CFG) was developed. This allows users to independently adjust the influence of text, musical attributes, and reference audio during the inference process.

Experimental Setup

The model was trained on the MTG-Jamendo dataset, with vocals removed via Sound Event Detection. Captions were generated using the Qwen2-Audio model. Evaluation was conducted using the instrumental subset of the Song Describer dataset, focusing on metrics such as melody accuracy (Mel acc.), Fréchet Distance (FD), and Kullback–Leibler divergence (KL).

Key Results

MuseControlLite demonstrates that high controllability does not require massive parameter counts. By training only the key ($W^k$) and value ($W^v$) projections in the decoupled layers, the framework achieves state-of-the-art results with only 85M trainable parameters—nearly 7x fewer than the 572M required by Stable Audio Open ControlNet.

Performance and Efficiency

As shown in the comparison below, MuseControlLite-Melody achieves a melody accuracy of 61.1%, outperforming both MusicGen-Stereo-Large-Melody (43.1%) and the Stable Audio Open ControlNet baseline (56.6%). Furthermore, it maintains superior audio quality, as indicated by the lower FD score of 76.42.

Comparison of MuseControlLite against state-of-the-art models.

The Impact of RoPE

Ablation studies highlighted the necessity of positional embeddings. Without RoPE, melody accuracy in the proposed architecture dropped to a mere 10.7%, compared to 58.6% with RoPE. Ultimately, the optimized MuseControlLite model reached 61.1% accuracy, surpassing the 56.6% achieved by the much larger ControlNet baseline. This confirms that temporal awareness is the "missing link" in time-varying music conditioning.

Disentanglement and Multifunctionality

By employing random masking of conditions during training, the model learned to disentangle melody, rhythm, and dynamics. This allows for complex workflows such as style transfer (applying a melody to a new genre) and seamless audio inpainting/outpainting, where the model fills missing audio segments while adhering to specific melodic or rhythmic guides.

Conclusion

MuseControlLite provides a highly efficient and effective framework for fine-grained music generation control. By leveraging decoupled cross-attention and RoPE, it achieves superior controllability with a fraction of the parameters required by previous methods. Future work will focus on improving inference speeds for multi-condition guidance and expanding the range of controllable attributes to include timbre and instrument-specific parameters.

Summary updated

BibTeX
@inproceedings{tsai2025musecontrollite,
  author = {Fang-Duo Tsai and Shih-Lun Wu and Weijaw Lee and Sheng-Ping Yang and Bo-Rui Chen and Hao-Chung Cheng and Yi-Hsuan Yang},
  title = {{MuseControlLite: Multifunctional Music Generation with Lightweight Conditioners}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=VK47MdCjBH},
}
Figure