betaFeedback

WorksComputer Science

Inference and learning in sparse autoencoders as natural gradient flow

Abstract

Sparse autoencoders are widely used to uncover interpretable features in neural networks, yet reliable recovery remains difficult when features overlap or activate infrequently. These challenges involve both inferring which features explain an input and learning the dictionary that represents them. Here, we unify inference and dictionary learning as natural-gradient flows on a shared variational free energy. We instantiate this framework as BeFOND, an encoder-free sparse coding model with closed-form inference and learning dynamics. We show how recurrent explaining away reduces interference between overlapping features, while Fisher preconditioning can compensate for the slow learning of rare features. On synthetic data, BeFOND improves dictionary recovery and rare-feature detection, with a growing advantage over amortized baselines as superposition increases. On language-model activations, it improves single-feature concept detection and selective intervention, outperforming pretrained reference SAEs with substantially less training data. Its feature quality continues to improve with dictionary width, whereas the evaluated baselines largely plateau. Together, these results show how improving inference and learning within a unified probabilistic framework can make better use of data and dictionary capacity to interpret and intervene on neural representations.

Introduction

Sparse autoencoders (SAEs) infer sparse representations of data in terms of a learned, overcomplete dictionary of features. Their roots lie in sparse coding [60, 49], motivated by the organization of sensory representations in biological systems [61, 62]. SAEs have since become central in interpreting neural network representations (reviewed in Klindt et al. [47]), especially those of language models [77, 15, 25, 72, 31].

Despite these successes, SAEs face challenges in both inference and dictionary learning. Standard SAEs use a trained neural network to perform one-pass inference—known as amortized inference—which can struggle to disentangle overlapping features in superposition [63]. But improving inference alone is insufficient. In controlled experiments, Barin-Pacela et al. [10] identified dictionary learning as the bottleneck: replacing an SAE’s encoder with iterative inference on the same learned dictionary failed to close the feature-recovery gap. These problems are coupled during training: the dictionary determines which explanations of the data are available, while inferred feature activations shape the learning signal used to update the dictionary. Therefore, inference errors can compromise dictionary learning, and a poor dictionary can limit what inference can recover.

Unlike standard SAEs, classical sparse coding methods typically perform inference through iterative, per-sample optimization [68, 33]. More recently in this lineage, Vafaii et al. [74] introduced the Free-energy Online Natural-gradient Dynamics (FOND) framework, which formulates inference as natural-gradient flow on variational free energy. FOND’s guiding principle is to respect the intrinsic geometry of the statistical manifold: updates are measured by their effect on the represented probability distribution through the Fisher information metric [4, 55, 44]. However, FOND did not address learning through the same geometric principle. Its generative model parameters were learned by backpropagating through the inference trajectory, with the associated computational and memory costs.

Figure 1. Feature quality and sample efficiency on Gemma-2-2B activations. a,c: Training dynamics at 524k width. b,d: Final performance across dictionary widths. Details in § 5.

Here, we extend this principle to learning. Just as inference follows natural-gradient flow on free energy with respect to variational parameters, we define learning as natural-gradient flow on the same objective with respect to generative parameters. Both processes thus respect the statistical geometry of the distributions they update. We instantiate this extended FOND framework as BeFOND: an encoder-free iterative SAE with Bernoulli latents, a factorized prior, and a linear Gaussian decoder. We derive closed-form expressions for its inference and learning dynamics, allowing the dictionary to be learned without backpropagating through the inference trajectory.

On the inference side, BeFOND implements explaining away through recurrent interactions between overlapping features, enabling lateral competition leading to sparse, disentangled representations. We isolate the contribution of these interactions and show that they become increasingly important as feature superposition increases. On the learning side, we show how infrequent activation slows Euclidean dictionary learning. We prove that Fisher preconditioning removes this frequency dependence, giving rare and common features the same local learning rate. Motivated by this result, we hypothesize that Fisher preconditioning would improve rare-feature recovery in BeFOND. Empirically, BeFOND learns more accurate dictionaries and detects rare features with few misses or false positives, while using substantially fewer training samples than SAE baselines and Euclidean ablations.

We evaluate BeFOND on synthetic data with known ground-truth features using SynthSAEBench ([20]), and on language-model representations using SAEBench ([43]). Baselines include amortized SAEs—BatchTopK ([16]), Matryoshka BatchTopK ([17]), and JumpReLU ([66])—and an iterative mean-field variational baseline with Adam-based decoder learning ([45]).

On Gemma-2-2B layer-12 activations, BeFOND outperforms all evaluated baselines on both sparse probing [42] and RAVEL disentanglement [38]. BeFOND’s performance continues to improve as we increase dictionary width from 16k to 524k latents, whereas the baselines plateau (Fig. 1b,d). These gains also emerge with substantially less training data: at a dictionary width of 524k, BeFOND matches the evaluated Gemma Scope JumpReLU checkpoints [50] in sparse probing after just ∼6\sim6M training tokens, compared with the 8B tokens used to train those checkpoints, achieving over 1,000×\times reduction in training tokens (Fig. 1a).

