Data Attribution in Large Language Models via Bidirectional Gradient Optimization
Frédéric Berdoz, Luca A. Lanzendörfer, Kaan Bayraktar, Roger Wattenhofer
- Published
- Jun 3, 2026 — 14:21 UTC
Problem
The paper addresses the critical issue of training data attribution (TDA) in large language models (LLMs), which remains an open problem in the literature. As LLMs are increasingly utilized in various applications, understanding the influence of specific training data on model outputs is essential for governance, accountability, and data provenance. The authors highlight the lack of effective methods for determining which training samples most significantly impact a model’s predictions, particularly in the context of auto-regressive architectures. This work is presented as a preprint, indicating that it has not yet undergone peer review.
Method
The authors propose a novel framework that employs bidirectional gradient optimization to perform TDA. The method involves perturbing the base model through both gradient ascent and descent on a generated text sample, allowing for the measurement of changes in loss across training samples. This approach enables attribution at various levels of granularity, accommodating both factual and stylistic influences from the training data. The authors utilize pretrained models with known datasets for evaluation, comparing their method against established baselines in the field. The technical details include the optimization of loss functions and the specific gradient calculations necessary for the bidirectional approach, although the exact architecture and training compute requirements are not disclosed.
Results
The proposed method demonstrates superior performance in TDA compared to existing influence metrics. The authors report significant improvements in attribution accuracy, although specific numerical results and effect sizes are not detailed in the summary. The evaluation is conducted on well-known benchmarks, and the method’s ability to provide interpretable insights into model behavior is emphasized. The results indicate that the framework enhances the interpretability of LLMs, which is crucial for fostering trust and accountability in AI systems.
Limitations
The authors acknowledge that their method may be computationally intensive due to the bidirectional nature of the gradient optimization process. Additionally, they note that the effectiveness of the approach may vary depending on the complexity of the model and the diversity of the training data. An obvious limitation not explicitly mentioned is the potential for overfitting to specific training samples, which could skew attribution results. Furthermore, the reliance on pretrained models may limit the generalizability of the findings to other architectures or datasets.
Why it matters
This work has significant implications for the field of AI interpretability, particularly in enhancing the transparency of LLMs. By providing a robust method for TDA, the authors contribute to the ongoing discourse on model accountability and ethical AI deployment. The ability to trace model outputs back to specific training data can inform better governance practices and improve user trust in AI systems. This research is particularly relevant as the demand for explainable AI continues to grow, as published in arXiv cs.CL.
By Turing Wire editorial staff · Jun 3, 2026 · Editorial standards →
Source: arXiv cs.CL