GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projection
Pingbang Hu, Joseph Melkonian, Weijing Tang, Han Zhao, Jiaqi Ma
Abstract
Gradient-based data attribution methods, such as influence functions, are critical for understanding the impact of individual training samples without requiring repeated model retraining. However, their scalability is often limited by the high computational and memory costs associated with per-sample gradient computation. In this work, we propose GraSS, a novel gradient compression algorithm and its variants FactGraSS for linear layers specifically, that explicitly leverage the inherent sparsity of per-sample gradients to achieve sub-linear space and time complexity. Extensive experiments demonstrate the effectiveness of our approach, achieving substantial speedups while preserving data influence fidelity. In particular, FactGraSS achieves up to 165% faster throughput on billion-scale models compared to the previous state-of-the-art baselines. Our code is publicly available at https://github.com/TRAIS-Lab/GraSS.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DeMix: Debugging Training Data with Mixed Data Error Types by Investigating Influence Vectors cites What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions
- Clustered Influence Functions cites Scaling Up Influence Functions
- Clustered Influence Functions cites What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions
- Clustered Influence Functions cites Estimating Training Data Influence by Tracing Gradient Descent
- Step-Resolved Data Attribution for Looped Transformers cites Estimating Training Data Influence by Tracing Gradient Descent
- DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Models cites Scaling Up Influence Functions
- DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Models cites Estimating Training Data Influence by Tracing Gradient Descent
- TRAK: Attributing Model Behavior at Scale cites Scaling Up Influence Functions
- TRAK: Attributing Model Behavior at Scale cites Estimating Training Data Influence by Tracing Gradient Descent
- Scaling Up Influence Functions cites Estimating Training Data Influence by Tracing Gradient Descent
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions cites DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Models
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions cites TRAK: Attributing Model Behavior at Scale
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions cites Scaling Up Influence Functions
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions cites Estimating Training Data Influence by Tracing Gradient Descent
Cited by top-tier papers4
- Step-Resolved Data Attribution for Looped TransformersGeorgios Kaissis, David Mildenberger, Felipe Gomez, Martin Menten et al.ICML 2026 · 3 citations
- FlashSketch: Sketch-Kernel Co-Design for Fast Sparse Sketching on GPUsRajat Vadiraj Dwaraknath, Sungyoon Kim, Mert PilanciICML 2026 · 1 citation
- DeMix: Debugging Training Data with Mixed Data Error Types by Investigating Influence VectorsJiale Deng, Yanyan Shen, Xiaogang Shi, Junjun ChaiKDD 2026
- Clustered Influence FunctionsMiklós Máté Badó, Kristian FenechICML 2026
Builds on11
- Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
- TRAK: Attributing Model Behavior at ScaleSung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc et al.ICML 2023 · 260 citations
- Scaling Up Influence FunctionsAndrea Schioppa, Polina Zablotskaia, David Vilar, Artem SokolovAAAI 2022 · 149 citations
- DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion ModelsYongchan Kwon, Eric Wu, Kevin Wu, James ZouICLR 2024 · 112 citations
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence FunctionsSang Keun Choe, Hwijeen Ahn, Juhan Bae, Kewen Zhao et al.NeurIPS 2025 · 112 citations
Related papers
- Enhancing Training Data Attribution with Representational OptimizationWeiwei Sun, Haokun Liu, Nikhil Kandpal, Colin A. Raffel et al.NeurIPS 2025 · 9 citations
- GRASS: Compute Efficient Low-Memory LLM Training with Structured Sparse GradientsAashiq Muhamed, Oscar Li, David P. Woodruff, Mona T. Diab et al.EMNLP 2024 · 1 citation
- GRASS: Gradient-based Adaptive Layer-wise Importance Sampling for Memory-efficient Large Language Model Fine-tuningKaiyuan Tian, Linbo Qiao, Yu Tang, Gongqingjian Jiang et al.ACL Findings 2026
- Influence Functions for Scalable Data Attribution in Diffusion ModelsBruno Kacper Mlodozeniec, Runa Eschenhagen, Juhan Bae, Alexander Immer et al.ICLR 2025
- Subspace Networks: Scaling Decentralized Training with Communication-Efficient Model ParallelismSameera Ramasinghe, Thalaiyasingam Ajanthan, Gil Avraham, Yan Zuo et al.NeurIPS 2025 · 12 citations