Summary of our contributions and paper outline:

  1. We review necessary background (§ 2). We then extend FOND [74] to unify inference and learning as natural-gradient flows on variational free energy, instantiate it as Bernoulli-distributed BeFOND, and derive its dynamics in closed-form (§ 3 and section B).

  1. We analyze BeFOND’s recurrent “explaining away” (§ 4.1) and use ablations to establish its contribution to feature recovery under increasing superposition (section C.3.1).

  1. We characterize how Fisher preconditioning in BeFOND’s learning rule compensates for feature rarity (§ 4.2), and test its consequences for dictionary learning through theoretical analysis (theorem 4.2), synthetic experiments, and optimizer ablations (sections C.3.2, C.4 and C.5).

  1. We evaluate BeFOND on language-model representations, examining feature quality, sample efficiency, and scaling with dictionary width (§ 5).

Background and Related Work

Notation. Bold lowercase and uppercase symbols denote vectors and matrices, such as a\mathbf{a} and A\mathbf{A}. Inference and learning quantities appear in red and blue, respectively.

Sparse coding. Classical sparse coding [60, 61, 49, 1, 68, 33, 52] models each observation x∈RM\mathbf{x} \in\mathbb{R}^{M} as a linear combination of dictionary atoms with sparse coefficients z\mathbf{z}:

x=Φz+ϵ,ϵ∼N(0,IM)(1)\mathbf{x} = \mathbf{\Phi}\mathbf{z} + \boldsymbol{\epsilon}, \qquad\boldsymbol{\epsilon} \sim\mathcal{N}(\mathbf{0}, \mathbf{I}_{M}) \tag*{(1)}

The dictionary Φ∈RM×K\mathbf{\Phi} \in\mathbb{R}^{M \times K} has atoms Φ⋅i≡ϕ(i)\mathbf{\Phi}_{\cdot i} \equiv\boldsymbol{\phi}^{(i)} as its columns.

We consider overcomplete dictionaries, whose atoms outnumber the input dimensions (K>MK > M), and therefore cannot all be mutually orthogonal, making some overlap between atoms unavoidable.

Learning estimates the dictionary from data, while inference finds sparse codes that explain each input. These processes are coupled because inference uses the current dictionary, and dictionary updates depend on the inferred codes. In the overcomplete setting, superposition—overlap between atoms—makes sparse code inference particularly challenging (see section A.1).

Amortized versus iterative inference. Standard SAEs learn an encoder z=fϕ(x)\mathbf{z} = f_{\boldsymbol{\phi}}(\mathbf{x}) that predicts a sparse code in one forward pass. These include ReLU [15, 25, 72], JumpReLU [66], gated [65], TopK [53, 31], BatchTopK [16], and Matryoshka BatchTopK [17] SAEs. Training this mapping across samples amortizes inference, replacing a separate test-time optimization for each input.

Iterative sparse coding instead refines the code for each observation [68, 11, 30]. In continuous time, this takes the schematic form, z˙=g(z,Φ,x)\dot{\mathbf{z}} = g(\mathbf{z}, \mathbf{\Phi}, \mathbf{x}). Iterative inference has yielded mixed results on language-model representations [19, 71]. See section A.2 for further discussion.

Variational inference and free energy. A generative model combines a prior with a likelihood:

pθ(x,z)=pθ(x∣z)⏟conditional likelihoodpθ(z)⏟prior,e.g.,pθ(x∣z)=N(x;Φz,IM)(2)p_{\boldsymbol{\theta}}(\mathbf{x}, \mathbf{z}) = \underbrace{p_{\boldsymbol{\theta}}(\mathbf{x} \mid\mathbf{z})}_{\text{conditional likelihood}} \underbrace{p_{\boldsymbol{\theta}}(\mathbf{z})}_{\text{prior}}, \qquad\text{e.g.,}\quad p_{\boldsymbol{\theta}}(\mathbf{x} \mid\mathbf{z}) = \mathcal{N}(\mathbf{x}; \mathbf{\Phi}\mathbf{z}, \mathbf{I}_{M}) \tag*{(2)}

Bayes’ rule gives pθ(z∣x)=pθ(x,z)/pθ(x)p_{\boldsymbol{\theta}}(\mathbf{z} \mid\mathbf{x}) = p_{\boldsymbol{\theta}}(\mathbf{x}, \mathbf{z}) / p_{\boldsymbol{\theta}}(\mathbf{x}). Computing the evidence pθ(x)p_{\boldsymbol{\theta}}(\mathbf{x}) requires summing or integrating over latent configurations, which is generally intractable for large overcomplete models.

Variational inference (section A.3; [41, 13]) turns this problem into optimization: choose an approximate posterior qu(z∣x)q_{\mathbf{u}}(z \mid x) and optimize its parameters u\mathbf{u}. For example, u\mathbf{u} can be Gaussian means and variances, or Bernoulli logits. Define the variational free energy:

