First is Not Really Better Than Last: Evaluating Layer Choice and Aggregation Strategies in Language Model Data Influence Estimation
Not on the map. Why?
Abstract (arXiv)
Identifying how training samples influence/impact Large Language Model (LLM) decision-making is essential for effectively interpreting model decisions and auditing large-scale datasets. Current training sample influence estimation methods (also known as influence functions) undertake this goal by utilizing information flow through the model via its first-order and higher-order gradient terms. However, owing to the large model sizes of today consisting of billions of parameters, these influence computations are often restricted to some subset of model layers to ensure computational feasibility. Prior seminal work by Yeh et al. (2022) in assessing which layers are best suited for computing language data influence concluded that the first (embedding) layers are the most informative for this purpose, using a hypothesis based on influence scores canceling out (i.e., the cancellation effect). In this work, we propose theoretical and empirical evidence demonstrating how the cancellation effect is unreliable, and that middle attention layers are better estimators for influence. Furthermore, we address the broader challenge of aggregating influence scores across layers, and showcase how alternatives to standard averaging (such as ranking and vote-based methods) can lead to significantly improved performance. Finally, we propose better methods for evaluating influence score efficacy in LLMs without undertaking model retraining, and propose a new metric known as the Noise Detection Rate (NDR) that exhibits strong predictive capability compared to the cancellation effect. Through extensive experiments across LLMs of varying types and scales, we concretely determine that the first (layers) are not necessarily better than the last (layers) for LLM influence estimation, contrasting with prior knowledge in the field.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 45 of its 57 references that are in the map. First posted on arXiv 6 Nov 2025.
Builds on
45 of 57 references.
References · 45
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 580
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
33 more
- 2023Studying Large Language Model Generalization with Influence Functionscited by 326
- 2019On the (In)fidelity and Sensitivity for Explanationscited by 310
- 2019Towards Efficient Data Valuation Based on the Shapley Valuecited by 281
- 2020Identifying Mislabeled Data using the Area Under the Margin Rankingcited by 261
- 2018Representer Point Selection for Explaining Deep Neural Networkscited by 187
- 2020Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functionscited by 144
- 2022Training Data Influence Analysis and Estimation: A Surveycited by 135
- 2021Scaling Up Influence Functionscited by 132
- 2023DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Modelscited by 123
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 111
- 2021Guided Integrated Gradients: An Adaptive Path Method for Removing Noisecited by 102
- 2020Characterizing Structural Regularities of Labeled Data in Overparameterized Modelscited by 93
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
- 2021Influence Selection for Active Learningcited by 84
- 2021Input Similarity from the Neural Network Perspectivecited by 79
- 2024LLMs achieve adult human performance on higher-order theory of mind taskscited by 61
- 2024A Unified Framework for Model Editingcited by 57
- 2024Rebuilding ROME : Resolving Model Collapse during Sequential Model Editingcited by 50
- 2018Interpreting Black Box Predictions using Fisher Kernelscited by 48
- 2021HYDRA: Hypergradient Data Relevance Analysis for Interpreting Deep Neural Networkscited by 38
- 2021Combining Feature and Instance Attribution to Detect Artifactscited by 38
- 2023Self-Influence Guided Data Reweighting for Language Model Pre-trainingcited by 37
- 2022First is Better Than Last for Language Data Influencecited by 34
- 2025Generalization Bias in Large Language Model Summarization of Scientific Researchcited by 30
- 2024Do Influence Functions Work on Large Language Models?cited by 20
- 2023Make Every Example Count: On the Stability and Utility of Self-Influence for Learning from Noisy NLP Datasetscited by 19
- 2024Small Language Models can Outperform Humans in Short Creative Writing: A Study Comparing SLMs with Humans and LLMscited by 17
- 2025LayerIF: Estimating Layer Quality for Large Language Models using Influence Functionscited by 12
- 2024Outlier Gradient Analysis: Efficiently Identifying Detrimental Training Samples for Deep Learning Modelscited by 10
- 2024Correcting Large Language Model Behavior via Influence Functioncited by 9
- 2024Understanding the Role of LLMs in Multimodal Evaluation Benchmarkscited by 4
- 2025Unraveling Indirect In-Context Learning Using Influence Functionscited by 3
- 2020The Penalty Imposed by Ablated Data Augmentationcited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Golden Layers and Where to Find Them: Improved Knowledge Editing for Large Language Models Via Layer Gradient Analysiscited by 1
- 2026AFRILANGTUTOR: Advancing Language Tutoring and Culture Education in Low-Resource Languages with Large Language Modelscited by 1
- 2026Curvature-Weighted Capacity Allocation: A Minimum Description Length Framework for Layer-Adaptive Large Language Model Optimizationcited by 0
- 2026SafeLens: Deliberate and Efficient Video Guardrails with Fast-and-Slow Screeningcited by 0
- 2026Weight-Adjusted Gradients Reveal Parameter Importance and Failure Modes in LLMscited by 0
- 2026Weight-Adjusted Gradients Reveal Parameter Importance and Failure Modes in LLMs12 Jul 2026
- 2026SafeLens: Deliberate and Efficient Video Guardrails with Fast-and-Slow Screening17 May 2026
- 2026AFRILANGTUTOR: Advancing Language Tutoring and Culture Education in Low-Resource Languages with Large Language Models22 Apr 2026
- 2026Curvature-Weighted Capacity Allocation: A Minimum Description Length Framework for Layer-Adaptive Large Language Model Optimization1 Mar 2026
- 2026Golden Layers and Where to Find Them: Improved Knowledge Editing for Large Language Models Via Layer Gradient Analysis22 Feb 2026