Skip to content
orchestra-research avatar

Sparse Autoencoder Training

Training and analyzing sparse autoencoders with SAELens to find interpretable features in language model activations.

CCM score
61 of 100
skills.sh installs
1.2K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the SAE workflow: loading pre-trained SAEs, training custom ones, and analyzing or steering individual features
  • Includes encode and decode examples, a training config with L1 sparsity and warm-up, and metrics such as L0, CE loss recovery, and dead features
  • Explains superposition and polysemanticity, with checkpoints to validate reconstruction quality and dead-feature ratio during training
  • Designed for mechanistic interpretability work on models such as GPT-2 Small and Gemma 2B via TransformerLens

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill sparse-autoencoder-training -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SAELens: Sparse Autoencoders for Mechanistic Interpretability

SAELens is the primary library for training and analyzing Sparse Autoencoders (SAEs) - a technique for decomposing polysemantic neural network activations into sparse, interpretable features. Based on Anthropic's groundbreaking research on monosemanticity.

GitHub: jbloomAus/SAELens (1,100+ stars)

The Problem: Polysemanticity & Superposition

Individual neurons in neural networks are polysemantic - they activate in multiple, semantically distinct contexts. This happens because models use superposition to represent more features than they have neurons, making interpretability difficult.

SAEs solve this by decomposing dense activations into sparse, monosemantic features - typically only a small number of features activate for any given input, and each feature corresponds to an interpretable concept.

When to Use SAELens

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
Data Science & Analytics, Research & Academic, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What does the sparse-autoencoder-training skill do?

The sparse-autoencoder-training skill guides an agent through training and analyzing Sparse Autoencoders with SAELens. It decomposes neural network activations into interpretable features, which helps with discovering features, analyzing superposition, and studying monosemantic representations in language models.

How do I install the sparse-autoencoder-training skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill sparse-autoencoder-training -y inside your project to install it. Once installed, sparse-autoencoder-training lets your agent load pre-trained SAEs, train custom SAEs and inspect individual features.

What does sparse-autoencoder-training need to run?

The sparse-autoencoder-training skill depends on sae-lens 6.0.0 or newer, transformer-lens 2.0.0 or newer and torch 2.0.0 or newer. It also expects Python 3.10 or later, which the SAELens library requires.

Who is sparse-autoencoder-training for?

The sparse-autoencoder-training skill suits researchers who study mechanistic interpretability and want to find monosemantic features in language model activations. It also fits people who want to analyze safety-relevant features such as deception, bias or harmful content.

More from orchestra-research/ai-research-skills

All 92

Similar to Sparse Autoencoder Training

More Data Science & Analytics