Weight-sparse transformers have interpretable circuits

Leo Gao, Achyuta Rajaram, Jacob Coxon, Soham V. Govande, Bowen Baker +1 more
11/17/2025
cs.LGcs.AI

No official code found. Best implementation: sunmoonron/gpt-viz (0 stars, last commit 2025-12-05).

Abstract

Finding human-understandable circuits in language models is a central goal of the field of mechanistic interpretability. We train models to have more understandable circuits by constraining most of their weights to be zeros, so that each neuron only has a few connections. To recover fine-grained circuits underlying each of several hand-crafted tasks, we prune the models to isolate the part responsible for the task. These circuits often contain neurons and residual channels that correspond to natural concepts, with a small number of straightforwardly interpretable connections between them. We study how these models scale and find that making weights sparser trades off capability for interpretability, and scaling model size improves the capability-interpretability frontier. However, scaling sparse models beyond tens of millions of nonzero parameters while preserving interpretability remains a challenge. In addition to training weight-sparse models de novo, we show preliminary results suggesting our method can also be adapted to explain existing dense models. Our work produces circuits that achieve an unprecedented level of human understandability and validates them with considerable rigor.

View on arXivView PDF

Code Implementations(1)

sunmoonron/gpt-vizCommunity63%

A practical look at adversarial "distractors" attack described in Weight-sparse transformers have interpretable circuits (https://arxiv.org/abs/2511.13653)

00PythonNov 19, 202510 months ago

Similar Papers

Cite this paper

@article{gao2025weightsparse,
  title  = {Weight-sparse transformers have interpretable circuits},
  author = {Leo Gao and Achyuta Rajaram and Jacob Coxon and Soham V. Govande and Bowen Baker and Dan Mossing},
  year   = {2025},
  eprint = {2511.13653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.13653v1}
}

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

Discussion