Introduction
Large language models (LLMs) have revolutionized natural language processing, yet they remain largely "black boxes." While we can observe their outputs, understanding the specific logic behind each generated word is a significant challenge. Traditional interpretability methods often focus on static classification tasks, providing a single explanation for an entire sequence. However, in generative modeling, every word in a sequence may depend on a different subset of the preceding context. Researchers from Columbia, Harvard, and Cornell Tech address this by introducing sequential rationales: the minimal subsets of previous words that lead a model to make the same prediction as it would with the full context.
The Challenge of Sequential Interpretability
Interpretability in NLP has historically centered on sequence-level classification (e.g., sentiment analysis). In these scenarios, a single "rationale" explains the final label. Generative models, however, make a series of interdependent predictions. Existing tools like saliency maps or attention weights often fail to provide "faithful" explanations—they may highlight tokens that are visually prominent but do not actually drive the model's decision.
Furthermore, most models are trained on coherent, full-length text. When presented with fragmented "rationales" (e.g., a few non-contiguous words), these models often enter "out-of-distribution" states, leading to erratic or pathological behavior.
Methodology: Greedy Rationalization and Compatibility
The authors frame the search for rationales as a combinatorial optimization problem: identifying the smallest subset of context tokens $S$ such that the model's top prediction remains unchanged.
1. Greedy Rationalization
Because searching all possible subsets is computationally infeasible (NP-hard), the authors propose a greedy rationalization algorithm. Starting with an empty set, the algorithm iteratively adds the token that most increases the probability of the original predicted word. This process continues until the model's top choice matches its full-context prediction.
2. Model Compatibility
A key contribution of this work is identifying and fixing the "compatibility gap." Standard pre-trained models like GPT-2 often fail when context is sparse. For instance, if a model only sees the word "the," it might predict "the" again, creating an infinite loop. To solve this, the authors fine-tune models using word dropout, training them to form sensible conditional distributions even when context is incomplete.
Key Results and Insights
The method was evaluated across synthetic tasks, analogies, the Lambada narrative dataset, and machine translation (IWSLT14).
- Faithfulness and Brevity: In analogy tasks (e.g., "Japan is to Tokyo as France is to..."), greedy rationales were significantly shorter (7.1 tokens) than gradient-based baselines (22.5 tokens) while being much more effective at ignoring distractor text.
- Human Alignment: On the Lambada dataset, the authors introduced a new benchmark of human-annotated rationales. Greedy rationales achieved an F1 score of 0.35, significantly outperforming attention and gradient-based methods (the next best being 0.28).
- Black-Box Applicability: Unlike gradient-based methods, greedy rationalization only requires access to output probabilities, making it compatible with any model API without needing internal weight access.
Conclusion
By combining a greedy search strategy with compatibility-focused fine-tuning, this research provides a robust framework for explaining generative model behavior. While the method introduces some computational overhead per token, it offers a level of faithfulness and human alignment that previous interpretability techniques lacked, paving the way for more transparent and trustworthy AI systems.
Summary updated