Compact Proofs of Model Performance via Mechanistic Interpretability
Jason Gross, Rajashree Agrawal, Thomas Kwa, Euan Ong, Chun Hei Yip, Alex Gibson, Soufiane Noubir, Lawrence Chan
TL;DR
This work investigates whether mechanistic interpretability can yield compact, provable generalization bounds for neural networks. By studying a one-layer transformer on a Max-of-K task and reverse-engineering its weights, the authors develop 102 proof strategies that vary in computational cost and bound tightness, revealing a consistent link between deeper mechanistic understanding and more compact, tighter proofs. They introduce a formal framework for global performance proofs, including pessimal ablations and convex relaxations, and demonstrate subcubic strategies that leverage low-rank structure to scale proofs to larger input spaces. A key finding is that while more faithful interpretations tend to tighten bounds, compounding structureless noise poses a major obstacle to obtaining non-vacuous proofs at scale. The results highlight a promising yet challenging path toward formally verifiable model guarantees grounded in mechanistic insight, with future work aimed at scaling to larger architectures and more complex tasks while mitigating noise-increment in proofs.
Abstract
We propose using mechanistic interpretability -- techniques for reverse engineering model weights into human-interpretable algorithms -- to derive and compactly prove formal guarantees on model performance. We prototype this approach by formally proving accuracy lower bounds for a small transformer trained on Max-of-K, validating proof transferability across 151 random seeds and four values of K. We create 102 different computer-assisted proof strategies and assess their length and tightness of bound on each of our models. Using quantitative metrics, we find that shorter proofs seem to require and provide more mechanistic understanding. Moreover, we find that more faithful mechanistic understanding leads to tighter performance bounds. We confirm these connections by qualitatively examining a subset of our proofs. Finally, we identify compounding structureless errors as a key challenge for using mechanistic interpretability to generate compact proofs on model performance.
