Structural Inference: Interpreting Small Language Models with Susceptibilities

Garrett Baker, George Wang, Jesse Hoogland, Daniel Murfet
4/25/2025
cs.LG

No confident code implementation found for this paper.

Abstract

We develop a linear response framework for interpretability that treats a neural network as a Bayesian statistical mechanical system. A small perturbation of the data distribution, for example shifting the Pile toward GitHub or legal text, induces a first-order change in the posterior expectation of an observable localized on a chosen component of the network.

Show full abstract

The resulting susceptibility can be estimated efficiently with local SGLD samples and factorizes into signed, per-token contributions that serve as attribution scores. We combine these susceptibilities into a response matrix whose low-rank structure separates functional modules such as multigram and induction heads in a 3M-parameter transformer.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{baker2025structural,
  title  = {Structural Inference: Interpreting Small Language Models with Susceptibilities},
  author = {Garrett Baker and George Wang and Jesse Hoogland and Daniel Murfet},
  year   = {2025},
  eprint = {2504.18274},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.18274v2}
}

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

Discussion