SkillsReviewed · Orchestra-Research

Sparse Autoencoder Training: SAELens Skill

Sparse Autoencoder Training is an assistant skill for developers and researchers investigating language-model features, but its examples do not establish that those features reliably explain model behavior. It provides SAELens and TransformerLens recipes for loading pretrained sparse autoencoders, training new ones, inspecting activations and experimenting with feature steering and removal.

Researched 16 Nov 2026

In short.

Sparse Autoencoder Training is an assistant skill for developers and researchers studying language-model internals, but its worked examples supply no measured evidence of reliable explanations or steering. Its four Markdown files connect pretrained SAE analysis, custom training, feature comparison and interventions. The strongest value is the concrete research starting point; important limits include unverified software compatibility, unsupported universal metric targets and intervention examples that need stronger controls. No code was executed, and compute cost is unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied scope of 04-mechanistic-interpretability/saelens at revision 773a52944ba4747a18bd4ae9ade53fff041adcbc: SKILL.md, references/README.md, references/api.md and references/tutorials.md, with the repository-root LICENSE as the related notice. Excludes the rest of the repository, dependency implementations, model and SAE weights, datasets, linked papers, notebooks and external services. Runtime behavior, compatibility, costs, feature meanings, reconstruction quality and intervention outcomes were not tested.

The overview

Identity

The resource is the saelens skill folder in Orchestra-Research/AI-Research-SKILLs, rather than the SAELens library itself. Its SKILL.md declares the name sparse-autoencoder-training, version 1.0.0 and author Orchestra Research. Companion files provide an overview, API reference and five tutorials.