F(x;u,θ):=Equ[−log⁡pθ(x,z)qu(z∣x)]=−Equ[log⁡pθ(x∣z)]+DKL(qu(z∣x)∥pθ(z)).(3)\mathcal{F}(x; \mathbf{u}, \theta) := \mathbb{E}_{q_{\mathbf{u}}}\left[-\log\frac{p_{\theta}(x,z)}{q_{\mathbf{u}}(z \mid x)}\right] = -\mathbb{E}_{q_{\mathbf{u}}}\left[\log p_{\theta}(x \mid z)\right] + D_{\mathrm{KL}}\left(q_{\mathbf{u}}(z \mid x) \mathrel{\|} p_{\theta}(z)\right) . \tag*{(3)}

Free energy is the same quantity as the negative evidence lower bound, F=−ELBO\mathcal{F}=-\mathrm{ELBO}. Its terms balance explaining the observation against departing from the prior. The connection between free-energy minimization and posterior inference follows from the following identity:

F(x;u,θ)=DKL(qu(z∣x)∥pθ(z∣x))−log⁡pθ(x).(4)\mathcal{F}(x; \mathbf{u}, \theta) = D_{\mathrm{KL}}\left(q_{\mathbf{u}}(z \mid x) \mathrel{\|} p_{\theta}(z \mid x)\right) - \log p_{\theta}(x) . \tag*{(4)}

This shows that, with xx and θ\theta fixed, reducing F\mathcal{F} reduces the KL divergence to the true posterior because the evidence is independent of u\mathbf{u} (section A.3). An amortized encoder can predict u=fϕ(x)\mathbf{u}=f_{\phi}(x), as in VAEs ([46]), or inference can optimize it separately for each input:

u∗(x)=argmin⁡u F(x;u,θ).(5)\mathbf{u}^{*}(x) = \underset{\mathbf{u}}{\operatorname{argmin}}\ \mathcal{F}(x; \mathbf{u}, \theta) . \tag*{(5)}

Holding xx and θ\theta fixed, write the objective as F(u)\mathcal{F}(\mathbf{u}). Starting from some initialization u0\mathbf{u}_0, gradient descent with step size η>0\eta>0 gives:

ut+1=ut−η∇uF(ut).(6)\mathbf{u}_{t+1} = \mathbf{u}_t - \eta\nabla_{\mathbf{u}}\mathcal{F}(\mathbf{u}_t) . \tag*{(6)}

This update measures movement using Euclidean distance in parameter space (section A.4). However, equal-sized parameter changes can produce different changes in beliefs quq_{\mathbf{u}}, and reparameterizing the same distributions can change the descent trajectory. Measuring movement between distributions instead leads to the geometry of their statistical manifold ([6]).

From gradient descent to natural gradients. Swapping the Euclidean geometry of gradient descent with the Fisher metric gives the natural-gradient update:

ut+1=ut−ηGu−1(ut)∇uF(ut).(7)\mathbf{u}_{t+1} = \mathbf{u}_t - \eta G_{\mathbf{u}}^{-1}(\mathbf{u}_t)\nabla_{\mathbf{u}}\mathcal{F}(\mathbf{u}_t) . \tag*{(7)}

where GuG_{\mathbf{u}} is the Fisher information matrix of the variational family:

Gu(u)=Ez∼qu(⋅∣x)[(∇ulog⁡qu(z∣x))(∇ulog⁡qu(z∣x))T].(8)G_{\mathbf{u}}(\mathbf{u}) = \mathbb{E}_{z \sim q_{\mathbf{u}}(\cdot\mid x)}\left[\left(\nabla_{\mathbf{u}}\log q_{\mathbf{u}}(z \mid x)\right)\left(\nabla_{\mathbf{u}}\log q_{\mathbf{u}}(z \mid x)\right)^{\mathsf{T}}\right] . \tag*{(8)}

The Fisher matrix measures local statistical distinguishability, so the update accounts for how parameter changes affect the represented distribution ([4, 6, 5]). Natural gradients have a long history in variational inference, underpinning stochastic variational inference ([37]), the Bayesian learning rule ([44]), and Bayesian Online Natural Gradient ([40]). Closed-form natural gradients need not be available, and computing the Fisher and applying its inverse can be expensive, motivating approximations ([56, 55]). Natural Reweighted Wake–Sleep uses natural gradients for generative and recognition networks ([75]), and recent work preconditions TopK SAE decoder updates using a damped empirical code Gram matrix ([64]). Both approaches retain learned encoders, whereas BeFOND directly optimizes variational posterior parameters for each input through recurrent inference.

Building on this geometric perspective, Vafaii et al. [74] introduced FOND by prescribing natural-gradient flow on F\mathcal{F} with respect to u\mathbf{u}. A forward Euler discretization yields eq. (7).

In the appendix, we motivate natural gradients using the standard trust region argument (section A.4; [55, 22, 59]), as well as a broader “physics of adaptation” perspective (section A.5), inspired by the principle of general covariance ([28]).

FOND unifies inference and learning as natural gradient flow

FOND (Vafaii et al. [74]) formulated inference as natural gradient descent on variational free energy (eq. (7)). But it stopped short of prescribing learning dynamics through the same principle. The geometric argument applies equally to learning: just as uu changes the approximate posterior quq_u, the generative parameters θ\theta change the joint distribution pθ(x,z)p_\theta(x,z). This motivates extending FOND by defining learning as natural-gradient flow on the same free energy with respect to θ\theta.

