English

Can Interpretation Predict Behavior on Unseen Data?

Machine Learning 2025-07-10 v1 Artificial Intelligence Computation and Language

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. 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.

Keywords

Cite

@article{arxiv.2507.06445,
  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},
  journal= {arXiv preprint arXiv:2507.06445},
  year   = {2025}
}
R2 v1 2026-07-01T03:52:30.059Z