LARA-Gen: Enabling Continuous Emotion Control for Music Generation Models via Latent Affective Representation Alignment
Organizations: X-LANCE Lab, Shanghai Jiao Tong University, China · Shanghai AI Lab, China · Shanghai Mental Health Center, Shanghai Jiao Tong University School of Medicine, China
Abstract
Recent advances in text-to-music models have enabled coherent music generation from text prompts, yet fine-grained emotional control remains unresolved. We introduce LARA-Gen, a framework for continuous emotion control that aligns the internal hidden states with an external music understanding model through Latent Affective Representation Alignment (LARA), enabling effective training. In addition, we design an emotion control module based on a continuous valence-arousal space, disentangling emotional attributes from textual content and bypassing the bottlenecks of text-based prompting. Furthermore, we establish a benchmark with a curated test set and a robust Emotion Predictor, facilitating objective evaluation of emotional controllability in music generation. Extensive experiments demonstrate that LARA-Gen achieves continuous, fine-grained control of emotion and significantly outperforms baselines in both emotion adherence and music quality. Generated samples are available at https://anonymous2232330.github.io/laragen-web/.
Figures & tables
| Generation System | Prompt | Loss | FAD | Pairwise L2 | Arousal | Valence | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| CCC | PCC | RMSE | CCC | PCC | RMSE | |||||
| Ground Truth | - | - | 0.000 | 2.963 | 0.868 | 0.875 | 0.283 | 0.829 | 0.842 | 0.309 |
| MusicGen | Text | - | 3.060 | 2.743 | 0.092 | 0.153 | 0.676 | 0.129 | 0.190 | 0.623 |
| InspireMusic | Text | - | 3.325 | 3.454 | 0.060 | 0.083 | 0.673 | 0.044 | 0.058 | 0.659 |
| ACE-Step | Text | - | 5.198 | 1.858 | 0.088 | 0.214 | 0.622 | 0.064 | 0.133 | 0.656 |
| Emotion Text Fine-tuning | Text | CE | 2.153 | 2.947 | 0.795 | 0.816 | 0.340 | 0.700 | 0.763 | 0.401 |
| Generation System | OVL | PCC | |
|---|---|---|---|
| Arousal | Valence | ||
| Ground Truth | 3.90 0.97 | 0.882 ∗∗∗ | 0.549 ∗ |
| Text Fine-tuning | 3.16 1.07 | 0.709 ∗ | 0.613 ∗ |
| LARA-Gen | 3.47 1.14 | 0.881 ∗∗∗ | 0.648 ∗ |
Controllable Music Generation
Controllable music generation steers composition and audio synthesis through prompts, musical structure, references, and interactive controls.
See all 91 papers