Quantifying LLM Attention-Head Stability: Implications for Circuit Universality
Karan Bali, Jack Stanley, Praneet Suresh, Danilo Bzdok
TL;DR
Transformers can exhibit similar final performance across seeds yet different internal computational schemes. The authors quantify attention-head stability across 26 decoder-only architectures by comparing attention score matrices for independently trained refits, revealing a middle-layer stability dip and depth-related divergence. They further find that decoupled weight decay via AdamW improves seed stability in deeper models without sacrificing perplexity, and that the residual stream is notably more stable than individual attention heads, suggesting a robust anchor for universal interpretability. Collectively, the work argues for stability-aware evaluation of LLM circuits to support scalable, auditable safety practices and demonstrates that universal circuits are a nuanced, depth-dependent property influenced by training choices.
Abstract
In mechanistic interpretability, recent work scrutinizes transformer "circuits" - sparse, mono or multi layer sub computations, that may reflect human understandable functions. Yet, these network circuits are rarely acid-tested for their stability across different instances of the same deep learning architecture. Without this, it remains unclear whether reported circuits emerge universally across labs or turn out to be idiosyncratic to a particular estimation instance, potentially limiting confidence in safety-critical settings. Here, we systematically study stability across-refits in increasingly complex transformer language models of various sizes. We quantify, layer by layer, how similarly attention heads learn representations across independently initialized training runs. Our rigorous experiments show that (1) middle-layer heads are the least stable yet the most representationally distinct; (2) deeper models exhibit stronger mid-depth divergence; (3) unstable heads in deeper layers become more functionally important than their peers from the same layer; (4) applying weight decay optimization substantially improves attention-head stability across random model initializations; and (5) the residual stream is comparatively stable. Our findings establish the cross-instance robustness of circuits as an essential yet underappreciated prerequisite for scalable oversight, drawing contours around possible white-box monitorability of AI systems.
