First is Better Than Last for Language Data Influence
Chih-Kuan Yeh, Ankur Taly, Mukund Sundararajan, Frederick Liu, Pradeep Ravikumar
摘要
The ability to identify influential training examples enables us to debug training data and explain model behavior. Existing techniques to do so are based on the flow of training data influence through the model parameters (Koh & Liang, 2017; Yeh et al., 2018; Pruthi et al., 2020) . For large models in NLP applications, it is often computationally infeasible to study this flow through all model parameters, therefore techniques usually pick the last layer of weights. However, we observe that since the activation connected to the last layer of weights contains "shared logic", the data influenced calculated via the last layer weights prone to a "cancellation effect", where the data influence of different examples have large magnitude that contradicts each other. The cancellation effect lowers the discriminative power of the influence score, and deleting influential examples according to this measure often does not change the model's behavior by much. To mitigate this, we propose a technique called TracIn-WE that modifies a method called TracIn (Pruthi et al., 2020) to operate on the word embedding layer instead of the last layer, where the cancellation effect is less severe. One potential concern is that influence based on the word embedding layer may not encode sufficient high level information. However, we find that gradients (unlike embeddings) do not suffer from this, possibly because they chain through higher layers. We show that TracIn-WE significantly outperforms other data influence methods applied on the last layer significantly on the case deletion evaluation on three language classification tasks for different models. In addition, TracIn-WE can produce scores not just at the level of the overall training input, but also at the level of words within the training input, a further aid in debugging.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictions 引用了 Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
- Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictions 引用了 Estimating Training Data Influence by Tracing Gradient Descent
- Training Data Attribution via Approximate Unrolling 引用了 Evaluation of Similarity-based Explanations
- Training Data Attribution via Approximate Unrolling 引用了 Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
- Training Data Attribution via Approximate Unrolling 引用了 What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions
- Training Data Attribution via Approximate Unrolling 引用了 Estimating Training Data Influence by Tracing Gradient Descent
- Combining Feature and Instance Attribution to Detect Artifacts 引用了 Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
- DOGE: Domain Reweighting with Generalization Estimation 引用了 Estimating Training Data Influence by Tracing Gradient Descent
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions 引用了 Evaluation of Similarity-based Explanations
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions 引用了 Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions 引用了 Estimating Training Data Influence by Tracing Gradient Descent
引用它的顶会 Paper15
- What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence FunctionsSang Keun Choe, Hwijeen Ahn, Juhan Bae, Kewen Zhao 等NeurIPS 2025 · 112 次引用
- DOGE: Domain Reweighting with Generalization EstimationSimin Fan, Matteo Pagliardini, Martin JaggiICML 2024 · 79 次引用
- Massive Editing for Large Language Models via Meta LearningChenmien Tan, Ge Zhang, Jie FuICLR 2024 · 68 次引用
- Training Data Attribution via Approximate UnrollingJuhan Bae, Wu Lin, Jonathan Lorraine, Roger B. GrosseNeurIPS 2024 · 41 次引用
- Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model PredictionsJingtan Wang, Xiaoqiang Lin, Rui Qiao, Chuan-Sheng Foo 等ICML 2024 · 12 次引用
它引用的 Paper8
- Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 次引用
- On the Sentence Embeddings from Pre-trained Language ModelsBohan Li, Hao Zhou, Junxian He, Mingxuan Wang 等EMNLP 2020 · 538 次引用
- Explaining Black Box Predictions and Unveiling Data Artifacts through Influence FunctionsXiaochuang Han, Byron C. Wallace, Yulia TsvetkovACL 2020 · 91 次引用
- Evaluation of Similarity-based ExplanationsKazuaki Hanawa, Sho Yokoi, Satoshi Hara, Kentaro InuiICLR 2021 · 79 次引用
- Combining Feature and Instance Attribution to Detect ArtifactsPouya Pezeshkpour, Sarthak Jain, Sameer Singh, Byron C. WallaceACL Findings 2022 · 27 次引用
相关 Paper
- First is Not Really Better Than Last: Evaluating Layer Choice and Aggregation Strategies in Language Model Data Influence EstimationDmytro Vitel, Anshuman ChhabraICLR 2026 · 8 次引用
- How do languages influence each other? Studying cross-lingual data sharing during LM fine-tuningRochelle Choenni, Dan Garrette, Ekaterina ShutovaEMNLP 2023 · 2 次引用
- Influence Scores at Scale for Efficient Language Data SamplingNikhil Anand, Joshua Tan, Maria MinakovaEMNLP 2023 · 1 次引用
- Understanding Influence Functions and Datamodels via Harmonic AnalysisNikunj Saunshi, Arushi Gupta, Mark Braverman, Sanjeev AroraICLR 2023 · 1 次引用
- Scalable Influence and Fact Tracing for Large Language Model PretrainingTyler A. Chang, Dheeraj Rajagopal, Tolga Bolukbasi, Lucas Dixon 等ICLR 2025 · 1 次引用
