Abstract
We present a family of open-source Music Foundation Models designed to advance large-scale music understanding and generation across diverse tasks and modalities. Our framework consists of four major components: (1) HeartCLAP, an audio-text alignment model; (2) HeartTranscriptor, a robust lyric recognition model; (3) HeartCodec, a low-frame-rate (12.5 Hz) high-fidelity music codec; and (4) HeartMuLa, an LLM-based song generation model. HeartMuLa enables high-fidelity music synthesis under user-controllable conditions, including fine-grained attribute control and short-form generation. We demonstrate that a commercial-grade system can be reproduced using academic-scale data and resources, with the 7B parameter version showing significant scaling improvements.
Introduction
The landscape of generative music is currently dominated by closed-source, proprietary models such as Suno and Udio. This "black box" paradigm restricts academic inquiry and limits reproducibility. Existing open-source alternatives often struggle with maintaining long-range coherence over several minutes, providing fine-grained control for specific song sections (e.g., distinguishing an intro from a chorus), and ensuring clear lyric alignment against complex instrumental backdrops.
HeartMuLa addresses these gaps as a comprehensive open-source suite. It achieves commercial-grade performance using academic-scale resources by introducing a novel low-frame-rate codec and a hierarchical LLM architecture. This allows for high-fidelity, long-form music creation (up to 6 minutes) with precise control over lyrics, style, and structure.
Methods and Framework
The HeartMuLa framework is built upon four specialized pillars:
- HeartCodec: A tokenizer operating at 12.5 Hz—half the rate of many competitors. It utilizes a multi-encoder strategy (Whisper, WavLM, and a custom MuEncoder) to capture both high-level semantics and fine-grained acoustic details efficiently.
- HeartCLAP: Aligns audio and text into a shared embedding space to improve music tagging and retrieval.
- HeartTranscriptor: A lyric recognition model fine-tuned on 7,000 hours of music, optimized for real-world scenarios with heavy instrumental noise.
- HeartMuLa (The Generator): A hierarchical LLM consisting of a 3B-parameter global backbone (predicting core structure) and a 300M-parameter local decoder (rendering acoustic textures).
The model was trained using a progressive four-stage paradigm on a 100,000-hour high-quality music corpus. A key innovation is the application of Direct Preference Optimization (DPO) to fine-tune the model based on lyric clarity and style adherence.
Evaluation and Results
To evaluate performance, the researchers introduced the HeartBeats-Benchmark, a multilingual dataset of 80 songs with expert-validated annotations.
Lyric Clarity and Quality
A standout result is HeartMuLa's performance in lyric alignment. As shown in Figure 3, HeartMuLa achieves the lowest Phoneme Error Rate (PER) among all tested models, including top-tier commercial systems.
In terms of overall song quality, HeartMuLa demonstrates performance parity with leading closed-source models. Figure 4 illustrates that HeartMuLa's SongEval scores are highly competitive with Suno v5, validating the claim that academic-scale resources can produce commercial-grade results.
Efficiency and Scaling
By reducing the codec frame rate to 12.5 Hz, the model effectively doubles its context window, facilitating better long-term planning. System-level optimizations, such as KV-cache alignment and CUDA Graphs, resulted in a 5.4x inference speedup, reducing generation time for a full song to approximately 73 seconds. Furthermore, scaling the model to 7B parameters yielded significant quality gains.
Conclusion
HeartMuLa demonstrates that high-end music generation can be democratized through smart architectural choices like hierarchical modeling and DPO. While future work will focus on improving timbre control and incorporating more human-in-the-loop preference data, HeartMuLa currently serves as a powerful open-source baseline for the research community.
Summary updated