sparse-autoencoder-training

Train and analyze Sparse Autoencoders to decompose neural network activations into interpretable features.

1|1|Updated May 25, 2026
One-click install
npx skills add https://github.com/aayushsoam/clawbot-agent --skill sparse-autoencoder-training-aayushsoam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sparse-autoencoder-training
Source: https://github.com/aayushsoam/clawbot-agent/tree/main/optional-skills/mlops/saelens
Command: npx skills add https://github.com/aayushsoam/clawbot-agent --skill sparse-autoencoder-training-aayushsoam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sae-lens>=6.0.0, transformer-lens>=2.0.0, torch>=2.0.0, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides guidance for training and analyzing Sparse Autoencoders (SAEs) using SAELens, offering solutions for discovering interpretable features, analyzing superposition, and studying monosemantic representations in language models.

Core Features & Use Cases

  • Interpretable Feature Discovery: Identifies and decodes meaningful features from complex model activations.
  • Superposition Analysis: Helps in understanding and manipulating superposition effects in neural networks.
  • Monosemantic Representation Study: Analyzes monosemantic representations in language models for improved interpretability.
  • Use Case: Imagine you are analyzing a GPT-2 model's activations and want to extract the most meaningful features related to a specific token.

Quick Start

Run 'sparse-autoencoder-training' to decompose neural network activations and identify top-activating features.

Frequently Asked Questions about sparse-autoencoder-training

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I train a sparse autoencoder to decompose neural network activations?

To train a sparse autoencoder for decomposing neural network activations, use SAELens to identify interpretable features and analyze superposition in language models. This process requires setting up SAE-lens, transformer-lens, and torch to extract and decode meaningful representations from complex model activations.

What is sparse autoencoder feature discovery in language models?

Sparse autoencoder feature discovery is the process of decomposing neural network activations into interpretable features. By training SAEs with SAELens, you can identify and decode meaningful monosemantic representations from complex language model activations to understand what specific concepts a model processes.

Do I need transformer-lens and torch to analyze superposition with SAELens?

Yes, you need transformer-lens and torch to analyze superposition with SAELens. The Skill requires SAE-lens, transformer-lens, and torch as dependencies to properly decompose neural network activations and study superposition effects in deep learning models.

Can I extract monosemantic representations from GPT-2 activations using SAEs?

Yes, you can extract monosemantic representations from GPT-2 activations using SAEs. The Skill provides instructions for analyzing monosemantic representations in language models, allowing you to extract the most meaningful features related to specific tokens from model activations.

What is the best way to identify top-activating features in a neural network?

The best way to identify top-activating features in a neural network is to run sparse autoencoder training to decompose activations. Using SAELens, you can isolate interpretable features and analyze which neurons activate most strongly for specific inputs.