Introduction
In fields like natural language processing and computer vision, foundation models (e.g., GPT, CLIP) have fundamentally changed the landscape by providing rich, pre-trained embeddings that "boost" the performance of smaller, task-specific models. However, Music AI has lacked a comparable "one-size-fits-all" solution. Existing models often specialize in either understanding (e.g., genre classification) or generation (e.g., source separation), but rarely both.
Sony researchers have introduced SoniDo, a music foundation model (MFM) designed to bridge this gap. SoniDo acts as a generic booster by providing a hierarchical information structure, allowing downstream models to leverage representations ranging from coarse global structures to fine-grained acoustic details.
Methodology: The SoniDo Framework
SoniDo utilizes a two-stage generative framework to capture the multi-faceted nature of music:
- Stage 1: Hierarchical Quantized VAE (HQ-VAE): This stage compresses raw audio into discrete tokens across three levels of granularity: coarse (top), medium, and fine (bottom). This hierarchy ensures that both high-level semantic information and low-level acoustic textures are preserved.
- Stage 2: Sparse Transformers: Three separate transformers are trained to predict these tokens. These models are conditioned on CLAP (Contrastive Language-Audio Pretraining) embeddings, effectively linking audio features to textual descriptions.
The Boosting Strategy
Rather than performing tasks directly, SoniDo serves as a feature extractor. Intermediate representations ("SoniDo features") are injected into existing state-of-the-art specialized models, such as HTDemucs for source separation. To ensure robustness and prevent overfitting in understanding tasks, the researchers implemented a "token-out" data augmentation technique, which randomly masks parts of the token sequences during training.
Key Insights
- Hierarchical Utility: Different tasks require different levels of abstraction. Music tagging thrives on coarse, top-level features, whereas source separation and mixing require the fine details captured in the lower layers.
- Addressing Data Scarcity: The boosting effect is most pronounced when downstream training data is limited. In piano transcription tasks with only 10% of the MAPS dataset, SoniDo features improved the note-wise F1 score from 0.59% to 75%.
- Generative Boosting: Unlike many previous MFMs focused solely on classification, SoniDo significantly enhances generative tasks like source separation and automatic mixing, which demand high-fidelity reconstruction.
Results and Performance
SoniDo achieved new state-of-the-art (SOTA) results across multiple domains:
- Music Tagging: Improved performance on the MagnaTagATune (MTAT) dataset.
- Transcription: On the MAPS dataset, SoniDo features helped reach a Note F1 score of 86.45, surpassing the baseline's 85.14.
- Source Separation: On MUSDB18, injecting SoniDo features into HTDemucs raised the average Signal-to-Distortion Ratio (SDR) from 7.57 dB to 8.03 dB.
- Automatic Mixing: Consistently reduced errors in spectral, panning, and dynamic characteristics compared to other foundation model baselines like Jukebox.
Limitations and Future Directions
While powerful, SoniDo has limitations. The inclusion of fine-grained "bottom-layer" features can sometimes introduce noise into high-level understanding tasks, suggesting a need for better feature selection. Additionally, the model's training data is primarily Western-centric, potentially limiting its effectiveness for other musical cultures. Future work will focus on addressing these biases and optimizing the computational overhead associated with using large foundation models as feature extractors.
Summary updated