The original folder at the supplied revision is available at [https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/773a52944ba4747a18bd4ae9ade53fff041adcbc/04-mechanistic-interpretability/saelens]. The underlying library is linked at [https://github.com/jbloomAus/SAELens].

Assessment

The documentation provides a concrete route from collecting model activations to studying sparse features. Named model checkpoints, hook locations, dimensions and training settings make it more actionable than a conceptual introduction.

Its examples are starting points for research rather than demonstrated results. There are no execution logs, measured reconstruction scores or observed steering outcomes in the supplied files. Software compatibility, training success and scientific validity remain unverified.

Users

The skill suits coding-assistant users, machine-learning developers and interpretability researchers who want to investigate which learned features activate on text. Beginners receive a short explanation of sparse autoencoders, but the examples assume Python, tensors, model layers and training terminology.

Experienced researchers get configuration examples and intervention sketches. The folder supplies no ready-made feature labels, validated safety detector or evidence of production steering reliability.

Capabilities

The recipes cover loading pretrained SAEs, encoding and reconstructing activations, ranking active features per token, comparing features across prompts and training an SAE on language-model activations. Training guidance addresses sparsity, reconstruction, inactive features, memory pressure, logging and checkpoints.

The intervention examples project decoder directions toward output tokens, add feature directions during generation and remove encoded features. The API reference lists standard, gated, TopK and JumpReLU architectures. These are documented capabilities and examples; their operation and comparative performance were not assessed.

Using it

Requirements

The stated requirements are Python 3.10 or newer, sae-lens>=6.0.0, transformer-lens>=2.0.0 and torch>=2.0.0. These are minimum versions, not a locked environment or demonstrated compatibility matrix.

The worked examples use CUDA devices. Minimum GPU memory, CPU suitability, storage and runtime are unknown. Custom training also needs model weights and a dataset; the examples name monology/pile-uncopyrighted and enable Weights & Biases logging.

Mechanism

A sparse autoencoder learns to represent a model's dense activation vector using a larger collection of features, with relatively few active at once. An encoder produces feature activations and a decoder reconstructs the original vector. This creates candidate feature directions that researchers can inspect.

For the standard ReLU example, the training objective combines mean-squared reconstruction error with an L1 sparsity penalty. Feature count and penalty strength affect the tradeoff between compact activation patterns and reconstruction. Sparsity alone does not establish that each feature represents one meaningful concept.

Setup

The documented library installation command is pip install sae-lens. The folder supplies SKILL.md and relative reference files, but no assistant-specific installation or registration procedure.

The pretrained workflow pairs gpt2-small with release gpt2-small-res-jb at blocks.8.hook_resid_pre. Before using it, confirm that the installed loading API, SAE dimensions and target hook match. Custom training additionally requires dataset, batch-size, logging and checkpoint settings. None of these setup steps was executed.

Example

The first tutorial uses the sentence The capital of France is Paris. It collects GPT-2 Small's layer-8 residual-stream activations, encodes them with the matching SAE, ranks five features per token and calculates reconstruction mean-squared error.

The intended outputs are feature identifiers, activation strengths and a reconstruction score. The tutorial provides no observed values or established meanings for those identifiers. Its later comparison across Paris-related prompts generates candidate associations rather than proving a feature's meaning.

Assessment & evidence

Limitations

The documentation's interpretability percentage and suggested metric targets are not results for these examples. It provides no underlying evaluation data establishing that a particular feature is interpretable or that a training recipe will reach the stated targets.

From the ablation code, replacing activations with decoded, modified features changes both the feature and the reconstruction error relative to the original model. A reconstruction-only comparison is needed to separate those effects. Likewise, the displayed decoder-to-unembedding multiplication is a vocabulary projection; it does not account for subsequent transformer processing and normalization.

The steering examples modify different positions: the main skill adds a direction at all positions, while the tutorial modifies the final position. Their behavioral equivalence is not established. Compatibility of the generation-hook calls and configuration fields with an installed version also remains unverified.

Reasoning

The research approach connects feature discovery with measurements of sparsity, reconstruction and effects on predictions. These answer different questions: how many features activate, how much information reconstruction preserves and whether an intervention changes behavior.

A feature appearing across related prompts supports a hypothesis about its meaning. Stronger conclusions require contrasting prompts and controlled interventions. This distinction follows from the examples' measurements; no successful causal explanation is demonstrated.

Alternatives

The skill points to TransformerLens directly for basic activation analysis and to pyvene or TransformerLens for causal intervention experiments. For production steering it suggests direct activation engineering, without supplying an operational comparison.

Neuronpedia is offered for browsing pretrained features at [https://neuronpedia.org]. It may suit readers who want to inspect existing feature examples before training an SAE. Current availability, coverage and comparative quality of these alternatives were not assessed.

Evidence

The documentary basis consists of SKILL.md, references/README.md, references/api.md and references/tutorials.md, plus the repository LICENSE. These establish the instructions, examples and licensing statements described here.

The files link to official documentation, notebooks and research papers, but those external contents are not included. Their claims are not independently established by the supplied material. The reference README also lists papers.md, which is absent from the supplied folder manifest. No code, training, downloads or interventions were executed.

Access & freshness

Costs

Total cost is unknown. The files provide no compute prices, measured runtimes, memory requirements or service charges.

The training tutorial specifies 10 million tokens, while the main skill and API example specify 100 million. These are configured workloads, not completed runs or cost estimates. Examples enable Weights & Biases logging, but its applicable pricing is not established.

Rights

SKILL.md declares MIT licensing. The repository LICENSE grants use, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It names Copyright (c) 2025 Claude AI Research Skills Contributors and includes a warranty disclaimer.

That notice supports redistribution of the skill documentation with its required notices. It does not establish the terms for SAELens, other dependencies, model weights, datasets, papers or external services; their applicable rights are unknown from these files.

Freshness

The supplied files are pinned to repository revision 773a52944ba4747a18bd4ae9ade53fff041adcbc and were captured on 16 November 2026. That identifies the source snapshot, not the date its examples were last maintained.

The skill's declared version is 1.0.0. Its dependency minimum sae-lens>=6.0.0 does not identify an exact version used successfully with these examples. Compatibility with current library releases, pretrained release identifiers and external links is unknown.

Actions

Start with the pretrained loading tutorial before allocating a custom-training budget. Verify the installed APIs and model–SAE pairing, then record actual reconstruction error and active-feature counts instead of treating the suggested targets as guaranteed outcomes.

For interpretation, compare related prompts with unrelated controls. For ablation, compare original activations, reconstruction without feature removal and reconstruction with removal at matching positions. For steering, specify which positions receive the intervention and compare generated behavior against an unmodified baseline.

Before training, establish available memory, dataset terms, logging preferences and an actual compute budget. Preserve the MIT notices when copying or distributing the skill files.

Evidence for this report

LICENSEnotice · checked 2026-11-16