Structural Inference: explaining small language models with susceptibilitiesStructural Inference: Interpreting Small Language Models with Susceptibilities
Translation in progress — untranslated text is omitted.
Structural Inference proposes a linear-response interpretability framework that treats neural networks as Bayesian statistical-mechanical systems: small perturbations to the data distribution (such as biasing Pile toward GitHub or legal text) cause first-order posterior changes in network-component observables, and the resulting susceptibilities can be estimated with local SGLD samples and decomposed into signed per-token attribution scores. Its response matrix exhibits low-rank structure, separating functional modules such as multigrams and induction heads in a 3M-parameter transformer.
- The authors believe the microscopic organization of complex behavior in neural networks remains unclear. They aim to quantify the sensitivity of components such as attention heads to small shifts in the data distribution, and map responses to data patterns and internal modules.
- Define susceptibility as the covariance between loss change and a component observable under the local posterior, and estimate it with SGLD near a checkpoint. The PCA of the per-token response matrix is called structural inference by the authors.
- On the 3M-parameter two-layer attention-only model, PC1 of layer 0 and layer 1 explain 95.34% and 99.14% of the variance, respectively. The authors state that PC2 separates the induction circuit from the remaining heads, consistently across four seeds.
- The authors note that main limitations are the quality of the SGLD approximate posterior, unclear hyperparameter effects, and that correlated samples are only partially mitigated by averaging over multiple chains; each component must be sampled separately. The main analysis covers attention heads of the 3M model across four seeds with Pile subset probes, and compares against zero ablation.