Tooluck logoTooluck
SKILL.md

sparse-autoencoder-training

Agent skill fromOrchestra-Research/AI-Research-SKILLs

Provides guidance for training and analyzing Sparse Autoencoders (SAEs) using SAELens to decompose neural network activations into interpretable features. Use when discovering interpretable features, analyzing superposition, or studying monosemantic representations in language models.

How to install sparse-autoencoder-training

install sparse-autoencoder-training
# install the AI-Research-SKILLs pack with the skills CLI
npx skills add Orchestra-Research/AI-Research-SKILLs

# or add only this skill to Claude Code: copy the folder

04-mechanistic-interpretability/saelens/

# into

~/.claude/skills/saelens/ (all projects)

.claude/skills/saelens/ (one project)

04-mechanistic-interpretability/saelens/SKILL.md

MITFull file
1# SAELens: Sparse Autoencoders for Mechanistic Interpretability
2
3SAELens 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.
4
5**GitHub**: [jbloomAus/SAELens](https://github.com/jbloomAus/SAELens) (1,100+ stars)
6
7## The Problem: Polysemanticity & Superposition
8
9Individual 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.
10
11**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.
12
13## When to Use SAELens
14
15**Use SAELens when you need to:**
16- Discover interpretable features in model activations
17- Understand what concepts a model has learned
18- Study superposition and feature geometry
19- Perform feature-based steering or ablation
20- Analyze safety-relevant features (deception, bias, harmful content)
21
22**Consider alternatives when:**
23- You need basic activation analysis → Use **TransformerLens** directly
24- You want causal intervention experiments → Use **pyvene** or **TransformerLens**
25…

Excerpt shown under the repository's MIT license.

More skills in AI-Research-SKILLs

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates