Abstract
This paper explores the use of unlearning methods for training data attribution (TDA) in music generative models trained on large-scale datasets. TDA aims to identify which specific training data points contributed the most to the generation of a particular output from a specific model. This is crucial in the context of AI-generated music, where proper recognition and credit for original artists are generally overlooked. By enabling white-box attribution, our work supports a fairer system for acknowledging artistic contributions and addresses pressing concerns related to AI ethics and copyright. We apply unlearning-based attribution to a text-to-music diffusion model trained on a large-scale dataset and investigate its feasibility and behavior in this setting. To validate the method, we perform a grid search over different hyperparameter configurations and quantitatively evaluate the consistency of the unlearning approach. We then compare attribution patterns from unlearning with non-counterfactual approaches. Our findings suggest that unlearning-based approaches can be effectively adapted to music generative models, introducing large-scale TDA to this domain and paving the way for more ethical and accountable AI systems for music creation.
Introduction
As generative music models become increasingly sophisticated, the ethical and legal implications of their training data usage have come to the forefront. These models are often criticized as "black boxes" that ingest copyrighted material without providing credit to original creators. Existing attribution methods typically rely on external similarity checks (black-box) or computationally prohibitive "leave-one-out" retraining (white-box). Researchers from Sony AI, in work presented at NeurIPS 2025, address this gap by proposing a scalable white-box solution using machine unlearning to pinpoint the influence of specific training samples on model outputs.
Methodology
The core of the proposed method is to simulate the removal of a training sample by "unlearning" it from a pre-trained model and observing the resulting changes in loss values across the training set.
- Unlearning Algorithm: The researchers use a gradient-based approach to forget a sample. To maintain model stability and prevent catastrophic forgetting, they employ regularization based on the Fisher Information Matrix (FIM), ensuring that only weights relevant to the target sample are modified.
- Mirrored Influence Hypothesis: To achieve scalability, the method unlearns the generated output rather than every individual training sample. According to the mirrored influence hypothesis, the training samples that most influenced that specific generation will show the most significant loss change after the output is unlearned.
- Silence Masking: A critical refinement for music audio was the implementation of silence masking. Because music tracks vary in length and are often padded, masking these regions during unlearning prevents the model from incorrectly attributing influence to silence rather than musical content.
Results and Key Insights
The study utilized a high-quality dataset of 115,000 music tracks (approx. 4,356 hours) to train a Latent Diffusion Transformer (DiT).
Sparsity of Attribution
A key finding is that unlearning-based TDA is significantly "sharper" than traditional similarity-based methods like CLAP or LPIPS. While similarity metrics often return a broad, "blurry" list of related tracks, the unlearning method exhibits a steep drop-off in attribution scores. This sparsity makes it easier to identify a small subset of training samples with high influence.
Quantitative Performance and Layer Sensitivity
In "Train-to-Train" validation—where the model unlearns a track known to be in its training set—the method achieved a perfect self-influence rank of 1.0, identifying the original track as the top source 100% of the time. The researchers also found that targeting all transformer layers for unlearning was essential for optimal performance; restricting the process to only attention layers resulted in suboptimal attribution consistency.
Discussion and Conclusion
Unlearning-based TDA provides a mathematically grounded framework for "fair crediting" in generative music. While the process is computationally feasible—taking approximately 20 minutes on an NVIDIA H100 GPU per sample—it remains slower than real-time similarity checks. Furthermore, the method requires "white-box" access to model parameters, which may limit its application to open-source or internally audited models. Despite these limitations, this work represents a significant step toward ethical AI systems that respect and acknowledge the human artistry underlying generative technology.
Summary updated