Thus, inference and learning are both treated as dynamical processes within a unified framework:

FOND: Free-energy Online Natural-gradient Dynamics

Flexible choices: Choose a generative model pθ(x,z)p_\theta(x,z), an inference model qu(z∣x)q_u(z \mid x), and calculate the variational free energy F(u,θ)F(u,\theta).

FOND’s prescription: Define inference and learning as natural gradient flows on FF:

Inference: u˙:=−Gu−1(u)∂F(u,θ)∂u\dot{u}:=-G_u^{-1}(u)\frac{\partial F(u,\theta)}{\partial u},  Learning: θ˙:=−Gθ−1(θ)∂F(u,θ)∂θ\dot{\theta}:=-G_\theta^{-1}(\theta)\frac{\partial F(u,\theta)}{\partial\theta}.

Be FOND: a Bernoulli-distributed iterative sparse coding model

We instantiate our extended FOND by following its three steps: choose the distributions, compute the free energy, and derive the dynamics.

Distribution specifications. A generative model requires a prior and a conditional likelihood (2). We choose a factorized Bernoulli prior and a linear Gaussian decoder, together with a factorized Bernoulli variational posterior:

Likelihood pθ(x∣z)p_\theta(x \mid z)Prior pθ(z)p_\theta(z)Posterior qu(z∣x)q_u(z \mid x)
N(x;Φz,Σ)\mathcal{N}(x;\Phi z,\Sigma) (9)∏i=1KBernoulli⁡(zi;π0,i)\prod_{i=1}^{K}\operatorname{Bernoulli}(z_i;\pi_{0,i}) (10)∏i=1KBernoulli⁡(zi;ri)\prod_{i=1}^{K}\operatorname{Bernoulli}(z_i;r_i) (11)
Σ\Sigma diagonal and positiveπ0=σ(u0)\pi_0=\sigma(u_0)r=σ(u)r=\sigma(u)

Here z∈{0,1}Kz \in\{0,1\}^{K}, and σ(⋅)\sigma(\cdot) is the logistic sigmoid. The generative parameters are θ≡(Φ,Σ,u0)\theta\equiv(\Phi,\Sigma,u_0), and the variational parameters uu are the posterior logits.

Free energy. Define e:=x−Φre := x-\Phi r as the mean reconstruction residual, W:=ΦTΣ−1ΦW := \Phi^{\mathsf{T}}\Sigma^{-1}\Phi as the precision-weighted Gram matrix, and C:=diag⁡[r⊙(1−r)]C := \operatorname{diag}[r\odot(1-r)] as the posterior covariance. We weight the prior KL by β>0\beta>0, with β=1\beta=1 recovering the usual variational free energy. Because of the linear Gaussian assumption (9), the log-likelihood expectation can be evaluated exactly (section B.1):

F(x;u,θ)=12eTΣ−1e+12Tr⁡(WC)+12log⁡det⁡Σ+β∑i=1K[rilog⁡riπ0,i+(1−ri)log⁡1−ri1−π0,i].(9)F(x;u,\theta)=\frac{1}{2}e^{\mathsf{T}}\Sigma^{-1}e+\frac{1}{2}\operatorname{Tr}(WC)+\frac{1}{2}\log\det\Sigma+\beta\sum_{i=1}^{K}\left[r_i\log\frac{r_i}{\pi_{0,i}}+(1-r_i)\log\frac{1-r_i}{1-\pi_{0,i}}\right]. \tag*{(9)}

