Stochastic Parameter Decomposition

Lucius Bushnaq, Dan Braun, Lee Sharkey · DOI

Introduction

The "black box" nature of neural networks remains a primary hurdle for safety, control, and scientific discovery. Mechanistic interpretability aims to solve this by reverse-engineering networks into simpler, human-understandable parts. While Sparse Dictionary Learning (SDL)—which decomposes activations—is currently popular, it often fails to account for feature geometry and doesn't always map to functional components.

A newer alternative, Linear Parameter Decomposition (LPD), attempts to decompose the network's "hardware" (its parameters) rather than just its "software" (its activations). However, previous LPD methods like Attribution-based Parameter Decomposition (APD) are computationally expensive and sensitive to hyperparameters. Stochastic Parameter Decomposition (SPD) is introduced to overcome these hurdles, providing a method that scales better and identifies mechanisms more accurately without requiring the user to guess the number of active features in advance.

The SPD Framework

SPD decomposes each weight matrix in a network into a set of rank-one matrices called subcomponents. The core innovation lies in how the model determines which subcomponents are "active" for a given input.

Decomposition of a target model into rank-one subcomponents.

The framework relies on three main pillars:

  1. Causal Importance Function: Instead of using gradient-based attribution, SPD trains a tiny MLP for each subcomponent to predict a "causal importance" value ($g \in [0, 1]$).
  2. Stochastic Masking: During training, subcomponents are multiplied by a random mask sampled from a uniform distribution $U(g, 1)$. This forces the model to ensure that unimportant components can be ablated without affecting the output.
  3. The Loss Sandwich: The model is trained using a combination of faithfulness (reconstructing the original weights), stochastic reconstruction (maintaining output behavior), and importance minimality (encouraging sparsity).

Experimental Results

The authors evaluated SPD using several "toy" models where the ground-truth mechanisms are known, including the Toy Model of Superposition (TMS) and models with cross-layer distributed representations.

Performance metrics for SPD on Toy Model of Superposition (TMS) benchmarks.

Key findings include:

  • Perfect Recovery: In TMS models, SPD achieved a Mean Max Cosine Similarity (MMCS) of 1.000, perfectly recovering ground-truth weight directions.
  • Faithful Representation: Unlike previous methods that "shrunk" weight magnitudes, SPD maintained an L2 ratio (ML2R) of approximately 1.0, representing the original model more accurately.
  • Robustness to Depth: SPD successfully decomposed a 3-layer model that previous methods could not handle due to hyperparameter sensitivity.
  • Solving Feature Splitting: SPD avoids splitting linear maps into many tiny features because components must sum back to the original weights, and the minimality loss penalizes unnecessary complexity.

Insights and Future Work

By focusing on parameters over activations, SPD identifies stable "circuits" hardcoded into the weights. The use of stochasticity acts as a powerful search strategy, providing a stronger causal test than simple attribution.

However, challenges remain for scaling to Large Language Models (LLMs). Currently, SPD finds rank-one subcomponents, but real-world mechanisms may be higher-rank, requiring automated clustering algorithms. Additionally, future iterations may benefit from incorporating global information across layers to better determine causal necessity.

Summary updated

BibTeX
@misc{bushnaq2025stochastic,
  author = {Lucius Bushnaq and Dan Braun and Lee Sharkey},
  title = {{Stochastic Parameter Decomposition}},
  year = {2025},
  eprint = {2506.20790},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.20790},
}
Figure