Manuscript Offprint
arXiv:2611.08839Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
CHANGHEON HAN, Chalmers University of Technology and University of Gothenburg, Sweden
HUGH XUECHEN LIU, Chalmers University of Technology and University of Gothenburg, Sweden
ASHKAN PANAHI, Chalmers University of Technology and University of Gothenburg, Sweden
KIVANÇ TATAR , Chalmers University of Technology and University of Gothenburg, Sweden
Copyright analysis focuses on the similarity between two works. However, generative AI models learn from training data through functional relations beyond similarity. Training Data Attribution (TDA) estimates the influence of each training instance on a generated output and may serve as a basis for remuneration. However, prior studies find global influence, where a few training instances rank as the most influential for almost every generation. Used directly, TDA scores would distribute part of every remuneration to these instances regardless of what was generated. To address this, we propose a new approach in which TDA scores are decomposed into three levels of influence, namely global indicating the influence of a training data to a trained model, group for its influence on a group of generated outputs (that could be clustered together), and specific for its influence on a single generated output. Our study finds that, across several music generative models and TDA methods, global- and group-level influence is non-negligible in every case. Based on these observations, we propose the term functional dependency for the relation of training data to a trained model or to its outputs. This notion both encompasses and distinguishes dependencies of different scopes, allowing TDA scores to be interpreted as distinct forms of contribution in legal, economic and ethical discussions on remuneration.
CCS Concepts: • Social and professional topics → Intellectual property; • Computing methodologies → Machine learning; • Applied computing → Sound and music computing.
Additional Key Words and Phrases: Generative AI, Copyright, Training Data Attribution, Functional Dependency, Remuneration
1 Introduction
While copyright investigates similarity between creative works, generative AI models [4, 18, 21, 26, 44, 63] bring new challenges to conventional copyright [1, 2, 27, 38, 54, 55] and royalty allocations [3, 8, 28, 52, 53]. With generative AI models, a creative work can be utilized beyond its similarity, through functional relations to other creative works from the process of training a model to generating outputs. Therefore, a straightforward remuneration based on the similarity between data and a generated output may not fully reflect how the data actually contributes [24, 57, 59].
One technical approach to analyze these functional relations between training data, a model, and generated output is Training Data Attribution (TDA), which estimates the influence of each training instance on a model's generated output [31, 36, 48, 50]. It is considered one possible basis for such a remuneration mechanism [24]. However, linking these estimates to transparent remuneration is not straightforward [59]. The interpretation of TDA scores as contributions for remuneration requires interdisciplinary discussion, involving legal, economic, and ethical considerations. Current TDA methods typically provide a single score for each training instance and each generated output, not providing enough
Code: https://anonymous.4open.science/r/decompose-tda-F6BA/
Following the TDA studies [30, 31, 33], we refer to each unit of the training data that receives a score as a training instance.
Authors' Contact Information: Changheon Han, Chalmers University of Technology and University of Gothenburg, Department of Computer Science and Engineering, Gothenburg, Sweden, changheon.han@chalmers.se; Hugh Xuechen Liu, Chalmers University of Technology and University of Gothenburg, Department of Computer Science and Engineering, Gothenburg, Sweden, xuechen@chalmers.se; Ashkan Panahi, Chalmers University of Technology and University of Gothenburg, Department of Computer Science and Engineering, Gothenburg, Sweden, ashkan.panahi@chalmers.se; Kivanç Tatar, Chalmers University of Technology and University of Gothenburg, Department of Computer Science and Engineering, Gothenburg, Sweden, tatar@chalmers.se.
information for the interpretation of the influence of training instances for different discussions of remuneration [32]. Our work aims to facilitate this discussion while quantifying how influence is distributed across different levels of dependency.
Previous studies find global influence, where a few training instances keep appearing as the most influential training instances for almost any generation [11, 30, 31]. It has been attributed to training instances with a large gradient norm, such as outliers and training instances that the model predicts poorly during the training process [30, 31, 33]. This global influence relates to the model's global behavior rather than to any one generated output [11, 30]. The score of a training instance from TDA for one generated output may then mix this global influence with influence particular to that generated output. If such scores were used for remuneration, part of the remuneration would keep going to the same training instances for almost any generation. Even without this global influence, the residual of a score may still contain a part shared by a group of generated outputs. For the remuneration to be transparent about which influence it pays for, TDA scores need to be examined at a resolution that distinguishes influence particular to one generated output from influence shared by a group of generated outputs or global influence.
In this work, we decompose TDA scores acquired from a model into three levels of dependency, which are global, group and specific, by subtracting the averaged influence at each level over its corresponding scope. The global level is the average of a training instance's scores over all generated outputs. It represents the dependency of the model itself on the training instance, rather than that of any specific generated output. The group level is the average over each group of generated outputs, where generated outputs are grouped by a criterion such as k-means clustering with each column of TDA scores as a feature vector after the global level is subtracted. This level represents a style as the model itself defines it, shared among generated outputs whose TDA scores follow similar patterns across training instances, rather than a genre or style defined from the data. Lastly, the specific level is what remains after the global and group levels are removed. It represents the dependency of one specific generated output on the training instance. The decomposition thus splits each score into three levels that differ in scope, namely the model's global behavior, a style within the model and a specific generated output.
We apply the decomposition to two pretrained autoregressive music generative models in two sizes each, MusicGen-S and MusicGen-L [21] and InspireMusic-Base and InspireMusic-1.5B [63]. Each model is fine-tuned on the MTG-Jamendo dataset [13] and tested with six TDA methods and three variants [16, 19, 33, 34, 48, 50]. We evaluate whether the different levels of influence in the decomposition have a counterfactual effect on the model within their scopes [9, 17, 48]. For each level, we remove the training instances that score highest in that level and fine-tune the pretrained model again to examine whether this affects the model's behavior in the corresponding scope more than removing a random set of the same size. We observe in every experimental case that the TDA scores without decomposition contain a part common to all generated outputs and a part shared by a group of generated outputs. This means that specific-level influence is layered beneath influence shared at the group and global levels. This observation suggests that any attempt to use TDA scores transparently as a basis for remuneration needs to account for the hierarchical nature of influence. Based on these observations, we define functional dependency as the relations through which a trained model, or a generated output from a trained model, depends on training data. This notion both encompasses and distinguishes dependencies of different scopes, from the model itself to a single generated output. Inspired by the structural perspective in the discourse around LLMs and copyright [57], we use it to analyze the influence of each training instance and to support a remuneration mechanism. Our contributions are as follows.
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
3
- We define functional dependency as the dependency of a trained model, or a generated output from a trained model, on training data.
- We propose a decomposition of TDA scores into the global, group and specific levels, which splits each standardized score exactly into parts of different scopes representing different dependencies.
- Our decomposition can be applied to any TDA method, since it leverages only the TDA scores obtained as a result.
- We show across four music generative models and six TDA methods and three variants that TDA scores contain global- and group-level influence in every case.
- Our evaluation indicates that each level has an effect on the model's behavior within its scope.
2.1 Remuneration for Generative AI and Functional Dependency as Structural Perspective
2.1.1 Similarity and Functional Dependency. While copyright infringement focuses on substantial similarity [39], generative AI brings new challenges for remuneration as it generates outputs influenced by many training instances rather than direct copying. Furthermore, substantial similarity is challenging to specify algorithmically [57], and it is insufficient for capturing the functional dependencies between training data and generated outputs through generative AI [14]. Prior work on copyright and LLMs distinguishes a behavioral perspective, which evaluates whether generated outputs are substantially similar to training data, from a structural perspective, which focuses on how a model is trained [57]. Our analysis of functional dependencies is inspired by the structural perspective, since it examines what a trained model depends on rather than the similarity of its outputs.
Legal scholars have proposed that providers of generative AI systems may owe a general payment for training on copyrighted works [27, 28] or a lump sum based on their revenue [53]. In recent EU policy discussions, author societies have proposed remuneration for authors when their works have been used and have influenced a generated output [5]. These discussions also note that the factors establishing such influence of the original works on the output remain to be specified [5]. An attribution method that measures the influence of each training instance on a generated output is one way to establish such influence. Remuneration based on such influence thus requires understanding the functional dependency between training data and generated outputs, which persists in a model trained on the data [14].
Prior work on TDA also supports the view that the influence of training instances is not aligned with their similarity to the generated output, and that some training instances that are similar to the generated output even have a negative impact [24, 36]. In image classification, the most influential training instances for a test image are not necessarily of the same class as the test image [36]. In music generation, the similarity of training instances to a generated output aligns poorly with their influence on average, although the two agree on the most influential training instances, and some training instances that are similar to the generated output have a negative impact [24]. These findings suggest that training instances relate to generated outputs through functional dependencies beyond similarity.
2.1.2 Attribution in Music Generation. Recent work on attribution in music generation has begun to relate a generated output to the musical works behind it. Generated outputs have been compared with training instances through the similarity of embeddings from a separate audio encoder, with listening tests as a check [10]. This approach captures the aspects of musical similarity that the encoder is sensitive to, rather than the causal influence of training instances on the generated output [32]. Another approach proposes attribution-based music generative systems, where users select reference songs at generation time and the system attributes the generated output to these selected songs [45]. A

