TL;DR
This paper presents the first exploration of machine unlearning in Text-to-Music (TTM) models, aiming to provide a mechanism for artists to "opt-out" of AI training datasets. By testing standard unlearning techniques on a pre-trained MusicGen model, the authors reveal that existing methods fail in the musical domain, causing severe collateral damage to the model's overall music generation quality.
What Problem Does This Paper Address?
Generative AI music systems can create high-quality audio from simple text prompts, but they are often trained on massive datasets containing copyrighted material without explicit consent. As legal frameworks like the EU's AI Act and GDPR tighten, and as musicians voice opposition to unauthorized training, AI service providers need a way to respect "opt-out" requests.
Retraining a massive foundational model from scratch every time an artist opts out is computationally prohibitive. Machine Unlearning (MU) offers an alternative: selectively removing the influence of specific datasets from a model's parameters via fine-tuning. While MU has shown promise in image and text generation, its efficacy in the complex, multi-layered domain of music generation remains unexplored.
Methods
The authors apply machine unlearning to MusicGen (the small variant), a state-of-the-art autoregressive, Transformer-based TTM model. They test two representative unlearning approaches:
- Gradient Ascent (GA) / Negative Gradient: This method reverses standard training by maximizing the loss on the dataset to be forgotten (the "forget set"). It pushes the model's parameters away from the targeted musical patterns.
- Random Labeling (RL): This approach breaks the association between text prompts and musical outputs by reassigning random text targets to the forget set audio, forcing the model to ignore the original text-music alignments.
To prevent "catastrophic forgetting" (where the model completely breaks down), the authors cap training at 10,000 steps for GA and 1,000 steps for RL.
Datasets
- Forget Set: Approximately 500 samples randomly selected from the Pond5 dataset (representing 0.1% of its free trial data). This acts as the copyrighted data to be erased.
- Remain Set: The MusicCaps dataset, which consists of diverse music-text pairs. This dataset serves as the benchmark to ensure the model retains its general music generation capabilities on data it wasn't explicitly told to forget.
Key Insights and Ideas
- Fidelity vs. Semantics Entanglement: Standard unlearning methods struggle to separate audio quality from semantic concepts. For instance, Gradient Ascent successfully made the generated audio sound less natural (degrading fidelity), but it actually increased text-music alignment in some cases. It essentially produced lower-quality music that still leaned on the pre-trained knowledge.
- Severe Collateral Damage: Music models appear highly sensitive to unlearning. Trying to forget a mere 500 songs caused the model to lose its general compositional capabilities, severely degrading its performance on completely unrelated music styles.
- The Complexity of Audio: Unlike text tokens or image pixels, music combines melody, harmony, rhythm, and timbre in highly subjective ways. This makes defining what it means to "forget" a song—without destroying the model's understanding of a general genre—extremely difficult.
Key Results
The models were evaluated using three metrics: Fréchet Audio Distance (FAD) for audio quality/plausibility, Kullback-Leibler Divergence (KL) for broad musical classification, and CLAP score for text-to-audio alignment.
The Forget Set (Goal: Degrade Performance)
Both GA and RL achieved partial forgetting by degrading the musical plausibility (FAD increased from 3.334 to ~3.87). However, KL divergence scores showed that the outputs remained structurally similar to the target forget set, meaning the core musical concepts were not entirely erased.
The Remain Set (Goal: Maintain Performance)
Performance on the remain set collapsed. Ideally, FAD scores should remain low, but they nearly doubled under both methods (jumping from 4.905 to 9.458 for GA and 9.933 for RL). This indicates a massive drop in general audio quality and prompt alignment for the music the model was supposed to retain.
Limitations and Future Work
The primary limitation is that existing machine unlearning frameworks are simply ineffective when directly applied to Text-to-Music models. They act as a blunt instrument, ruining general generation capabilities while only partially erasing the target data.
The authors conclude that future work must establish clearer definitions of unlearning targets—such as distinguishing between removing a specific protected melody versus a general genre style. They emphasize that developing successful music unlearning frameworks will require close collaboration between AI researchers, musical professionals, and copyright experts.
Summary updated