paper-with-me

Papers

Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activations

2025-02-25 · Lucy Farnik, Tim Lawson, Conor Houghton, Laurence Aitchison

Sparse autoencoders (SAEs) have been successfully used to discover sparse and human-interpretable representations of the latent activations of LLMs. However, we would ultimately like to understand the computations performed by LLMs and not just their representations. The extent to which SAEs can help us understand computations is unclear because they are not designed to "sparsify" computations in any sense, only latent activations. To solve this, we propose Jacobian SAEs (JSAEs), which yield not only sparsity in the input and output activations of a given model component but also sparsity in the computation (formally, the Jacobian) connecting them. With a na\"ive implementation, the Jacobians in LLMs would be computationally intractable due to their size. One key technical contribution is thus finding an efficient way of computing Jacobians in this setup. We find that JSAEs extract a relatively large degree of computational sparsity while preserving downstream LLM performance approximately as well as traditional SAEs. We also show that Jacobians are a reasonable proxy for computational sparsity because MLPs are approximately linear when rewritten in the JSAE basis. Lastly, we show that JSAEs achieve a greater degree of computational sparsity on pre-trained LLMs than on the equivalent randomized LLM. This shows that the sparsity of the computational graph appears to be a property that LLMs learn through training, and suggests that JSAEs might be more suitable for understanding learned transformer computations than standard SAEs.

📄 PDF Abstract BibTeX arXiv:2502.18147

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Privacy-Preserving Near Neighbor Search via Sparse Coding with Ambiguation

2021-02-08 · Behrooz Razeghi, Sohrab Ferdowsi, Dimche Kostadinov, Flavio. P. Calmon 외

In this paper, we propose a framework for privacy-preserving approximate near neighbor search via stochastic sparsifying encoding. The core of the framework relies on sparse coding with ambiguation (SCA) mechanism that i…

FairnessPrivacy Preserving

Analyzing noise in autoencoders and deep networks

2014-06-06 · Ben Poole, Jascha Sohl-Dickstein, Surya Ganguli

Autoencoders have emerged as a useful framework for unsupervised learning of internal representations, and a wide variety of apparently conceptually disparate regularization techniques have been proposed to generate usef…

Denoising

FreezeNet: Full Performance by Reduced Storage Costs

2020-11-28 · Paul Wimmer, Jens Mehnert, Alexandru Condurache

Pruning generates sparse networks by setting parameters to zero. In this work we improve one-shot pruning methods, applied before training, without adding any additional storage costs while preserving the sparse gradient…

SoftSAE: Dynamic Top-K Selection for Adaptive Sparse Autoencoders

2026-05-07 · Jakub Stępień, Marcin Mazur, Jacek Tabor, Przemysław Spurek arxiv

Sparse Autoencoders (SAEs) have become an important tool in mechanistic interpretability, helping to analyze internal representations in both Large Language Models (LLMs) and Vision Transformers (ViTs). By decomposing po…

Learning Filter Bank Sparsifying Transforms

2018-03-06 · Luke Pfister, Yoram Bresler

Data is said to follow the transform (or analysis) sparsity model if it becomes sparse when acted on by a linear operator called a sparsifying transform. Several algorithms have been designed to learn such a transform di…

DenoisingImage Denoising