Fig. 1. Decomposition of the standardized score matrix into the three levels.
royalty framework proposes to apply TDA to a music generative model and to distribute royalties according to the resulting scores [24].
2.2 Training Data Attribution
2.2.1 Influence Estimation and Evaluation. TDA is one possible approach to estimating the functional dependency between training instances and generated outputs, estimating the causal relation between them. It estimates this dependency as the influence of each training instance on a generated output, through the counterfactual effects that quantify how a generated output would change if a training instance had not been in the training data [31, 36]. Estimating these effects directly requires retraining the model once for each training instance, which is called leave-one-out retraining. This is infeasible for large training datasets or models due to the computational cost [20, 36]. Gradient-based TDA methods estimate the influence of training instances without retraining, by comparing the gradient of the loss on a training instance with the gradient of a generated output [16, 19, 33, 34, 48, 50]. As a result of TDA, we obtain one score for every training instance with respect to a specific generated output. The TDA scores are usually verified by comparing them with the causal effects measured by retraining the model after removing the training instances [25, 48]. The causal effects measured by removing a single training instance can be noisy and vary across retraining runs [9, 12, 31]. Evaluations therefore also remove a set of high-scoring training instances at once and retrain [9, 12, 48]. The retrained model is then compared with the model retrained after randomly removing the same number of training instances [9, 17]. Through this comparison, it can be observed whether the high-scoring training instances identified by the TDA method have a larger effect on the model's behavior than a random set.
2.2.2 Global Influence in Training Data Attribution. Several studies on TDA have reported that a certain subset of the training instances tends to keep appearing as influential across almost every generated output, referred to as global influence [11, 30, 31]. This global influence reflects the model's global behavior rather than any one generated output [11, 30]. In terms of functional dependency, global influence corresponds to the dependency of the model itself on these training instances. Gradient-based TDA methods usually include dot products of gradients in their influence
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
5
computation, and prior work attributes global influence to the large gradient norms of certain training instances, which lets their global influence dominate the TDA scores [30, 31, 33]. Previous approaches focus on identifying and mitigating the effect of globally influential training instances to obtain more individualized TDA scores for specific generated outputs. Some replace the dot product of gradients with their cosine similarity or apply normalization to gradients, which mitigates the effect of the gradient norm [6, 11, 19, 30, 33, 60]. Other methods find the gradient vector directions that many generated outputs have in common and use them to re-weight scores [15]. These findings suggest that TDA scores may mix different levels of dependency, such as the dependency of the model itself and that of a specific generated output. Using TDA scores as a basis for remuneration therefore requires decomposing them into different levels of influence, each representing one scope of dependency. This supports transparency about which dependency the remuneration reflects.
3 Decomposing the Training Data Attribution Scores into Levels of Influence
We propose a decomposition of the standardized TDA score matrix into three levels, which are global, group and specific. This decomposition allows us to analyze the influence at different levels in the TDA scores, revealing the hierarchical nature of influence that is already mixed in each score. Each level of influence is related to a different scope of generated outputs. The global level captures the overall influence of each training instance across all generated outputs, averaging training instance scores over the entire set of generated outputs. The group level captures the influence within clusters of generated outputs, by clustering the score vectors of the generated outputs after the global level is removed. The specific level captures the unique influence of each training instance on each individual generated output, after removing the global-level and group-level influence. Figure 1 illustrates the decomposition.
We consider training instances, indexed by , and generated outputs, indexed by . TDA gives each pair of a training instance and a generated output , a score . Since raw TDA scores differ in mean and scale across generated outputs, we standardize them before computing the three levels. Each score is therefore standardized over the training instances,
where and are the mean and standard deviation of the scores for generated output . Standardization removes these differences but keeps the ranks within each generated output. The standardized scores form the score matrix , whose entry for training instance and generated output is .
We decompose each standardized score into a global, a group and a specific level score,
where is the cluster of generated output . The global level score of the training instance is the mean of its scores over all generated outputs,
Each generated output is represented by the vector of its scores over the training instances after the global level is removed, . We cluster these vectors with -means and refer to these clusters as TDA score clusters. The group level score of training instance for cluster is the mean of over the generated outputs in that cluster,
Table 1. Experimental setup.
| Model | MusicGen [21] | InspireMusic [63] | ||
|---|---|---|---|---|
| MusicGen-S | MusicGen-L | InspireMusic-Base | InspireMusic-1.5B | |
| Fine-tuned Parameters | 0.4B | 3.3B | 0.5B | 1.5B |
| Frozen Components | T5 text encoder [51], EnCodec [23] | WavTokenizer [35], SRFM [63] | ||
| Training Data | 30,000 ten-second segments from 10,000 MTG-Jamendo tracks [13] | |||
| Generation | T = 480, from 8 prompts for each of 12 genres with m = 5 random seeds | |||
| TDA Methods | GradDot [16], GRAD-Cos [33], Tracln [50], LoGRA [19], FACTGRASS [34], TRAK [48] (), and the TRAK variants , and ensemble | |||
| Deletion Test | 25 deletion sets of 3,000 training instances (10%) each, for GradDot and TRAK () | |||
where is the set of generated outputs in cluster . The global level is subtracted first so that it is not counted again within the group level. Since the same value is subtracted from every score of training instance , the differences between its scores for different generated outputs do not change. The specific level score is the rest,
Within a TDA score cluster, the specific level keeps the differences between the scores of the generated outputs, because the same is subtracted from all of them.
The decomposition also shows how much of the scores each level holds over the whole score matrix. We call this amount the proportion of the level. The proportion uses squares to measure the size of each level relative to the total variance of the scores.
where each sum runs over all training instances and all generated outputs. Because each level is computed after the previous levels are subtracted from the scores, the three proportions add up to one, .
4 Experiments
4.1 Experimental Setup
4.1.1 Models and Training Data. We use two music generative models, MusicGen [21] and InspireMusic [63], each in two sizes, and Table 1 summarizes the experimental setup. Both generate audio tokens autoregressively, which are then decoded into audio waveforms by their respective audio token decoders. MusicGen encodes the prompt with a T5 text encoder [51], and its transformer predicts EnCodec tokens [23] conditioned on this encoding. InspireMusic has no separate text encoder, and its transformer takes the text tokens of the prompt directly as input and predicts WavTokenizer tokens [35], which the Super-Resolution Flow-Matching (SRFM) model [63] renders as audio. Fine-tuning updates all parameters of the transformer in each model. The parameters of the other components are kept frozen and are not attributed. We refer to each ten-second segment of the training data as one training instance. Figure 2 shows that the distribution of genre tags in our fine-tuning dataset of 10,000 sampled tracks is similar to that of the whole MTG-Jamendo dataset. We fine-tune each model on this training set with three random seeds. The fine-tuning hyperparameters are reported in Appendix A.1.
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
7

Fig. 2. Distribution of genre tags in the whole MTG-Jamendo dataset (55,525 tracks) and in the fine-tuning dataset (10,000 tracks), for the 25 most frequent genre tags. A track can have several genre tags, so the percentages do not sum to 100.
In this work, we focus on autoregressive music generative models. An autoregressive model computes the log-likelihood of a generated output given its prompt exactly, as a sum over its tokens. The gradient of the negative log-likelihood therefore defines the output gradient without changing over timesteps. A diffusion-based model generates an output over iterative denoising steps which lead to the attribution of its generated output changing with the timestep [29, 61]. Such models therefore need attribution methods adapted to the denoising process, and we leave them to future work. After fine-tuning, each model generates outputs from text prompts. The prompts are tag strings of MTG-Jamendo tracks not used in fine-tuning, and the first tag of each prompt gives its genre. For example, the prompt “folk, singersongwriter: instruments: classicalguitar.” has the genre folk. We draw 8 prompts for each of 12 genres and generate one output from each prompt with each of random seeds.
4.1.2 TDA Methods. We then compute the TDA score of every training instance for every generated output with the six existing TDA methods and three variants of TRAK in Table 1. Each method computes the raw TDA score from the fine-tuned model. GradDot computes the TDA score of a training instance by the dot product of the two gradients which are the training gradient of instance and the output gradient of generated output [16]. The training gradient is the gradient of the training loss on instance , and the output gradient is the gradient of the negative log-likelihood of generated output given its prompt. GRAD-Cos uses their cosine instead, which keeps only the angle between the two gradients and removes the effect of their norms [33]. TracIn sums the scores computed in the same way as GradDot at several checkpoints [50]. This allows tracing the influence of a training instance over the training process rather than only at its end, and we use the four checkpoints saved during fine-tuning. TRAK [48] add a weighting to the dot product of GradDot with random projections of all the training gradients and a constant that sets how strongly it applies. We use for TRAK, and and 0.01 give two more variants, since a smaller makes the weighting stronger. TRAK can also average scores over several trained models [48]. We refer to this as the TRAK ensemble, which averages the scores of the three fine-tuned models.
Influence functions [36] start instead from how the trained parameters would change if a training instance were weighted slightly more, and estimate how this change affects the negative log-likelihood of a generated output. This parameter change can be approximated by the training gradient multiplied by the inverse of the Hessian of the training loss. The Hessian is a matrix whose size is the square of the number of model parameters, which makes its direct computation infeasible for large models. LoGRA [19] and FACTGRASS [34] approximate it by the covariance of the training gradients within each layer. The two methods differ in how they compress the gradients to make this computation feasible. All scores except TracIn and the TRAK ensemble come from the final checkpoint of one fine-tuned model. The hyperparameters of the TDA methods are reported in Appendix A.2.
4.1.3 Deletion Test. The deletion test removes the training instances that score highest in one level and fine-tunes the pretrained model again without them [17, 37]. It then measures the log-likelihood (LL) of the generated outputs that the level should affect, which we call its target generated outputs. The LL of a generated output is its mean per-token log-likelihood under the retrained model. As a reference, we also retrain the model without a random set of the same size, with the same retraining seed. For each generated output , we compute
If the level has an effect on its target generated outputs, we expect to be negative for them.
The global level deletion set targets all generated outputs and tests whether their mean is negative. A drop shared by all generated outputs, however, does not show an effect particular to one TDA score cluster or one prompt. The group- and specific-level deletion sets are therefore compared with the other generated outputs within the same scope. Write for the mean over a set of generated outputs and for the generated outputs in TDA score cluster as above. Write for the generated outputs of a targeted prompt , one for each random seed. The three levels are then measured by
(7)
where is the number of TDA score clusters and is the set of generated outputs of the other prompts in TDA score cluster . We set the number of TDA score clusters to , the same number as the genres, so that the TDA score clusters can be compared with genre labels. Comparing only with the other generated outputs in separates the drop particular to the targeted prompt from the drop shared by all generated outputs in . A level with an effect gives a negative , or . The global level has one deletion set, while the group and specific levels have one deletion set for each TDA score cluster and each targeted prompt. The 12 targeted prompts are drawn at random from the 96 prompts and are the same for all models and methods. We report the group and specific levels by their means over the deletion sets,
where are the 12 targeted prompts.
Table 1 summarizes the deletion sets of each method. Training instances are ranked by for the global set, by for the group set of TDA score cluster , and by averaged over the generated outputs of a targeted prompt for its specific set. The model is retrained with three seeds for MusicGen-S, MusicGen-L and InspireMusic. Each deletion set needs its own retraining, so we select two of the six methods and three variants, GradDot and TRAK with . In Table 2, GradDot is among the methods with the highest group proportions and the TRAK variants have the lowest. The GPU time of fine-tuning and of the deletion test is reported in Appendix A.4.
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
9
4.2 Global Level Analysis
To investigate where high global level scores come from, we look at the norms of the training gradients and their alignment with the common direction of the output gradients. Gradient-based TDA methods score a training instance by an inner product of its training gradient and the output gradient. Previous studies link the high scores of globally influential training instances to their large gradient norm [11, 30, 33]. However, the inner product of two vectors is the product of their norms and the cosine similarity between them. A high score can therefore come from a large norm of the training gradient or from a high cosine similarity with the output gradient. Let be the training gradient of training instance and the output gradient of generated output . The gradient norm of training instance is . The alignment requires the common direction of the output gradients, it can be captured by their mean direction. To prevent output gradients with large norms from dominating the mean, we divide each output gradient by its norm before averaging them. We measure the alignment of training instance by the cosine similarity between its training gradient and this direction,
where is the common direction.
For each method and model, we compare with the gradient norm and the alignment using the Spearman rank correlation over the training instances,
Each correlation is 1 when the two rankings are identical, 0 when they are unrelated and -1 when one is the reverse of the other.
4.3 Group Level Analysis
To see whether the TDA score clusters formed by -means clustering relate to existing features of the generated outputs, we compare them with genre and other audio characteristics. The clusters are formed by treating the scores of the training instances for each generated output as a vector, and generated outputs are assigned to the clusters. Genre and each audio feature also divide the same generated outputs into clusters. We measure the alignment between the clusters from different criteria to ask whether they place the same generated outputs in the same cluster, using the Wallace coefficient [56]³.
To compare the TDA score clusters with an existing audio feature, we first extract audio features from each generated output. The extracted audio features are then used to form a clustering of the generated outputs. We use three audio features, the MFCCs [22], the log-mel spectrogram and the chroma features [46]. Each feature is clustered with -means into feature clusters, the same number as the TDA score clusters. Each genre also forms one feature cluster. The details of the clustering and the audio features are reported in Appendix A.3. The Wallace coefficient compares the TDA score clusters with the feature clusters through pairs of generated outputs. Write for the TDA score cluster of generated output and for its feature cluster. We compute separately for genre and for each audio feature. We count the pairs of generated outputs in the same TDA score cluster, , and the pairs among them that are also in
³The Wallace coefficient is the pairwise precision of one clustering with respect to another, computed here with scikit-learn [49].
Table 2. Proportion of the global and group levels (group by TDA score clusters, k = 12). S, L, IM and IM-1.5B denote MusicGen-S, MusicGen-L, InspireMusic-Base and InspireMusic-1.5B.
| Method | global | group | ||||||
|---|---|---|---|---|---|---|---|---|
| S | L | IM | IM-1.5B | S | L | IM | IM-1.5B | |
| Random | 0.002 | 0.002 | 0.002 | 0.002 | 0.02 | 0.02 | 0.02 | 0.02 |
| GradDot | 0.106 | 0.131 | 0.360 | 0.403 | 0.212 | 0.151 | 0.113 | 0.118 |
| GRAD-Cos | 0.106 | 0.128 | 0.359 | 0.401 | 0.209 | 0.148 | 0.113 | 0.119 |
| TracIn | 0.135 | 0.139 | 0.454 | 0.651 | 0.239 | 0.214 | 0.128 | 0.173 |
| LoGRA | 0.059 | 0.070 | 0.132 | 0.134 | 0.073 | 0.070 | 0.076 | 0.101 |
| FACTGRASS | 0.054 | 0.058 | 0.114 | 0.115 | 0.063 | 0.055 | 0.075 | 0.089 |
| TRAK | 0.032 | 0.023 | 0.042 | 0.036 | 0.038 | 0.032 | 0.041 | 0.048 |
| TRAK | 0.021 | 0.015 | 0.022 | 0.023 | 0.034 | 0.029 | 0.036 | 0.043 |
| TRAK | 0.019 | 0.014 | 0.019 | 0.022 | 0.033 | 0.028 | 0.035 | 0.041 |
| TRAK (ensemble) | 0.033 | 0.023 | 0.043 | 0.040 | 0.040 | 0.032 | 0.040 | 0.052 |
the same feature cluster, ,
where is 1 if the condition holds and 0 otherwise. is therefore the probability that two generated outputs in the same TDA score cluster are also in the same feature cluster. A value of means that every pair in a TDA score cluster is also in the same feature cluster.
5 Results
5.1 Proportion of Each Level
Table 2 reports the global and group proportions of the six methods and three variants in each model, with the random baselines in the row Random. Random baselines provide a reference point to assess whether the observed proportions exceed what would be expected by chance. The global level baseline is , which is the global proportion that the mean over generated outputs yields by itself, regardless of the model behavior or the TDA method. The group level baseline is , which is the expected proportion when the generated outputs are assigned randomly to groups of the same sizes.
Our results show that the global level and the group level are observed consistently across all models and methods, with proportions above their random baselines. However, their relative proportions vary across methods. Within each model, both proportions are largest for GradDot, GRAD-Cos and TracIn, which compute the TDA scores from the unweighted dot product of gradients between the training instances and the generated outputs. The methods that weight this dot product, namely LoGRA, FACTGRASS and the TRAK variants, have smaller global and group proportions. A proportion describes how the scores are composed of the three levels, but it does not directly indicate how strongly a level influences the model's behavior on the generated outputs in its scope. Whether each level changes the model's behavior on those generated outputs is examined through the deletion test.
5.2 Deletion Test Results
We test whether each level of influence holds a counterfactual effect on the model's behavior in its scope through the deletion test [17, 37]. Table 3 reports , and (Eqs. (7) and (8)), averaged over the retraining seeds. All entries are negative, and every entry with three seeds is negative in each seed. A negative value means that removing the deletion set lowers the LL of the generated outputs within the scope of the level more than the reference of the level.
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
11
Table 3. Deletion test results (). TRAK uses .
| Level | MusicGen-S | MusicGen-L | InspireMusic-Base | InspireMusic-1.5B | ||||
|---|---|---|---|---|---|---|---|---|
| GradDot | TRAK | GradDot | TRAK | GradDot | TRAK | GradDot | TRAK | |
| global, | -1.79 | -3.42 | -0.88 | -2.42 | -14.86 | -16.79 | -11.66 | -18.84 |
| group, | -1.15 | -3.13 | -0.68 | -2.48 | -6.14 | -10.48 | -7.46 | -9.98 |
| specific, | -5.89 | -7.23 | -2.81 | -3.21 | -22.24 | -23.12 | -9.83 | -11.80 |