References

  1. [1]M. Aharon, M. Elad, and A. Bruckstein. rmK-SVD: An Algorithm for Designing Overcomplete Dictionaries for Sparse Representation. IEEE Transactions on Signal Processing, 54(11):4311–4322, 2006. doi: 10.1109/tsp.2006.881199. URL https://doi.org/10.1109/tsp.2006.881199.
  2. [2]Awad H. Al-Mohy and Nicholas J. Higham. Computing the Action of the Matrix Exponential, with an Application to Exponential Integrators. SIAM Journal on Scientific Computing, 33(2):488–511, 2011. doi: 10.1137/100788860. URL https://doi.org/10.1137/100788860.
  3. [3]Alexander Alemi, Ben Poole, Ian Fischer, Joshua Dillon, Rif A. Saurous, and Kevin Murphy. Fixing a Broken ELBO. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 159–168. PMLR, 10–15 Jul 2018. URL https://proceedings.mlr.press/v80/alemi118a.html.arxiv.org/abs/1711.00464
  4. [4]Shun-ichi Amari. Natural Gradient Works Efficiently in Learning. Neural Computation, 10(2): 251–276, 1998. doi: 10.1162/089976698300017746. URL https://doi.org/10.1162/089976698300017746.
  5. [5]Shun-ichi Amari. Information Geometry and Its Applications. Springer Japan, 2016. ISBN 9784431559771. doi: 10.1007/978-4-431-55978-8. URL https://doi.org/10.1007/978-4-431-55978-8.
  6. [6]Shun-ichi Amari and Hiroshi Nagaoka. Methods of Information Geometry, volume 191 of Translations of Mathematical Monographs. American Mathematical Society, 2000. ISBN 97808218105312. doi: 10.1090/mmono/191. URL https://doi.org/10.1090/mmono/191.
  7. [7]David Attwell and Simon B. Laughlin. An Energy Budget for Signaling in the Grey Matter of the Brain. Journal of Cerebral Blood Flow & Metabolism, 21(10):1133–1145, 2001. doi: 10.1097/00004647-200110000-00001. URL https://doi.org/10.1097/00004647-200110000-00001.
  8. [8]Andrea Auconi and Sosuke Ito. Information-Geometric Signatures of Nonconservative Driving, 2026. URL https://arxiv.org/abs/2605.03757.
  9. [9]Lukas Balles and Philipp Hennig. Dissecting Adam: The sign, magnitude and variance of stochastic gradients. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 404–413. PMLR, 2018. URL https://proceedings.mlr.press/v80/balles18a.html.
  10. [10]Vitória Barin-Pacela, Shruti Joshi, Isabela Camacho, Simon Lacoste-Julien, and David Klindt. Stop Probing, Start Coding: Why Linear Probes and Sparse Autoencoders Fail at Compositional Generalisation, 2026. URL https://arxiv.org/abs/2603.28744.
  11. [11]Amir Beck and Marc Teboulle. A Fast Iterative Shrinkage-Thresholding Algorithm for Linear Inverse Problems. SIAM Journal on Imaging Sciences, 2(1):183–202, 2009. doi: 10.1137/080716542. URL https://doi.org/10.1137/080716542.
  12. [12]P. G. Bissiri, C. C. Holmes, and S. G. Walker. A General Framework for Updating Belief Distributions. Journal of the Royal Statistical Society Series B: Statistical Methodology, 78(5):1103–1130, 2016. doi: 10.1111/rssb.12158. URL https://doi.org/10.1111/rssb.12158.
  13. [13]David M. Blei, Alp Kucukelbir, and Jon D. McAuliffe. Variational Inference: A Review for Statisticians. Journal of the American Statistical Association, 112(518):859–877, 2017. doi: 10.1080/01621459.2017.1285773. URL https://doi.org/10.1080/01621459.2017.1285773.
  14. [14]Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press, 2004. URL https://web.stanford.edu/~boyd/cvxbook/.
  15. [15]Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nicholas L Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Alex Tamkin, Karina Nguyen, Brayden McLean, Josiah E Burke, Tristan Hume, Shan Carter, Tom Henighan, and Chris Olah. Towards Monosemanticity: Decomposing Language Models With Dictionary Learning. Transformer Circuit Thread, 2023. URL https://transformer-circuits.pub/2023/monosemantic-features/.
  16. [16]Bart Bussmann, Patrick Leask, and Neel Nanda. BatchTopK Sparse Autoencoders, 2024. URL https://arxiv.org/abs/2412.06410.
  17. [17]Bart Bussmann, Noa Nabeshima, Adam Karyonen, and Neel Nanda. Learning Multi-Level Features with Matryoshka Sparse Autoencoders. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 6077–6101. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/bussmann25a.html.arxiv.org/abs/2503.17547
  18. [18]Augustin-Louis Cauchy. Méthode générale pour la résolution des systèmes d’équations simultanées. Comptes rendus hebdomadaires des séances de l’Académie des sciences, 1847. URL https://www.probabilityandfinance.com/pulskamp/Cauchy/Orbits/1847%20CR%20536(383).pdf.
  19. [19]David Chanin. Training Matching Pursuit SAEs on LLMs. LessWrong, December 2025. URL https://www.lesswrong.com/posts/rE43EfHigXcjImoNJ/training-matching-pursuit-saes-on-llms.
  20. [20]David Chanin and Adrià Garriga-Alonso. SynthSAEBench: Evaluating Sparse Autoencoders on Scalable Realistic Synthetic Data, 2026. URL https://arxiv.org/abs/2602.14687.
  21. [22]Andrew R. Conn, Nicholas I. M. Gould, and Philippe L. Toint. Trust Region Methods. Society for Industrial and Applied Mathematics, 2000. doi: 10.1137/1.9780898719857.DOI
  22. [23]Valérie Costa, Thomas Fel, Ekdeep S Lubana, Bahareh Tolooshams, and Demba Ba. From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuit. In Advances in Neural Information Processing Systems 38, pp. 38625–38668. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2025. doi: 10.52202/085713-1154. URL https://doi.org/10.52202/085713-1154.
  23. [24]S.M. Cox and P.C. Matthews. Exponential Time Differencing for Stiff Systems. Journal of Computational Physics, 176(2):430–455, 2002. doi: 10.1006/jcph.2002.6995. URL https://doi.org/10.1006/jcph.2002.6995.
  24. [25]Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. Sparse Autoencoders Find Highly Interpretable Features in Language Models. In International Conference on Learning Representations, volume 2024, pp. 7827–7845, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/1fa1ab11f4bd5f94b2ec20e794dbfa3b-Paper-Conference.pdf.arxiv.org/abs/2309.08600
  25. [26]I. Daubechies, M. Defrise, and C. De Mol. An iterative thresholding algorithm for linear inverse problems with a sparsity constraint. Communications on Pure and Applied Mathematics, 57 (11):1413–1457, 2004. doi: 10.1002/cpa.20042. URL https://doi.org/10.1002/cpa.20042.
  26. [27]James G. Dowty. Chentsov’s theorem for exponential families. Information Geometry, 1: 117–135, 2018. doi: 10.1007/s41884-018-0006-4. URL https://doi.org/10.1007/s41884-018-0006-4.
  27. [28]Albert Einstein. Die grundlage der allgemeinen relativitätstheorie. Annalen der Physik, 354(7): 769–822, 1916. doi: 10.1002/andp.19163540702.
  28. [29]Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. Toy models of superposition. Transformer Circuits Thread, 2022. URL https://transformer-circuits.pub/2022/toy_model/index.html.arxiv.org/abs/2209.10652
  29. [30]Michael Y.-S. Fang, Mayur Mudigonda, Ryan Zarcone, Amir Khosrowshahi, and Bruno A. Olshausen. Learning and Inference in Sparse Coding Models With Langevin Dynamics. Neural Computation, 34(8):1676–1700, 2022. doi: 10.1162/neco_a_01505. URL https://doi.org/10.1162/neco_a_01505.
  30. [31]Leo Gao, Tom Dupre la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations, volume 2025, pp. 26721–26754, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/42e33d8c230942d223c411adf182c88-paper_Conference.pdf.arxiv.org/abs/2406.04093
  31. [32]Gemma Team. Gemma 2: Improving Open Language Models at a Practical Size. arXiv preprint arXiv:2408.00118, 2024. URL https://arxiv.org/abs/2408.00118.
  32. [33]Karol Gregor and Yann LeCun. Learning fast approximations of sparse coding. In Proceedings of the 27th International Conference on Machine Learning, pp. 399–406, 2010. URL https://icml.cc/Conferences/2010/papers/449.pdf.
  33. [34]William W. Hager. Updating the Inverse of a Matrix. SIAM Review, 31(2):221–239, 1989. URL https://people.clas.ufl.edu/hager/files/update-1.pdf.DOI
  34. [35]Arthur Hobson. A new theorem of information theory. Journal of Statistical Physics, 1(3):383–391, 1969. doi: 10.1007/bf0106578. URL https://doi.org/10.1007/bf0106578.
  35. [36]Marlis Hochbruck and Alexander Ostermann. Exponential integrators. Acta Numerica, 19: 209–286, 2010. doi: 10.1017/S0962492910000048. URL https://doi.org/10.1017/S0962492910000048.
  36. [37]Matthew D. Hoffman, David M. Blei, Chong Wang, and John Paisley. Stochastic Variational Inference. Journal of Machine Learning Research, 14(40):1303–1347, 2013. URL http://jmlr.org/papers/v14/hoffman13a.html.arxiv.org/abs/1206.7051
  37. [38]Jing Huang, Zhengxuan Wu, Christopher Potts, Mor Geva, and Atticus Geiger. RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representations. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 8669–8687, Bangkok, Thailand, aug 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.470. URL https://aclanthology.org/2024.acl-long.470/.DOI
  38. [39]Adam Jermyn and Adly Templeton. Ghost Grads: An Improvement on Resampling. Transformer Circuits Thread, January 2024. URL https://transformer-circuits.pub/2024/jan-update/index.html#dict-learning-resampling. Circuits Updates, January 2024.
  39. [40]Matt Jones, Peter Chang, and Kevin Murphy. Bayesian Online Natural Gradient (BONG). In Advances in Neural Information Processing Systems 37, pp. 131104–131153. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2024. doi: 10.52202/079017-4167. URL https://doi.org/10.52202/079017-4167.
  40. [41]Michael I. Jordan, Zoubin Ghahramani, Tommi S. Jaakkola, and Lawrence K. Saul. An Introduction to Variational Methods for Graphical Models. Machine Learning, 37(2):183–233, 1999. doi: 10.1023/a:1007665907178. URL https://doi.org/10.1023/a:1007665907178.
  41. [42]Subhash Kantamneni, Joshua Engels, Senthooran Rajamanoharan, Max Tegmark, and Neel Nanda. Are Sparse Autoencoders Useful? A Case Study in Sparse Probing. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 29018–29049. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/kantamneni25a.html.arxiv.org/abs/2502.16681
  42. [43]Adam Karvonen, Can Rager, Johnny Lin, Curt Tigges, Joseph Isaac Bloom, David Chanin, Y eu-Tong Lau, Eoin Farrell, Callum Stuart Mcdougall, Kola Ayonrinde, Demian Till, Matthew Wearden, Arthur Conmy, Samuel Marks, and Neel Nanda. SAEBench: A Comprehensive Benchmark for Sparse Autoencoders in Language Model Interpretability. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 29223–29264. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/karvonen25a.html.arxiv.org/abs/2503.09532
  43. [44]Mohammad Emtivaz Khan and Håvard Rue. The Bayesian Learning Rule. Journal of Machine Learning Research, 24(281):1–46, 2023. URL http://jmlr.org/papers/v24/22-0291.html.
  44. [45]Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. In International Conference on Learning Representations, 2015. URL https://arxiv.org/abs/1412.6980.
  45. [46]Diederik P. Kingma and Max Welling. Auto-Encoding Variational Bayes. In International Conference on Learning Representations, 2014. URL https://arxiv.org/abs/1312.6114.
  46. [47]David Klindt, Charles O’Neill, Patrik Reizinger, Harald Maurer, and Nina Miolane. A unifying framework from neural superposition to sparse interpretable codes. Nature Machine Intelligence, 8(7):1025–1037, 2026. doi: 10.1038/s42256-026-01259-z. URL https://www.nature.com/articles/s42256-026-01259-z.DOI
  47. [48]L.D. Landau and E.M. Lifshitz. The Classical Theory of Fields, volume 2 of Course of Theoretical Physics. Pergamon Press, 4th edition, 1975. URL https://perso.crans.org/sylvainrey/Biblio%20Physique/Physique/%C3%89lectromagn%C3%A9tisme/%5BLandau%20Lifshitz%5D%20The%20Classical%20Theory%20of%20Fields.pdf.
  48. [49]Michael S. Lewicki and Terrence J. Sejnowski. Learning Overcomplete Representations. Neural Computation, 12(2):337–365, 2000. doi: 10.1162/089976600300015826. URL https://doi.org/10.1162/089976600300015826.
  49. [50]Tom Lieberum, Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Nicolas Sonnerat, Vikrant Varma, Janos Kramar, Anca Dragan, Rohin Shah, and Neel Nanda. Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2. In Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, pp. 278–300. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.blackboxnlp-1.19. URL https://doi.org/10.18653/v1/2024.blackboxnlp-1.19.
  50. [51]Haihao Lu, Robert M. Freund, and Yurii Nesterov. Relatively Smooth Convex Optimization by First-Order Methods, and Applications. SIAM Journal on Optimization, 28(1):333–354, 2018. doi: 10.1137/16m1099546. URL https://doi.org/10.1137/16m1099546.
  51. [52]Julien Mairal, Francis Bach, Jean Ponce, and Guillermo Sapiro. Online Learning for Matrix Factorization and Sparse Coding. Journal of Machine Learning Research, 11(2):19–60, 2010. URL http://jmlr.org/papers/v11/mairal10a.html.arxiv.org/abs/0908.0050
  52. [53]Alireza Makhzani and Brendan Frey. k-Sparse Autoencoders. In International Conference on Learning Representations, 2014. URL https://arxiv.org/abs/1312.5663.
  53. [54]S.G. Mallat and Zhifeng Zhang. Matching pursuits with time-frequency dictionaries. IEEE Transactions on Signal Processing, 41(12):3397–3415, 1993. doi: 10.1109/78.258082. URL https://doi.org/10.1109/78.258082.
  54. [55]James Martens. New Insights and Perspectives on the Natural Gradient Method. Journal of Machine Learning Research, 21(146):1–76, 2020. URL http://jmlr.org/papers/v21/17-678.html.
  55. [56]James Martens and Roger Grosse. Optimizing Neural Networks with Kronecker-factored Approximate Curvature. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 2408–2417, Lille, France, 07–09 Jul 2015. PMLR. URL https://proceedings.mlr.press/v37/martens15.html.arxiv.org/abs/1503.05671
  56. [58]Radford M. Neal and Geoffrey E. Hinton. A View of the EM Algorithm that Justifies Incremental, Sparse, and Other Variants. In Michael I. Jordan (ed.), Learning in Graphical Models, pp. 355–368. Springer Netherlands, 1998. ISBN 9789401061049. doi: 10.1007/978-94-011-5014-9_12. URL https://doi.org/10.1007/978-94-011-5014-9_12.
  57. [59]Yann Ollivier, Ludovic Arnold, Anne Auger, and Nikolaus Hansen. Information-geometric optimization algorithms: A unifying picture via invariance principles. Journal of Machine Learning Research, 18(18):1–65, 2017. URL https://jmlr.org/papers/v18/14-467.html.
  58. [60]Bruno A. Olshausen and David J. Field. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, 1996. doi: 10.1038/381607a0. URL https://doi.org/10.1038/381607a0.
  59. [61]Bruno A. Olshausen and David J. Field. Sparse coding with an overcomplete basis set: A strategy employed by V1? Vision Research, 37(23):3311–3325, 1997. doi: 10.1016/s0042-6989(97)00169-7. URL https://doi.org/10.1016/s0042-6989(97)00169-7.
  60. [62]Bruno A. Olshausen and David J Field. Sparse coding of sensory inputs. Current Opinion in Neurobiology, 14(4):481–487, 2004. doi: 10.1016/j.conb.2004.07.007. URL https://doi.org/10.1016/j.conb.2004.07.007.
  61. [63]Charles O’Neill, Alim Gumran, and David Klindt. Compute Optimal Inference and Provable Amortisation Gap in Sparse Autoencoders. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 46877–46896. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/o-neill25a.html.
  62. [64]Dario Picozzi. The information geometry of large language models is shared, learned, and controllable, 2026. URL https://arxiv.org/abs/2609.11063.
  63. [65]Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Tom Lieberum, Vikrant Varma, János Kramár, Rohin Shah, and Neel Nanda. Improving Sparse Decomposition of Language Model Activations with Gated Sparse Autoencoders. In Advances in Neural Information Processing Systems, volume 37, pp. 775–818. Curran Associates, Inc., 2024a. doi: 10.52202/079017-0024. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/01772a8b0420baec00c4d59fe2fbace6-Paper-Conference.pdf.DOI
  64. [66]Senthooran Rajamanoharan, Tom Lieberum, Nicolas Sonnerat, Arthur Conmy, Vikrant Varma, János Kramár, and Neel Nanda. Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoders, 2024b. URL https://arxiv.org/abs/2407.14435.
  65. [67]Vidhya Rangaraju, Marcel Lauterbach, and Erin M. Schuman. Spatially Stable Mitochondrial Compartments Fuel Local Translation during Plasticity. Cell, 176(1–2):73–84.e15, 2019. doi: 10.1016/j.cell.2018.12.013. URL https://doi.org/10.1016/j.cell.2018.12.013.
  66. [68]Christopher J. Rozell, Don H. Johnson, Richard G. Baraniuk, and Bruno A. Olshausen. Sparse Coding via Thresholding and Local Competition in Neural Circuits. Neural Computation, 20(10):2526–2563, 2008. doi: 10.1162/neco.2008.03-07-486. URL https://doi.org/10.1162/neco.2008.03-07-486.
  67. [69]Yousef Saad. Iterative Methods for Sparse Linear Systems. Society for Industrial and Applied Mathematics, 2 edition, 2003. URL https://www-users.cse.umn.edu/~saad/IterMethBook_2ndEd.pdf.DOI
  68. [70]Simo Särkkä and Lennart Svensson. Bayesian Filtering and Smoothing. Cambridge University Press, 2 edition, 2023. doi: 10.1017/9781108917407. URL https://doi.org/10.1017/9781108917407.
  69. [71]Wenjie Sun, Di Wang, and Lijie Hu. The Price of Amortized inference in Sparse Autoencoders. In International Conference on Learning Representations, volume 2026, pp. 72686–72710, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/76358e88c3ebd38ba58af9d0d84b71e4-Paper-Conference.pdf.
  70. [72]Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, Hoagy Cunningham, Nicholas L Turner, Callum McDougall, Monte MacDiarmid, Alex Tamkin, Esin Durmus, Tristan Hume, Francesco Mosconi, C. Daniel Freeman, Theodore R. Sumers, Edward Rees, Joshua Batson, Adam Jermyn, Shan Carter, Chris Olah, and Tom Henighan. Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet. Transformer Circuits Thread, 2024. URL https://transformer-circuits.pub/2024/scaling-monosemanticity/.
  71. [73]Lloyd N. Trefethen. Approximation Theory and Approximation Practice, Extended Edition. Society for Industrial and Applied Mathematics, 2019. URL https://people.maths.ox.ac.uk/trefethen/ATAP/.
  72. [74]Hadi Vafaii, Dekel Galor, and Jacob Yates. Brain-like Variational Inference. In Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 163700–163778. Curran Associates, Inc., 2025. doi: 10.52202/085713-5465. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/efa0939caa8a906fd0a61a9c60e46e8b-Paper-Conference.pdf.DOI
  73. [75]Csongor Várady, Riccardo Volpi, Luigi Malagò, and Nihat Ay. Natural Reweighted Wake–Sleep. Neural Networks, 155:574–591, 2022. doi: 10.1016/j.neunet.2022.09.006. URL https://doi.org/10.1016/j.neunet.2022.09.006.
  74. [76]Martin J. Wainwright and Michael I. Jordan. Graphical Models, Exponential Families, and Variational Inference. Foundations and Trends® in Machine Learning, 1(1-2):1–305, 2008. doi: 10.1561/2200000001. URL https://doi.org/10.1561/2200000001.
  75. [77]Zeyu Yun, Yubei Chen, Bruno Olshausen, and Yann LeCun. Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factors. In Proceedings of Deep Learning Inside Out (DeeLIO): The 2nd Workshop on Knowledge Extraction and Integration for Deep Learning, pp. 1–10, Online, juni 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.deelio-1.1. URL https://aclanthology.org/2021.deelio-1.1/.DOI
  76. [78]Arnold Zellner. Optimal Information Processing and Bayes’s Theorem. The American Statistician, 42(4):278–280, 1988. doi: 10.1080/00031305.1988.10475585. URL https://doi.org/10.1080/00031305.1988.10475585.
  77. [79]Arnold Zellner. Information processing and Bayesian analysis. Journal of Econometrics, 107(1-2):41–50, 2002. doi: 10.1016/S0304-4076(01)00112-9. URL https://doi.org/10.1016/S0304-4076(01)00112-9.

Paper details

vlnc:W_prcjcqs8
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents