Tensor network models predict combined training data effects better
Tensor Network Datamodels for Training Data Attribution
Machine LearningArtificial Intelligence
Summary
Understanding which pieces of training data cause changes in a model’s behavior is important but hard when data points interact in complex ways. The authors introduce a new way to represent these interactions using compact structures called tensor networks, which can capture how groups of data work together instead of just adding their effects up. Their method helps predict how removing or selecting certain data subsets will affect the model’s performance. They tested this approach on reasoning and classification tasks, showing it works better than simpler models while needing to observe far fewer data combinations.
What this means in practice
- •For machine learning engineers: Predict the impact of removing or selecting certain training data subsets to improve model fine-tuning efficiency and effectiveness.
- •For data scientists: Identify important and interacting groups of training examples to better understand data influence on model behavior in complex tasks.
Authors
Farzaneh Heidari, Md Rifat Arefin, Louis Jaburi, Guillaume Rabusseau
Abstract
Datamodels predict how a model's behavior changes when different parts of its training data are included or removed. However, linear datamodels assign fixed contributions to training units and cannot represent non-additive joint effects. We introduce Tensor Network Datamodels (TNDMs), which use low-rank tensor networks to model dependencies among training units while keeping the representation compact. TNDMs learn a map from subsets of the training data to the outcome of training on those subsets, allowing them to represent interactions among several training units. We prove that complementary and redundant training groups can induce high-degree subset functions with compact low-rank representations. A single fitted TNDM can then be used for several training data questions, including predicting the effect of removing data, measuring the importance of individual training units, identifying interactions between training units, and selecting useful subsets of the training data. We evaluate TNDMs on controlled tasks designed to contain strong interactions, as well as standard fine-tuning settings for classification and reasoning. On a controlled reasoning task, TNDMs outperform every baseline while observing only half as many training subsets, and TNDM-TT reduces prediction NMSE by $89\%$ relative to the linear datamodel after observing approximately $0.0061\%$ of all possible training subsets. In factual-association fine-tuning, a single TNDM-CP raises held-out $\mathrm{R}^2$ from $0.579$ to $0.668$ over the linear datamodel. These results demonstrate that compact low-rank models improve prediction when training data effects depend on combinations of training groups.