Fig. 3. Results of the group-level deletion test for TRAK with in MusicGen-S (left) and InspireMusic-Base (right). Each row is the removed deletion set of a TDA score cluster, and each column is the generated outputs of a TDA score cluster. Each entry is the mean over the generated outputs of the column and three retraining seeds. Outlined cells are the diagonal.
For the global level, the value is the LL of all the generated outputs under the model fine-tuned without the deletion set minus that under the model fine-tuned without the random set. At the group level, the value is this difference for the generated outputs of the targeted TDA score cluster minus that for the generated outputs of the other TDA score clusters. At the specific level, the value is this difference for the generated outputs of the targeted prompt minus that for the generated outputs of the other prompts in the same TDA score cluster. In MusicGen-S, for example, the global, group and specific entries are -1.79, -1.15 and -5.89 for GradDot, and -3.42, -3.13 and -7.23 for TRAK. With these results, we observe that each level of influence has a counterfactual effect on the model's behavior within its scope.
Figure 3 shows deletion test results for TRAK in MusicGen-S and InspireMusic-Base in every deletion set separately. If the group level has an effect within its scope, the largest drop in each row should appear on the diagonal, which is the targeted TDA score cluster. The diagonal entry is the lowest in its row in all 12 rows for MusicGen-S and in 10 of the 12 rows for InspireMusic-Base. Removing the deletion set of a TDA score cluster thus lowers the LL of the generated outputs of that cluster more than those of the other TDA score clusters.
Table 4. Norm of the common direction , and Spearman correlations and of .
| MusicGen-S | MusicGen-L | InspireMusic-Base | InspireMusic-1.5B | |||||
|---|---|---|---|---|---|---|---|---|
| 0.208 | 0.192 | 0.290 | 0.282 | |||||
| Method | ||||||||
| GradDot | 1.00 | -0.06 | 1.00 | -0.06 | 1.00 | +0.14 | 0.99 | +0.15 |
| GRAD-Cos | 1.00 | -0.06 | 1.00 | -0.05 | 1.00 | +0.14 | 1.00 | +0.14 |
| TracIn | 0.81 | +0.04 | 0.70 | +0.05 | 0.90 | +0.32 | 0.85 | +0.31 |
| LoGRA | 0.61 | -0.07 | 0.46 | -0.09 | 0.71 | +0.11 | 0.44 | +0.17 |
| FACTGRASS | 0.51 | -0.07 | 0.42 | -0.09 | 0.68 | +0.11 | 0.43 | +0.18 |
| TRAK | 0.58 | -0.04 | 0.62 | -0.03 | 0.60 | +0.08 | 0.52 | +0.12 |
| TRAK | 0.43 | -0.02 | 0.44 | -0.02 | 0.43 | +0.06 | 0.33 | +0.07 |
| TRAK | 0.39 | -0.02 | 0.40 | -0.01 | 0.38 | +0.05 | 0.29 | +0.06 |
| TRAK (ensemble) | 0.57 | -0.04 | 0.60 | -0.05 | 0.58 | +0.09 | 0.51 | +0.11 |
5.3 Global Level Alignment
We examine where the global level influence of training instances comes from. Prior studies attribute globally influential training instances to their large gradient norms [11, 30, 33]. A gradient-based score is an inner product of the training gradient and the output gradient, which is the product of their norms and the cosine similarity between them. We therefore compare the global level score of each training instance with the norm of its training gradient and with its alignment, the cosine similarity between its training gradient and the common direction of the output gradients. The common direction is the mean of the output gradients after each is divided by its norm. This examination allows us to understand whether the global level influence is primarily due to the magnitude of the training gradients or their alignment with the common direction of the output gradients. The comparison uses the Spearman rank correlation over the training instances, for the norm and for the alignment. Table 4 reports and of each method in each model, with the norm of the common direction in the top row.
is 0 when the output gradients share no direction and 1 when they all point in the same direction. It is above 0 in every model, so the output gradients share a common direction. This agrees with the shared gradient directions reported in prior work [15, 47, 62]. Our results show that the global level scores follow the alignment with this direction rather than the gradient norm, as is consistently positive. is close to 0, at most 0.18 in absolute value except for TracIn. TracIn has of 0.32 and 0.31 in InspireMusic-Base and InspireMusic-1.5B, but its in the same models is 0.90 and 0.85. The close to 1 for GradDot and GRAD-Cos largely follows from their definitions, because their scores are computed directly from the output gradient. Therefore, for these two methods, the interpretation of the results should primarily focus on the weak correlation rather than the strong correlation .
5.4 Group Level Alignment
We examine whether the TDA score clusters relate to the feature clusters, which are formed from the genre of each prompt or from an audio feature of each generated output. We compare the two with the Wallace coefficient [56] (Eq.(11)), the probability that two generated outputs in the same TDA score cluster are also in the same feature cluster. Table 5 reports of each method in each model for each clustering criterion, with the random baselines, the expected when the generated outputs are assigned randomly to the TDA score clusters of the same sizes, in the column Random. Bold marks the largest in each row. A value of close to 1 would mean that the TDA score clusters reproduce the feature clusters, while a value close to the random baseline means that the two group the generated outputs independently. Our results show that is low in every model, method and criterion, and the largest value is
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
13
Table 5. Wallace coefficient W between the TDA score clusters and the feature clusters of each criterion.
| Model | GradDot | GRAD-Cos | TracIn | LoGRA | FACTGRASS | TRAK | TRAK | TRAK | TRAK (ensemble) | Random |
|---|---|---|---|---|---|---|---|---|---|---|
| Genre | ||||||||||
| MusicGen-S | 0.103 | 0.104 | 0.118 | 0.166 | 0.201 | 0.149 | 0.141 | 0.139 | 0.143 | 0.081 |
| MusicGen-L | 0.102 | 0.100 | 0.109 | 0.190 | 0.194 | 0.137 | 0.128 | 0.122 | 0.137 | 0.081 |
| InspireMusic-Base | 0.102 | 0.116 | 0.107 | 0.163 | 0.179 | 0.175 | 0.161 | 0.161 | 0.168 | 0.081 |
| InspireMusic-1.5B | 0.107 | 0.107 | 0.090 | 0.122 | 0.121 | 0.115 | 0.111 | 0.104 | 0.115 | 0.081 |
| MFCC | ||||||||||
| MusicGen-S | 0.152 | 0.155 | 0.180 | 0.253 | 0.284 | 0.246 | 0.216 | 0.220 | 0.221 | 0.117 |
| MusicGen-L | 0.142 | 0.140 | 0.147 | 0.195 | 0.209 | 0.176 | 0.176 | 0.167 | 0.184 | 0.122 |
| InspireMusic-Base | 0.140 | 0.138 | 0.144 | 0.159 | 0.152 | 0.164 | 0.152 | 0.154 | 0.156 | 0.108 |
| InspireMusic-1.5B | 0.176 | 0.179 | 0.147 | 0.215 | 0.207 | 0.182 | 0.180 | 0.177 | 0.189 | 0.119 |
| Log-mel spectrogram | ||||||||||
| MusicGen-S | 0.147 | 0.145 | 0.159 | 0.199 | 0.211 | 0.187 | 0.172 | 0.166 | 0.174 | 0.099 |
| MusicGen-L | 0.159 | 0.157 | 0.173 | 0.230 | 0.225 | 0.174 | 0.164 | 0.153 | 0.180 | 0.105 |
| InspireMusic-Base | 0.128 | 0.132 | 0.142 | 0.156 | 0.149 | 0.157 | 0.142 | 0.146 | 0.150 | 0.102 |
| InspireMusic-1.5B | 0.176 | 0.182 | 0.138 | 0.200 | 0.193 | 0.176 | 0.166 | 0.161 | 0.181 | 0.118 |
| Chroma | ||||||||||
| MusicGen-S | 0.132 | 0.130 | 0.141 | 0.169 | 0.173 | 0.164 | 0.168 | 0.164 | 0.164 | 0.123 |
| MusicGen-L | 0.116 | 0.114 | 0.124 | 0.149 | 0.151 | 0.139 | 0.146 | 0.133 | 0.144 | 0.107 |
| InspireMusic-Base | 0.122 | 0.125 | 0.129 | 0.146 | 0.141 | 0.138 | 0.131 | 0.140 | 0.136 | 0.099 |
| InspireMusic-1.5B | 0.143 | 0.146 | 0.134 | 0.167 | 0.162 | 0.157 | 0.144 | 0.151 | 0.152 | 0.122 |

