paper-with-me

Papers

Improving Dictionary Learning with Gated Sparse Autoencoders

2024-04-24 · Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Tom Lieberum, Vikrant Varma, János Kramár, Rohin Shah, Neel Nanda

Recent work has found that sparse autoencoders (SAEs) are an effective technique for unsupervised discovery of interpretable features in language models' (LMs) activations, by finding sparse, linear reconstructions of LM activations. We introduce the Gated Sparse Autoencoder (Gated SAE), which achieves a Pareto improvement over training with prevailing methods. In SAEs, the L1 penalty used to encourage sparsity introduces many undesirable biases, such as shrinkage -- systematic underestimation of feature activations. The key insight of Gated SAEs is to separate the functionality of (a) determining which directions to use and (b) estimating the magnitudes of those directions: this enables us to apply the L1 penalty only to the former, limiting the scope of undesirable side effects. Through training SAEs on LMs of up to 7B parameters we find that, in typical hyper-parameter ranges, Gated SAEs solve shrinkage, are similarly interpretable, and require half as many firing features to achieve comparable reconstruction fidelity.

📄 PDF Abstract BibTeX arXiv:2404.16014

Code (2)

jkminder/dictionary_learning pytorch
saprmarks/dictionary_learning pytorch

Tasks

Dictionary Learning

Methods 이 논문이 사용한 방법론

Sparse Autoencoder A Sparse Autoencoder is a type of autoencoder that employs sparsity to achieve an information bottleneck. Specifically the loss function is constructed so that activations are…

Similar Papers 제목 키워드 기반

Stop Probing, Start Coding: Why Linear Probes and Sparse Autoencoders Fail at Compositional Generalisation

2026-03-30 · Vitória Barin Pacela, Shruti Joshi, Isabela Camacho, Simon Lacoste-Julien 외 arxiv

The linear representation hypothesis states that neural network activations encode high-level concepts as linear mixtures. However, under superposition, this encoding is a projection from a higher-dimensional concept spa…

Interpreting Large Text-to-Image Diffusion Models with Dictionary Learning

2025-05-30 · Stepan Shabalin, Ayush Panda, Dmitrii Kharlapenko, Abdur Raheem Ali 외

Sparse autoencoders are a promising new approach for decomposing language model activations for interpretation and control. They have been applied successfully to vision transformer image encoders and to small-scale diff…

Dictionary LearningImage GenerationLanguage ModelingLanguage Modelling

Sparse Coding with Multi-Layer Decoders using Variance Regularization

2021-12-16 · Katrina Evtimova, Yann Lecun

Sparse representations of images are useful in many computer vision applications. Sparse coding with an $l_1$ penalty and a learned linear dictionary requires regularization of the dictionary to prevent a collapse in the…

DecoderDenoising

Sign-Aware Gated Sparse Autoencoders: Modeling Anticorrelated Features with Bi-Jump-ReLU Activations

2026-05-27 · Bartosz Wieciech, Zmnako Awrahman, Marcin Czelej, Victor Hugo Jaramillo Velasquez 외 arxiv

Sparse Autoencoders (SAEs) extract interpretable features from Large Language Model activations, but standard variants enforce non-negative latents, so a bidirectional semantic axis (e.g., "pressure too high" vs. "pressu…

Deep Residual Autoencoders for Expectation Maximization-inspired Dictionary Learning

2019-04-18 · Bahareh Tolooshams, Sourav Dey, Demba Ba

We introduce a neural-network architecture, termed the constrained recurrent sparse autoencoder (CRsAE), that solves convolutional dictionary learning problems, thus establishing a link between dictionary learning and ne…

DenoisingDictionary LearningImage Denoising