Mechanistic Interpretability as Statistical Estimation: A Variance Analysis

Maxime Méloux, François Portet, Maxime Peyrard

Introduction

Mechanistic Interpretability (MI) seeks to reverse-engineer Large Language Models (LLMs) by identifying "circuits"—sub-networks responsible for specific model behaviors. However, the prevailing assumption in the field treats these circuits as fixed, discoverable truths. This paper challenges that notion, arguing that circuit discovery is fundamentally a noisy statistical estimation problem. Current methods are highly unstable, yielding vastly different results based on minor changes to data, hyperparameters, or the strength of causal interventions.

The Problem: Point Estimates and Instability

In the quest to understand LLMs, researchers often rely on point estimates. They run an algorithm once, isolate a circuit (e.g., the specific neurons and connections that identify an indirect object in a sentence), and present it as the definitive explanation for that behavior.

But what happens if the input data is slightly modified or a hyperparameter is tweaked? Alarmingly, the authors found that the resulting circuits often change completely. This lack of statistical rigor and the high variance (instability) of these explanations undermine their scientific validity, rendering them potentially unreliable for safety-critical audits.

Methodology: Deconstructing Circuit Discovery

The authors frame circuit discovery as a multi-stage pipeline built on Causal Mediation Analysis (CMA). CMA involves "patching"—intervening on a specific model component to observe how it changes the output. To rigorously measure the stability of these interventions, the researchers employed several techniques:

  • Exact CMA vs. Approximations: They compared computationally expensive "ground truth" causal effects against fast approximations like Edge Attribution Patching (EAP) and EAP-IG (Integrated Gradients).
  • Bootstrap Resampling: They generated 100 variations of the same dataset via sampling with replacement to observe how much the discovered circuits fluctuated.
  • Structural Stability: They used the Jaccard index to measure circuit overlap, where a score of 1.0 means identical circuits and 0.0 means no shared edges.
  • Perturbation Analysis: They tested circuit resilience against varying intervention "noise" levels and hyperparameter choices (e.g., using mean vs. median for aggregation).

Datasets and Models

The study evaluated three classic MI benchmarks:

  1. Indirect Object Identification (IOI): Identifying the correct name in a narrative.
  2. Subject-Verb Agreement (SVA): Predicting the correct verb form (singular/plural).
  3. Greater-Than: Predicting a year numerically greater than one provided in a prompt.

These tasks were tested across three models of varying scale: gpt2-small, Llama-3.2-1B, and Llama-3.2-1B-Instruct.

Key Insights

  • Causal effects are random variables, not constants: Even with exact mathematical calculations, the importance of a specific edge fluctuates wildly across different inputs. The causal effect is a volatile property, not a fixed anatomical feature of the model.
  • Approximations amplify noise: Fast methods like EAP are necessary for analyzing large models, but they introduce massive "approximation noise." In some cases, the signal-to-noise ratio drops below 1, meaning the "discovery" is predominantly noise.
  • The Scaling Problem: Stability actually decreases as models grow larger and more capable. Circuits found in Llama-3.2 were significantly less stable than those in GPT-2, suggesting that current MI methods do not scale gracefully.
  • Methodological Fragility: Changing a single hyperparameter can result in almost entirely disjoint subgraphs. This implies that many published circuits may be artifacts of specific experimental designs rather than universal mechanisms.

Key Results

  • Low Structural Overlap: Under bootstrap resampling, the average structural consistency (Jaccard Index) was only 0.561. Nearly half of the "important" edges changed simply by shuffling the data.
  • High Coefficient of Variation (CV): For exact CMA, the CV was around 0.5. For EAP approximations, it often exceeded 1.0, indicating that the standard deviation of an edge's importance score is larger than its actual mean value.
  • Hyperparameter Sensitivity: In the Greater-Than task for Llama-3.2-Instruct, changing the aggregation method dropped the Jaccard similarity to the median circuit to a mere 0.086—essentially returning a completely different circuit.
  • Intervention Sensitivity: The authors identified a "critical regime" (noise amplitude ≈ 0.2) where circuit stability peaks and then crashes, proving that the discovered circuit depends heavily on how hard the model is "poked" during intervention.

Limitations and Future Directions

The study primarily focuses on the EAP family of algorithms. While the authors argue that the underlying issues of CMA variance and aggregation apply to all circuit-discovery methods, other techniques like ACDC or GIM might exhibit different noise profiles. Furthermore, the evaluation is limited to discrete linguistic tasks; fuzzier reasoning tasks may exhibit even higher instability.

To move the field forward, the authors propose several future directions:

  • Probabilistic Circuit Discovery: Instead of seeking one "true" circuit, MI should output a distribution of possible circuits.
  • Stability-Aware Optimization: New algorithms should be developed that explicitly penalize high-variance edges during the discovery process.
  • Standardized Reporting: The field needs a "minimum bar" for stability (e.g., requiring a Jaccard index > 0.8 under bootstrap resampling) that researchers must meet before claiming a circuit is a reliable explanation.

Summary updated

BibTeX
@inproceedings{meloux2026mechanistic,
  author = {Maxime Méloux and François Portet and Maxime Peyrard},
  title = {{Mechanistic Interpretability as Statistical Estimation: A Variance Analysis}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Z7KqxFpWzN},
}
Figure