Fig. 4. Generated outputs of MusicGen-S in the CLAP embedding space with UMAP, coloured by genre (left) and by the TDA score clusters of GradDot (right). A colour of a TDA score cluster is only a cluster label and does not indicate a genre.
0.284. W also differs between methods in the same model. In MusicGen-S, for example, W for genre is 0.103 for GradDot, while FACTGRASS in MusicGen-S and MusicGen-L has the two largest values of W for genre, 0.201 and 0.194. It seems that FACTGRASS tends to have higher W for genre, and this relation to genre partly appears in the audio features as well. However, all values of W are low, so the TDA score clusters are not related to genre or to the audio features.
Figure 4 depicts the generated outputs of MusicGen-S in the CLAP [58] audio embedding space with UMAP [43]. The outputs are coloured by genre and, in the same layout, by the TDA score clusters of GradDot. Generated outputs of the same genre lie close to each other, while those of the same TDA score cluster are spread across the embedding space. The TDA score clusters of GradDot therefore do not correspond to the genre of the generated outputs. Together
Table 6. Fraction of change in the 50 training instances with the highest specific level scores when the criterion changes from genre to the TDA score clusters.
| Model | GradDot | GRAD-Cos | TracIn | LoGRA | FACTGrASS | TRAK | TRAK | TRAK | TRAK (ensemble) |
|---|---|---|---|---|---|---|---|---|---|
| MusicGen-S | 0.55 | 0.56 | 0.55 | 0.22 | 0.20 | 0.30 | 0.30 | 0.30 | 0.30 |
| MusicGen-L | 0.50 | 0.52 | 0.54 | 0.22 | 0.20 | 0.29 | 0.30 | 0.30 | 0.29 |
| InspireMusic-Base | 0.49 | 0.51 | 0.51 | 0.27 | 0.27 | 0.32 | 0.31 | 0.32 | 0.30 |
| InspireMusic-1.5B | 0.53 | 0.57 | 0.51 | 0.36 | 0.35 | 0.33 | 0.33 | 0.33 | 0.34 |
with the low W in every model and method, this indicates that the TDA scores cluster the generated outputs by a criterion that the model itself forms, rather than by genre or audio characteristics. This suggests that the model relates its generated outputs to the training data through functional relations beyond musical similarity. More embedding visualizations are reported in Appendix B.
5.5 Specific Level Analysis
Since the specific level is calculated as the residual after subtracting the group level, it depends on the criterion that defines the group level. We measure how much the specific level changes when the criterion changes from genre to the TDA score clusters. For each generated output, we take the 50 training instances with the highest specific level scores when genre defines the group level. We measure the fraction of these 50 that are no longer among the highest 50 when the TDA score clusters define the group level, and average it over the generated outputs. A value of 1 means that all 50 training instances change, and a value of 0 means that none of them change. Table 6 reports the fraction for each method in each model. Our results show that about half of the 50 training instances change for GradDot, GRAD-Cos and TracIn in every model, from 0.49 to 0.57. Which training instances belong to the specific level of a generated output therefore depends on the criterion which defines how to form the group level. A remuneration based on the specific level scores thus also depends on this group level criterion. In MusicGen-S, for example, 0.55 of them change for GradDot. For the other methods, from 0.20 to 0.36 of them change.
6 Conclusion
We proposed a decomposition of TDA scores to support the analysis of what a remuneration based on each level would reflect. Across four music generative models and six TDA methods and three variants, the scores contain a global and a group level. In the deletion test, each level has an effect on the model's behavior within its scope. This means that a single TDA score combines influence on the model itself, on a group of generated outputs and on a single generated output. The global level corresponds to the dependency of the model itself, which is closer in scope to a general payment for training on copyrighted works [28] than to a remuneration for any one specific generated output. The group level is formed by the model and does not coincide with genre or simple audio features. However, we do not identify what the TDA score clusters correspond to, and identifying what they represent remains future work. The specific level changes with the criterion that defines the group level, so a remuneration based on it depends on that criterion.
Our work lays the groundwork for interpreting each level as contribution, which requires further discussion that involves legal, economic and ethical perspectives. With our work, we aim to bridge the legal and socio-economic research on copyright and attribution with technical estimates of the influence of training data at each scope of dependency. By separating the levels, our decomposition turns a single TDA score into distinct forms of influence that each of these discussions can examine. This makes TDA a more transparent basis for remuneration in generative AI.
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
15
Ethical Considerations
Our experiments involve no human subjects and no sensitive personal data. All training data comes from the MTG-Jamendo dataset [13], whose audio files are licensed under Creative Commons licenses. The music generated in our experiments is used only for the analysis in this paper and is not released or distributed.
Generative AI Usage Statement
A generative AI tool (Claude Opus 5.5) was used for language assistance, namely grammar checking and suggestions on wording. It was also used to generate LaTeX code for formatting the results into tables and Python scripts for the figures. All generated code and its outputs were reviewed by the authors.
References
[1] 2024. Complaint, UMG Recordings, Inc. v. Suno, Inc., No. 1:24-cv-11611 (D. Mass. 2024). United States District Court for the District of Massachusetts, Document 1, filed June 24, 2024. https://storage.courtlistenerer.com/recap/gov.uscourts.mad.272063/gov.uscourts.mad.272063.1.0.pdf
[2] 2024. Complaint, UMG Recordings, Inc. v. Uncharted Labs, Inc., No. 1:24-cv-04777 (S.D.N.Y. 2024). United States District Court for the Southern District of New York, Document 1, filed June 24, 2024. https://storage.courtlistenerer.com/recap/gov.uscourts.nysd.623701/gov.uscourts.nysd.623701.1.0.pdf
[3] 2026. European Parliament resolution of 10 March 2026 on copyright and generative artificial intelligence – opportunities and challenges (2025/2058(INI)). European Parliament, Texts adopted, P10_TA(2026)0066. https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52026IP0066
[4] Andrea Agostinelli, Timo I. Denk, Zalán Borsos, Jesse Engel, Mauro Verzetti, Antoine Caillon, Qingqing Huang, Aren Jansen, Adam Roberts, Marco Tagliasacchi, et al. 2023. MusicLM: Generating Music From Text. arXiv preprint arXiv:2301.11325 (2023).
[5] Anthi Akritidou. 2026. Copyright and artificial intelligence-generated outputs: Protectability of outputs and competition with human-created works. European Parliamentary Research Service, Briefing PE 796.995. https://www.europarl.europa.eu/thinktank/en/document/EPRS_BRI(2026)796995
[6] Ekin Akyurek, Tolga Bolukbasi, Frederick Liu, Binbin Xiong, Ian Tenney, Jacob Andreas, and Kelvin Guu. 2022. Towards Tracing Knowledge in Language Models Back to the Training Data. In Findings of the Association for Computational Linguistics: EMNLP 2022, Yoav Goldberg, Zornitsa Kozareva, and Yue Zhang (Eds.). Association for Computational Linguistics, Abu Dhabi, United Arab Emirates, 2429–2446. doi:10.18653/v1/2022.findings-emnlp.180
[7] Pablo Alonso-Jiménez, Xavier Serra, and Dmitry Bogdanov. 2023. Efficient Supervised Training of Audio Transformers for Music Representation Learning. In Proceedings of the 24th International Society for Music Information Retrieval Conference. Milan, Italy. doi:10.5281/zenodo.10265414
[8] Johan Axhann. 2025. Extended Collective Licensing for Use of Copyrighted Works for Machine Learning. The Columbia Journal of Law & the Arts 48, 4 (2025). doi:10.52214/jla.v48i4.13933
[9] Juhan Bae, Wu Lin, Jonathan Lorraine, and Roger Grosse. 2024. Training Data Attribution via Approximate Unrolling. In Advances in Neural Information Processing Systems, A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (Eds.), Vol. 37. Curran Associates, Inc., 66647–66686. doi:10.52202/079017-2129
[10] Julia Barnett, Hugo Flores García, and Bryan Pardo. 2024. Exploring Musical Roots: Applying Audio Embeddings to Empower Influence Attribution for a Generative Music Model. In Proceedings of the 25th International Society for Music Information Retrieval Conference. 360–368. doi:10.5281/zenodo.14877350
[11] Elnaz Barshan, Marc-Etienne Brunet, and Gintare Karolina Dziugaite. 2020. RelatIF: Identifying Explanatory Training Samples via Relative Influence. In Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics (Proceedings of Machine Learning Research, Vol. 108), Silvia Chiappa and Roberto Calandra (Eds.). PMLR, 1899–1909. https://proceedings.mlr.press/v108/barshan20a.html
[12] Samyadeep Basu, Phillip Pope, and Soheil Feizi. 2021. Influence Functions in Deep Learning Are Fragile. In International Conference on Learning Representations. https://openreview.net/forum?id=xHKVVHGDOEk
[13] Dmitry Bogdanov, Minz Won, Philip Tovstogan, Alastair Porter, and Xavier Serra. 2019. The MTG-Jamendo Dataset for Automatic Music Tagging. In Machine Learning for Music Discovery Workshop, International Conference on Machine Learning (ICML 2019). Long Beach, California. http://hdl.handle.net/10230/42015
[14] Axel Brando. 2025. Technological Aspects of Generative AI in the Context of Copyright: Attribution and Novelty in Generative AI Hypersurfaces. Briefing requested by the JURI Committee PE 776.529. European Parliament, Policy Department for Justice, Civil Liberties and Institutional Affairs. doi:10.2861/4255296
[15] Tyler Chang, Dheeraj Rajagopal, Tolga Bolukbasi, Lucas Dixon, and Ian Tenney. 2025. Scalable Influence and Fact Tracing for Large Language Model Pretraining. In International Conference on Learning Representations, Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (Eds.), Vol. 2025. 40976–40997. https://proceedings.iclr.cc/paper_files/paper/2025/file/65798a76cc176c29b6bfefe84b0a03ff-Paper-Conference.pdf
[16] Guillaume Charpiat, Nicolas Girard, Loris Felardos, and Yuliya Tarabalka. 2019. Input Similarity from the Neural Network Perspective. In Advances in Neural Information Processing Systems, H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (Eds.), Vol. 32. Curran
Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2019/file/c61f571dbd2fb949d3fe5ae1608dd48b-Paper.pdf
[17] Jianhui Chen, Yuzhang Luo, and Liangming Pan. 2026. Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Units. In Proceedings of the 43rd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 306), Tong Zhang, Miroslav Dudik, Martin Jaggi, Alekh Agarwal, Sharon Li, Dale Schuurmans, Jerry Zhu, Felix Berkenkamp, Hanze Dong, and Alberto Bietti (Eds.). PMLR, 15966–15998. https://proceedings.mlr.press/v306/chen26cv.html
[18] Ke Chen, Yusong Wu, Haohe Liu, Marianna Nezhurina, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. 2024. MusicLDM: Enhancing Novelty in Text-to-Music Generation Using Beat-Synchronous Mixup Strategies. In ICASSP 2024 - 2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 1206–1210. doi:10.1109/ICASSP48485.2024.10447265
[19] Sang Choe, Hwijeen Ahn, Juhan Bae, Kewen Zhao, Youngseog Chung, Adithya Pratapa, Willie Neiswanger, Emma Strubell, Teruko Mitamura, Jeff Schneider, Eduard Hovy, Roger Grosse, and Eric Xing. 2025. What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions. In Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (Eds.), Vol. 38, Main Conference. Curran Associates, Inc., 145944–145985. doi:10.52202/085713-4883
[20] Woosung Choi, Junghyun Koo, Kin Wai Cheuk, Joan Serrà, Marco Martínez-Ramirez, Yukara Ikemiya, Naoki Murata, Yuhta Takida, Wei-Hsiang Liao, and Yuki Mitsufuji. 2025. Large-Scale Training Data Attribution for Music Generative Models via Unlearning. In Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, M. Coelho, L. Elliott, Y. Tian, and P. Prakash (Eds.), Vol. 38, Creative AI. 327–335. https://proceedings.neurips.cc/paper_files/paper/2025/file/5392d643eccfce4025f6dd567af05a16-Paper-Creative_AI_Track.pdf
[21] Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi, and Alexandre Defossez. 2023. Simple and Controllable Music Generation. In Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (Eds.), Vol. 36. Curran Associates, Inc., 47704–47720. doi:10.52202/075280-2066
[22] S. Davis and P. Mermelstein. 1980. Comparison of parametric representations for monosyllabic word recognition in continuously spoken sentences. IEEE Transactions on Acoustics, Speech, and Signal Processing 28, 4 (1980), 357–366. doi:10.1109/TASSP.1980.1163420
[23] Alexandre Défossez, Jade Copet, Gabriel Synnaeve, and Yossi Adi. 2023. High Fidelity Neural Audio Compression. Transactions on Machine Learning Research (2023). https://openreview.net/forum?id=ivCd8z8zR2
[24] Junwei Deng, Xirui Jiang, Shiyuan Zhang, Shichang Zhang, Himabindu Lakkaraju, Ruijiang Gao, Chris Donahue, and Jiaqi W. Ma. 2023. Computational Copyright: Towards A Royalty Model for Music Generative AI. arXiv preprint arXiv:2312.06646 (2023).
[25] Junwei Deng, Ting-Wei Li, Shiyuan Zhang, Shixuan Liu, Yijun Pan, Hao Huang, Xinhe Wang, Pingbang Hu, Xingjian Zhang, and Jiaqi W. Ma. 2024. dattri: A Library for Efficient Data Attribution. In Advances in Neural Information Processing Systems, A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (Eds.), Vol. 37. Curran Associates, Inc., 136763–136781. doi:10.52202/079017-4345
[26] Hugo Flores García, Prem Seetharaman, Rithesh Kumar, and Bryan Pardo. 2023. VampNet: Music Generation via Masked Acoustic Token Modeling. In Proceedings of the 24th International Society for Music Information Retrieval Conference. 359–366. doi:10.5281/zenodo.10265299
[27] Christophe Geiger. 2024. Elaborating a Human Rights-Friendly Copyright Framework for Generative AI. IIC - International Review of Intellectual Property and Competition Law 55, 7 (2024), 1129–1165. doi:10.1007/s40319-024-01481-5
[28] Christophe Geiger and Vincenzo Iai. 2024. The forgotten creator: Towards a statutory remuneration right for machine learning of generative AI. Computer Law & Security Review 52 (2024), 105925. doi:10.1016/j.clsr.2023.105925
[29] Kristian Georgiev, Joshua Vendrow, Hadi Salman, Sung Min Park, and Aleksander Madry. 2023. The Journey, Not the Destination: How Data Guides Diffusion Models. arXiv preprint arXiv:2312.06205 (2023).
[30] Zayd Hammoudeh and Daniel Lowd. 2022. Identifying a Training-Set Attack's Target Using Renormalized Influence Estimation. In Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security (CCS '22). ACM, 1367–1381. doi:10.1145/3548606.3559335
[31] Zayd Hammoudeh and Daniel Lowd. 2024. Training data influence analysis and estimation: a survey. Machine Learning 113, 5 (2024), 2351–2403. doi:10.1007/s10994-023-06495-7
[32] Changheon Han, Ashkan Panahi, and Kivanç Tatar. 2026. ARIA: A Diagnostic Framework for Music Training Data Attribution. arXiv preprint arXiv:2605.16181 (2026).
[33] Kazuaki Hanawa, Sho Yokoi, Satoshi Hara, and Kentaro Inui. 2021. Evaluation of Similarity-based Explanations. In International Conference on Learning Representations. https://openreview.net/forum?id=9uvhpyQwzM_
[34] Pingbang Hu, Joseph Melkonian, Weijing Tang, Han Zhao, and Jiaqi Ma. 2025. GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projection. In Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (Eds.), Vol. 38, Main Conference. Curran Associates, Inc., 43880–43904. doi:10.52202/085713-1464
[35] Shengpeng Ji, Ziyue Jiang, Wen Wang, Yifu Chen, Minghui Fang, Jialong Zuo, Qian Yang, Xize Cheng, zehan wang, Ruiqi Li, Ziang Zhang, Xiaoda Yang, Rongjie Huang, YIDI JIANG, Qian Chen, Siqi Zheng, and Zhou Zhao. 2025. WavTokenizer: An Efficient Acoustic Discrete Codec Tokenizer for Audio Language Modeling. In International Conference on Learning Representations, Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (Eds.), Vol. 2025, 93809–93826. https://proceedings.iclr.cc/paper_files/paper/2025/file/eaf15f087d43ff4b8bf64ef4a2326c-Paper-Conference.pdf
[36] Pang Wei Koh and Percy Liang. 2017. Understanding Black-box Predictions via Influence Functions. In Proceedings of the 34th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 70), Doina Precup and Yee Whye Teh (Eds.). PMLR, 1885–1894. https://proceedings.mlr.press/v70/koh17a.html
[37] Matthew Kowal, Gonçalo Paulo, Louis Jaburi, Tom Tseng, Lev E McKinney, Stefan Heimersheim, Aaron David Tucker, Adam Gleave, and Kellin Pelrine. 2026. Concept Influence: Leveraging Interpretability to Improve Performance and Efficiency in Training Data Attribution. arXiv preprint
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
17
arXiv:2602.14869 (2026).
[38] Martin Kretschmer, Bartolomeo Meletti, Lionel Bently, Gabriele Cifrodelli, Magali Eben, Kristofer Erickson, Aline Iramina, Zihao Li, Luke Mcdonagh, Emma Perot, Luis Porangaba, and Amy Thomas. 2025. Copyright and AI in the UK: Opting-In or Opting-Out? GRUR International 74, 11 (2025), 1055–1070. doi:10.1093/grurint/ikaf093
[39] Katherine Lee, A. Feder Cooper, and James Grimmelmann. 2025. Talkin' 'Bout AI Generation: Copyright and the Generative-AI Supply Chain. Journal of the Copyright Society of the U.S.A. 72 (2025), 251–409.
[40] S. Lloyd. 1982. Least squares quantization in PCM. IEEE Transactions on Information Theory 28, 2 (1982), 129–137. doi:10.1109/TIT.1982.1056489
[41] Ilya Loshchilov and Frank Hutter. 2019. Decoupled Weight Decay Regularization. In International Conference on Learning Representations. https://openreview.net/forum?id=Bkg6RiCqY7
[42] Brian McFee, Colin Raffel, Dawen Liang, Daniel P. W. Ellis, Matt McVicar, Eric Battenberg, and Oriol Nieto. 2015. librosa: Audio and Music Signal Analysis in Python. In Proceedings of the 14th Python in Science Conference. 18–24.
[43] Leland McInnes, John Healy, and James Melville. 2018. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction. arXiv preprint arXiv:1802.03426 (2018).
[44] Jan Melechovsky, Zixun Guo, Deepanway Ghosal, Navonil Majumder, Dorien Herremans, and Soujanya Poria. 2024. Mustango: Toward Controllable Text-to-Music Generation. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), Kevin Duh, Helena Gomez, and Steven Bethard (Eds.). Association for Computational Linguistics, Mexico City, Mexico, 8293–8316. doi:10.18653/v1/2024.naacl-long.459
[45] Fabio Morreale, Wiebke Hutiri, Joan Serrà, Alice Xiang, and Yuki Mitsufuji. 2025. Attribution-by-design: Ensuring Inference-Time Provenance in Generative Music Systems. arXiv preprint arXiv:2510.08062 (2025).
[46] Meinard Müller. 2015. Fundamentals of Music Processing: Audio, Analysis, Algorithms, Applications. Springer International Publishing. doi:10.1007/978-3-319-21945-5
[47] Vardan Pappyan. 2020. Traces of Class/Cross-Class Structure Pervade Deep Learning Spectra. Journal of Machine Learning Research 21, 252 (2020), 1–64. http://jmlr.org/papers/v21/20-933.html
[48] Sung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc, and Aleksander Madry. 2023. TRAK: Attributing Model Behavior at Scale. In Proceedings of the 40th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 202), Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (Eds.). PMLR, 27074–27113. https://proceedings.mlr.press/v202/park23c.html
[49] Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, Jake Vanderplas, Alexandre Passos, David Cournapeau, Matthieu Brucher, Matthieu Perrot, and Édouard Duchesnay. 2011. Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research 12, 85 (2011), 2825–2830. http://jmlr.org/papers/v12/pedregosa11a.html
[50] Garima Pruthi, Frederick Liu, Satyen Kale, and Mukund Sundararajan. 2020. Estimating Training Data Influence by Tracing Gradient Descent. In Advances in Neural Information Processing Systems, H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (Eds.), Vol. 33. Curran Associates, Inc., 19920–19930. https://proceedings.neurips.cc/paper_files/paper/2020/file/e6385d39ec9394f23a354d92b88eec-Paper.pdf
[51] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer. Journal of Machine Learning Research 21, 140 (2020), 1–67. http://jmlr.org/papers/v21/20-074.html
[52] Pamela Samuelson. 2026. Assessing the feasibility of collective licensing of in-copyright works as training data for generative AI systems. Proceedings of the National Academy of Sciences 123, 30 (2026), e2509769122. doi:10.1073/pnas.2509769122
[53] Martin Senftleben. 2023. Generative AI and Author Remuneration. IIC - International Review of Intellectual Property and Competition Law 54, 10 (2023), 1535–1560.
[54] Sebastian Stober and Tim W. Dornis. 2026. Generative AI Training and Copyright Law. arXiv:2502.15858v2. https://arxiv.org/abs/2502.15858
[55] U.S. Copyright Office. 2025. Copyright and Artificial Intelligence, Part 3: Generative AI Training. Report of the Register of Copyrights, Pre-Publication Version. U.S. Copyright Office. https://www.copyright.gov/ai/Copyright-and-Artificial-Intelligence-Part-3-Generative-AI-Training-Report-Pre-Publication-Version.pdf
[56] David L. Wallace. 1983. A Method for Comparing Two Hierarchical Clusterings: Comment. J. Amer. Statist. Assoc. 78, 383 (1983), 569–576.
[57] Johnny Tian-Zheng Wei, Maggie Wang, Ameya Godbole, Jonathan Choi, and Robin Jia. 2025. Interrogating LLM design under copyright law. In Proceedings of the 2025 ACM Conference on Fairness, Accountability, and Transparency (FAccT '25). 3030–3045. doi:10.1145/3715275.3732193
[58] Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. 2023. Large-Scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). 1–5. doi:10.1109/ICASSP49357.2023.10095969
[59] Amelie Wühl, Mattes Ruckdeschel, Kyle Lo, and Anna Rogers. 2026. A Human-Centric Framework for Data Attribution in Large Language Models. In Proceedings of the 2026 ACM Conference on Fairness, Accountability, and Transparency (FAccT '26). 8247–8275. doi:10.1145/3805689.3812236
[60] Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, and Danqi Chen. 2024. LESS: Selecting Influential Data for Targeted Instruction Tuning. In Proceedings of the 41st International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 235), Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp (Eds.). PMLR, 54104–54132.
https://proceedings.mlr.press/v235/xia24c.html
[61] Tong Xie, Haoyu Li, Andrew Bai, and Cho-Jui Hsieh. 2024. Data Attribution for Diffusion Models: Timestep-induced Bias in Influence Estimation. Transactions on Machine Learning Research (2024). https://openreview.net/forum?id=P3Lyun7CZs
[62] Chih-Kuan Yeh, Ankur Taly, Mukund Sundararajan, Frederick Liu, and Pradeep Ravikumar. 2022. First is Better Than Last for Language Data Influence. In Advances in Neural Information Processing Systems, S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (Eds.), Vol. 35. Curran Associates, Inc., 32285-32298. doi:10.52202/068431-2339
[63] Chong Zhang, Yukun Ma, Qian Chen, Wen Wang, Shengkui Zhao, Zexu Pan, Hao Wang, Chongjia Ni, Trung Hieu Nguyen, Kun Zhou, Yidi Jiang, Chaohong Tan, Zhifu Gao, Zhihao Du, and Bin Ma. 2025. InspireMusic: Integrating Super Resolution and Large Language Model for High-Fidelity Long-Form Music Generation. arXiv preprint arXiv:2503.00084 (2025).
A Experimental Details
A.1 Models and Fine-tuning Hyperparameter
Table 7 lists the fine-tuning recipe. All four models, two sizes each of MusicGen [21] and InspireMusic [63], are fully fine-tuned on the same 30,000 ten-second segments with the same optimizer, schedule, effective batch size and number of steps. MusicGen-L and InspireMusic-1.5B split each batch of 16 into smaller batches only to fit in memory, steps are accumulated to match as 16. Each model is fine-tuned with three seeds, and the seed also fixes the data order. For the deletion test, the removed training instances are taken out of this order without reshuffling, so the full fine-tuning, the random deletion and the targeted deletion with the same seed share the order of the remaining instances.
Table 7. Models and fine-tuning recipe.
| Item | MusicGen-S | MusicGen-L | InspireMusic-Base | InspireMusic-1.5B |
|---|---|---|---|---|
| Released model | facebook/musicgen-small | facebook/musicgen-large | iic/InspireMusic (Base) | iic/InspireMusic-1.5B |
| Trained part | decoder (419.6M) | decoder (3,255.4M) | LLM (501.6M) | LLM (1,556.6M) |
| Frozen | T5 text encoder [51], EnCodec [23] | WavTokenizer [35], flow-matching model | ||
| Audio tokens per 10 s | 4 × 500 (EnCodec, 32 kHz, 50 Hz) | 1 × 750 (WavTokenizer, 24 kHz, 75 Hz) | ||
| Optimizer | AdamW [41], , weight decay 0 | |||
| Learning rate | , 100 linear warmup steps, cosine decay to 0 | |||
| Batch | 16 | 2 × 8 accumulation | 16 | 4 × 4 accumulation |
| Steps | 7,500 (4 epochs) | |||
A.2 TDA Methods Hyperparameter
Table 8 lists the hyperparameters of the TDA methods.
A.3 Clustering and Audio Features
Table 9 lists the features and the grouping of each criterion. All -means [40] clusterings use , the number of genres. All audio features are computed with librosa [42] from the generated audio resampled to 48 kHz, with an FFT size of 2,048 and a hop length of 512.
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
19
Table 8. Hyperparameters of the TDA methods.
| Method | Hyperparameters |
|---|---|
| GradDot | final checkpoint |
| GRAD-Cos [33] | final checkpoint |
| TracIn [50] | checkpoints at 1,875 / 3,750 / 5,625 / 7,500 steps, checkpoint weights (1.73, 1.29, 0.59, 0.09) × 10⁻² |
| TRAK [48] | projection dimension 8,192, λ ∈ {1, 0.1, 0.01} |
| TRAK ensemble | λ = 1, three fine-tuned models |
| LoGRA [19] | projection dimension 1,024 per layer, damping 0.1 |
| FACTGrASS [34] | projection dimension 1,024, intermediate dimension 4,096, damping 0.1 |
Table 9. Features and grouping of each criterion.
| Criterion | Features of each generated output | Grouping |
|---|---|---|
| TDA score clusters | over the 30,000 training instances, L2-normalized | k-means |
| Genre | first tag of the prompt | 12 genres, 40 generated outputs each |
| MFCC [22] | mean and variance over time of 13 MFCCs (26 dimensions), standardized over the generated outputs | k-means |
| Log-mel spectrogram [46] | mean over time of the log-mel spectrum (128 bands, dB), standardized over the generated outputs | k-means |
| Chroma [46] | mean and variance over time of the CQT chroma (24 dimensions), standardized over the generated outputs | k-means |
A.4 Computational Resources
Table 10 reports the GPU time of fine-tuning and of the deletion test. The time is the elapsed time of each job on one GPU. The retraining time is estimated as the median time per run multiplied by the number of runs. Gradient computation, scoring, generation and measurement are not included. In total, fine-tuning takes about 37 GPU hours and retraining for the deletion test about 830 GPU hours.
Table 10. GPU resources.
| Item | MusicGen-S | MusicGen-L | InspireMusic-Base | InspireMusic-1.5B | |
|---|---|---|---|---|---|
| GPU | A40 | H100 | A40 | A40 | |
| Fine-tuning | time per run | 1.0 h | 2.9 h | 2.1 h | 6.2 h |
| total (3 seeds) | 3 h | 9 h | 6 h | 19 h | |
| Deletion test | retraining runs | 153 | 55 | 153 | 51 |
| time per run | 0.9 h | 2.6 h | 1.8 h | 5.3 h | |
| total | about 140 h | about 145 h | about 275 h | about 270 h |
B Embedding Visualizations
Figures 5 to 9 place the generated outputs of MusicGen-S, MusicGen-L and InspireMusic-1.5B in the CLAP and MAEST embedding spaces with UMAP [43], and Table 11 lists the audio encoders. In each figure, generated outputs of the same genre lie close to each other, whereas generated outputs of the same TDA score cluster are spread across the embedding space.
Table 11. Audio encoders of the embedding visualizations.
| Encoder | Checkpoint | Description |
|---|---|---|
| CLAP [58] | laion/larger_clap_music_and_speech | audio encoder trained jointly with a text encoder by contrastive language-audio pretraining |
| MAEST [7] | mtg-upf/discogs-maest-10s-pw-129e | spectrogram-based audio transformer trained by multi-label music style classification |

Fig. 5. Generated outputs of MusicGen-S in the MAEST embedding space, colored by genre (left) and by the TDA score clusters of GradDot (right).
Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models
21

Fig. 6. Generated outputs of MusicGen-L in the MAEST embedding space, colored by genre (left) and by the TDA score clusters of GRAD-Cos (right).

Fig. 7. Generated outputs of InspireMusic-1.5B in the MAEST embedding space, colored by genre (left) and by the TDA score clusters of TracIn (right).

Fig. 8. Generated outputs of MusicGen-L in the CLAP embedding space, colored by genre (left) and by the TDA score clusters of LoGRA (right).

Fig. 9. Generated outputs of InspireMusic-1.5B in the CLAP embedding space, colored by genre (left) and by the TDA score clusters of FactGrASS (right).