Circuit Stability Characterizes Language Model Generalization

Alan Sun
5/30/2025
cs.CL

No official code found. Best implementation: alansun17904/circuit-stability (6 stars, last commit 2025-07-01).

Abstract

Extensively evaluating the capabilities of (large) language models is difficult. Rapid development of state-of-the-art models induce benchmark saturation, while creating more challenging datasets is labor-intensive. Inspired by the recent developments in mechanistic interpretability, we introduce circuit stability as a new way to assess model performance. Circuit stability refers to a model's ability to apply a consistent reasoning process-its circuit-across various inputs. We mathematically formalize circuit stability and circuit equivalence. Then, through three case studies, we empirically show that circuit stability and the lack thereof can characterize and predict different aspects of generalization. Our proposed methods offer a step towards rigorously relating the generality of models to their interpretability.

View on arXivView PDF

Code Implementations(1)

[ACL '25] Circuit Stability Characterizes Language Model Generalization

60Shell, PythonMay 25, 20251 years ago

Similar Papers

Cite this paper

@article{sun2025circuit,
  title  = {Circuit Stability Characterizes Language Model Generalization},
  author = {Alan Sun},
  year   = {2025},
  eprint = {2505.24731},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.24731v1}
}

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/2505.24731.svg)](https://codeofpaper.com/paper/2505.24731)

Discussion