Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictions
Jingtan Wang, Xiaoqiang Lin, Rui Qiao, Chuan-Sheng Foo, Bryan Kian Hsiang Low
Abstract
The increasing complexity of foundational models underscores the necessity for explainability, particularly for fine-tuning, the most widely used training method for adapting models to downstream tasks. Instance attribution, one type of explanation, attributes the model prediction to each training example by an instance score. However, the robustness of instance scores, specifically towards dataset resampling, has been overlooked. To bridge this gap, we propose a notion of robustness on the sign of the instance score. We theoretically and empirically demonstrate that the popular leave-one-out-based methods lack robustness, while the Shapley value behaves significantly better, but at a higher computational cost. Accordingly, we introduce an efficient fine-tuning-free approximation of the Shapley value (FreeShap) for instance attribution based on the neural tangent kernel. We empirically demonstrate that FreeShap outperforms other methods for instance attribution and other data-centric applications such as data removal, data selection, and wrong label detection, and further generalize our scale to large language models (LLMs). Our code is available at https: //github.com/JTWang2000/FreeShap .
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.
10 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
- DUET: Optimizing LLM Training Data Mixtures via Noisy Feedback from Unseen, Downstream Evaluation Tasks cites LESS: Selecting Influential Data for Targeted Instruction Tuning
- DUET: Optimizing LLM Training Data Mixtures via Noisy Feedback from Unseen, Downstream Evaluation Tasks cites Estimating Training Data Influence by Tracing Gradient Descent
- Efficient Top-m Data Values Identification for Data Selection cites LESS: Selecting Influential Data for Targeted Instruction Tuning
- DETAIL: Task DEmonsTration Attribution for Interpretable In-context Learning cites Language Models are Few-Shot Learners
- DETAIL: Task DEmonsTration Attribution for Interpretable In-context Learning cites LESS: Selecting Influential Data for Targeted Instruction Tuning
- Can Small Training Runs Reliably Guide Data Curation? Rethinking Proxy-Model Practice cites Language Models are Few-Shot Learners
- LESS: Selecting Influential Data for Targeted Instruction Tuning cites A Kernel-Based View of Language Model Fine-Tuning
- LESS: Selecting Influential Data for Targeted Instruction Tuning cites Estimating Training Data Influence by Tracing Gradient Descent
- Unifying and Optimizing Data Values for Selection via Sequential Decision-Making cites Efficient Top-m Data Values Identification for Data Selection
- Unifying and Optimizing Data Values for Selection via Sequential Decision-Making cites LESS: Selecting Influential Data for Targeted Instruction Tuning
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
Cited by top-tier papers10
- DETAIL: Task DEmonsTration Attribution for Interpretable In-context LearningZijian Zhou, Xiaoqiang Lin, Xinyi Xu, Alok Prakash et al.NeurIPS 2024 · 9 citations
- DUET: Optimizing LLM Training Data Mixtures via Noisy Feedback from Unseen, Downstream Evaluation TasksZhiliang Chen, Gregory Kang Ruey Lau, Chuan Sheng Foo, Bryan Kian Hsiang LowICLR 2026 · 8 citations
- Can Small Training Runs Reliably Guide Data Curation? Rethinking Proxy-Model PracticeJiachen T. Wang, Tong Wu, Kaifeng Lyu, James Zou et al.ICLR 2026 · 3 citations
- Unifying and Optimizing Data Values for Selection via Sequential Decision-MakingFrank Hongliang Chi, Qiong Wu, Zhengyi Zhou, Jonathan Li et al.ICML 2026 · 1 citation
- Efficient Top-m Data Values Identification for Data SelectionXiaoqiang Lin, Xinyi Xu, See-Kiong Ng, Bryan Kian Hsiang LowICLR 2025
Builds on22
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
- LESS: Selecting Influential Data for Targeted Instruction TuningMengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora et al.ICML 2024 · 460 citations
- A Kernel-Based View of Language Model Fine-TuningSadhika Malladi, Alexander Wettig, Dingli Yu, Danqi Chen et al.ICML 2023 · 111 citations
Related papers
- Small Transformers Don’t Need LayerNorm at Inference Time: Scaling LayerNorm Removal to GPT-2 XL and Implications for Mechanistic InterpretabilityLuca Baroni, Galvin Khara, Joachim Schaeffer, Marat Subkhankulov et al.ICLR 2026 · 8 citations
- TokenShapley: Token Level Context Attribution with Shapley ValueYingtai Xiao, Yuqing Zhu, Sirat Samyoun, Wanrong Zhang et al.ACL Findings 2025 · 2 citations
- FastSHAP: Real-Time Shapley Value EstimationNeil Jethani, Mukund Sudarshan, Ian Connick Covert, Su-In Lee et al.ICLR 2022 · 186 citations
- Provably Accurate Shapley Value Estimation via Leverage Score SamplingChristopher Musco, R. Teal WitterICLR 2025
- Can We Faithfully Represent Absence States to Compute Shapley Values on a DNN?Jie Ren, Zhanpeng Zhou, Qirui Chen, Quanshi ZhangICLR 2023
