Can Interpretation Predict Behavior on Unseen Data?

Victoria R. Li, Jenny Kaufmann, Martin Wattenberg, David Alvarez-Melis, Naomi Saphra
7/8/2025
13 citations
cs.LGcs.AIcs.CL

No official code found. Best implementation: vli31/id-predict-ood (2 stars, Jupyter Notebook, MIT, last commit 2025-07-08).

Abstract

Interpretability research often aims to predict how a model will respond to targeted interventions on specific mechanisms. However, it rarely predicts how a model will respond to unseen input data.

Show full abstract

This paper explores the promises and challenges of interpretability as a tool for predicting out-of-distribution (OOD) model behavior. Specifically, we investigate the correspondence between attention patterns and OOD generalization in hundreds of Transformer models independently trained on a synthetic classification task. These models exhibit several distinct systematic generalization rules OOD, forming a diverse population for correlational analysis. In this setting, we find that simple observational tools from interpretability can predict OOD performance. In particular, when in-distribution attention exhibits hierarchical patterns, the model is likely to generalize hierarchically on OOD data -- even when the rule's implementation does not rely on these hierarchical patterns, according to ablation tests. Our findings offer a proof-of-concept to motivate further interpretability work on predicting unseen model behavior.

View on arXivView PDF

Code Implementations(1)

MIT

Can interpretation predict behavior on unseen data?

21Jupyter Notebook, PythonFeb 26, 20251 years agoMIT

Similar Papers

Cite this paper

@article{li2025interpretation,
  title  = {Can Interpretation Predict Behavior on Unseen Data?},
  author = {Victoria R. Li and Jenny Kaufmann and Martin Wattenberg and David Alvarez-Melis and Naomi Saphra},
  year   = {2025},
  eprint = {2507.06445},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.06445v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.06445.svg)](https://codeofpaper.com/paper/2507.06445)

Discussion