cs.LGJan 29, 2026

LoRIF: Pushing the Scalability Frontier of Training Data Attribution

Authors: Shuangqi Li, Hieu Le, Jingyi Xu, Mathieu Salzmann

Organizations: EPFL, Switzerland · UNC Charlotte, USA · Stony Brook University, USA

Abstract

Training data attribution (TDA) identifies which training examples most influenced a model's prediction. Influence function methods are a theoretically grounded family of TDA methods and exploit gradients. To overcome the scalability challenge arising from gradient computation, the most popular strategy is random projection (e.g., TRAK, LoGRA). However, this still faces two bottlenecks when scaling to large training sets and high-quality attribution: (i) storing and loading projected per-example gradients for all NN training examples, where query latency is dominated by I/O; and (ii) forming the D×DD \times D inverse Hessian approximation, which costs O(D2)O(D^2) memory. Both bottlenecks scale with the projection dimension DD, yet increasing DD is necessary for attribution quality -- creating a quality--scalability tradeoff. We introduce LoRIF (Low-Rank Influence Functions), which exploits low-rank structures of gradient to address both bottlenecks. First, we store rank-cc factors of projected per-example gradients rather than full matrices, reducing storage and query-time I/O from O(D)O(D) to O(cD)O(c\sqrt{D}) per layer per sample. Second, we use truncated SVD with the Woodbury identity to approximate the inverse Hessian term in an rr-dimensional subspace, reducing memory from O(D2)O(D^2) to O(Dr)O(Dr). On models from 0.1B to 70B parameters trained on datasets with millions of examples, LoRIF achieves up to 20×\times storage reduction and query-time speedup compared to LoGRA, while matching or exceeding its attribution quality. LoRIF makes gradient-based TDA practical at frontier scale. Code is available at https://github.com/doub7e/LoRIF.

Figures & tables

Appendix figures & tables26 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale

    Sep 30, 2026Shixuan Liu, Tongli Zhou, Junwei Deng +2Gradient-Based AttributionTraining Data Attribution

  2. STRIDE: Training Data Attribution via Sparse Recovery from Subset Perturbations

    Jun 3, 2026Rishit Dagli, Abir Harrasse, Luke Zhang +4Sparse RecoveryData Selection