Reproduce “Dense SAE Latents Are Features, Not Bugs” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiaoqing Sun, Alessandro Stolfo, Joshua Engels, Ben Wu, Senthooran Rajamanoharan, Mrinmaya Sachan, Max Tegmark

This research redefines dense latents in Sparse Autoencoders (SAEs) from perceived training artifacts to functional features, demonstrating they reflect intrinsic, frequently activating computations within large language models. The study reveals these latents perform diverse, interpretable roles, including tracking token position, binding contextual information, and regulating output entropy, and persist across different model architectures.

Key insights

  • Dense latents are not optimization artifacts but intrinsic properties of the LLM's residual stream, representing robust, densely represented information.
  • Dense latents often form 'antipodal pairs' with nearly opposite encoder and decoder vectors, suggesting they encode single 1-dimensional directions in the residual stream.
  • Dense latents serve diverse, interpretable functional roles within LLMs, evolving across layers from structural tracking to semantic binding and output regulation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.