TL;DR
This paper introduces a data-centric interpretability framework for language models by identifying "support samples"—the specific training instances that most heavily drive next-word predictions. Remarkably, whether a sample becomes a support sample is an intrinsic property that can be predicted with 80% accuracy using a completely untrained, randomly initialized model. While "non-support" samples don't directly dictate final predictions, they are shown to be crucial for preventing overfitting and shaping deep representation learning.
What Problem Does This Paper Address?
While mechanistic interpretability focuses on how internal neurons fire, data-centric interpretability asks why a model makes a decision based on its training data. Existing data-attribution methods, like influence functions, typically require calculating expensive Hessian matrices, making them computationally impractical for large language models (LLMs).
To solve this, the authors tackle the efficiency gap by using a representation-based approach to answer a fundamental question: Which training samples contribute the most when a language model decides to predict a specific token?
Methods
The authors utilize the Representer Theorem to decompose the parameters of the final token prediction layer (the language model head) into a linear combination of the training samples' hidden representations.
- Support Samples: Training samples are assigned an importance coefficient ($\alpha_i$). If the absolute value of this coefficient meets or exceeds a threshold ($\tau = 0.9$), it is classified as a support sample.
- Two Types of Support: The mathematical decomposition reveals two distinct behaviors:
- Type-1 (The Pull): Samples with the same target token but low prediction confidence. These pull the model toward making the correct prediction.
- Type-2 (The Push): Samples with different target tokens that the model mistakenly predicts with high confidence. These act as negative constraints, pushing the model away from incorrect tokens.
- Predicting Support Status: To determine if "supportiveness" is an intrinsic property, the authors train simple linear and MLP classifiers on features (hidden states and gradients) extracted from models at various training stages—including a completely untrained, randomly initialized baseline.
Datasets
- Wikitext-2: Used for core profiling and layer-wise analysis (2.37M training samples).
- Wikitext-103: Used for data-scaling experiments (up to 117M training samples).
- Models: GPT-2 architectures ranging from 117M to 1.5B parameters.
Key Insights and Ideas
- "Hardness" is Intrinsic: You don't need to train a language model to know which data points will be the most influential. The gradients of a randomly initialized model contain enough geometric information to identify future support samples with roughly 80% accuracy.
- The "Push" is Crucial: Traditional data selection often prioritizes high-perplexity data (similar to Type-1 samples). However, this paper demonstrates that Type-2 support samples are equally vital; removing them causes the model to confidently output incorrect tokens.
- Non-Support Samples are the Backbone: Although you can successfully train a model's final prediction head using mostly support samples, full-model training fails without non-support samples. They act as vital regularizers against overfitting and dominate representation learning in deeper layers.
Key Results
- High Volume of Support: In a standard 117M parameter GPT-2 model, 54% of the training dataset qualifies as support samples.
- Highly Skewed Distribution: A tiny fraction of tokens (like "and", "in", "a") require tens of thousands of support samples, whereas 58% of the vocabulary requires fewer than 10 support samples.
- Semantic Density: Support samples are heavily concentrated in semantically rich Part-of-Speech (POS) tags. For instance, 86% of verbs are support samples, compared to only 20% of punctuations.
- Layer-wise Surges: Probing the model layer-by-layer reveals that the proportion of non-support samples remains low in early layers but surges dramatically around the 5th and 6th layers, visualizing the point where the model shifts toward abstract representation learning.
Limitations and Future Work
- Ambiguous Boundaries: The division between support and non-support samples relies on a hard threshold ($\tau$). Because the transition is continuous rather than discrete, classification near the boundary carries inherent ambiguity.
- Objective Function Dependency: The framework is strictly tied to the standard cross-entropy (MLE) loss and argmax decoding. The authors note that alternative training objectives or sampling-based decoding strategies might yield entirely different data-support dynamics.
Summary updated