What problem does it solve? Neural network neurons are polysemantic, activating for many unrelated concepts due to superposition, which makes model internals hard to interpret. This Skill guides training and analyzing Sparse Autoencoders (SAEs) with SAELens to decompose dense activations into sparse, monosemantic, interpretable features. ## Core Features & Use Cases - Pre-trained SAE Analysis: Load SAEs from releases like gpt2-small-res-jb, encode activations into sparse features, and inspect top-activating features per token. - Custom SAE Training: Configure and train Standard, Gated, TopK, or JumpReLU SAEs with v6 nested configs, L1 warm-up, and W&B logging, monitoring L0, CE loss recovery, and dead feature ratios. - Feature Steering & Attribution: Compute per-feature logit contributions, steer generation by adding decoder directions, and ablate features to test causal importance. - Use Case: A researcher wants to know which features in GPT-2 drive the prediction of " Paris". They load the layer-8 residual SAE, compute feature attributions via decoder weights and the unembedding matrix, then steer or ablate the top features to verify their causal role. ## Quick Start Ask the agent to load the gpt2-small-res-jb sparse autoencoder for layer 8 and show the top-activating features for each token in a sample prompt.