Persistent Sparse Autoencoders: Learning Feature Timescales in Language Models

Haoyan Luo, Mateo Espinosa Zarlenga, Mateja Jamnik
7/19/2026
cs.LGcs.CL

No official code found. Best implementation: Andrei-Stefan20/SLIDERS (0 stars, MIT, PyTorch, last commit 2026-07-14).

Abstract

Sparse autoencoders (SAEs) decompose language model activations into sparse features, but standard SAEs encode each token independently and do not expose information that persists across a sequence. We introduce Persistent Sparse Autoencoders (Persistent SAEs), which extend standard SAEs by learning a persistence coefficient for each feature, allowing the model to learn which features should persist and for how long. Our experiments show that they retain competitive reconstruction quality while learning a spectrum of feature timescales: fast features behave as locally interpretable detectors, whereas slow features concentrate topic-level information in a persistent state. Moreover, as shown in a prompt-injection monitoring case study, slow features preserve detection signals and remain causally effective over long contexts. These results suggest that Persistent SAEs open up new opportunities for interpreting and monitoring language models through persistent semantic representations.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Built with DINOv2, sparse autoencoders, FAISS and automatic feature naming with a local vision-language model.

00Apr 26, 20263 months agoMIT
computer-visiondinov2explainable-aifaissfeature-steering+7 more

Similar Papers

Cite this paper

@article{luo2026persistent,
  title  = {Persistent Sparse Autoencoders: Learning Feature Timescales in Language Models},
  author = {Haoyan Luo and Mateo Espinosa Zarlenga and Mateja Jamnik},
  year   = {2026},
  eprint = {2607.17117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.17117v1}
}

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

Discussion