Table of Contents
Fetching ...

Evaluating Sparse Autoencoders on Targeted Concept Erasure Tasks

Adam Karvonen, Can Rager, Samuel Marks, Neel Nanda

TL;DR

The paper tackles the lack of ground-truth metrics for evaluating Sparse Autoencoders (SAEs) by introducing Scr-based Spurious Correlation Removal (SHIFT) and its multiclass generalization Targeted Probe Perturbation (TPP). It formalizes SAE latent selection via causal attribution and optional LLM interpretability, and provides an automated, efficient evaluation pipeline that can differentiate SAE architectures and training progress. The authors train and release open-source SAEs and demonstrate their metrics across multiple language models and datasets, showing that TopK and JumpReLU architectures yield clearer concept disentanglement than Standard SAEs. While SHIFT and TPP offer fast, scalable evaluation, they depend on human concepts and hyperparameters, underscoring the need to use them as part of a broader SAE evaluation suite with sanity checks.

Abstract

Sparse Autoencoders (SAEs) are an interpretability technique aimed at decomposing neural network activations into interpretable units. However, a major bottleneck for SAE development has been the lack of high-quality performance metrics, with prior work largely relying on unsupervised proxies. In this work, we introduce a family of evaluations based on SHIFT, a downstream task from Marks et al. (Sparse Feature Circuits, 2024) in which spurious cues are removed from a classifier by ablating SAE features judged to be task-irrelevant by a human annotator. We adapt SHIFT into an automated metric of SAE quality; this involves replacing the human annotator with an LLM. Additionally, we introduce the Targeted Probe Perturbation (TPP) metric that quantifies an SAE's ability to disentangle similar concepts, effectively scaling SHIFT to a wider range of datasets. We apply both SHIFT and TPP to multiple open-source models, demonstrating that these metrics effectively differentiate between various SAE training hyperparameters and architectures.

Evaluating Sparse Autoencoders on Targeted Concept Erasure Tasks

TL;DR

The paper tackles the lack of ground-truth metrics for evaluating Sparse Autoencoders (SAEs) by introducing Scr-based Spurious Correlation Removal (SHIFT) and its multiclass generalization Targeted Probe Perturbation (TPP). It formalizes SAE latent selection via causal attribution and optional LLM interpretability, and provides an automated, efficient evaluation pipeline that can differentiate SAE architectures and training progress. The authors train and release open-source SAEs and demonstrate their metrics across multiple language models and datasets, showing that TopK and JumpReLU architectures yield clearer concept disentanglement than Standard SAEs. While SHIFT and TPP offer fast, scalable evaluation, they depend on human concepts and hyperparameters, underscoring the need to use them as part of a broader SAE evaluation suite with sanity checks.

Abstract

Sparse Autoencoders (SAEs) are an interpretability technique aimed at decomposing neural network activations into interpretable units. However, a major bottleneck for SAE development has been the lack of high-quality performance metrics, with prior work largely relying on unsupervised proxies. In this work, we introduce a family of evaluations based on SHIFT, a downstream task from Marks et al. (Sparse Feature Circuits, 2024) in which spurious cues are removed from a classifier by ablating SAE features judged to be task-irrelevant by a human annotator. We adapt SHIFT into an automated metric of SAE quality; this involves replacing the human annotator with an LLM. Additionally, we introduce the Targeted Probe Perturbation (TPP) metric that quantifies an SAE's ability to disentangle similar concepts, effectively scaling SHIFT to a wider range of datasets. We apply both SHIFT and TPP to multiple open-source models, demonstrating that these metrics effectively differentiate between various SAE training hyperparameters and architectures.

Paper Structure

This paper contains 19 sections, 3 equations, 8 figures, 4 tables.

Figures (8)

  • Figure 1: The left scatterplot of loss recovered vs L0, with color corresponding to coverage score, and each point representing a single SAE. We differentiate between SAE training methods with shapes (left) and colors (right).
  • Figure 2: Targeted Probe Perturbation (TPP) scores over sparsity for SAEs of Standard, JumpReLU, and TopK architectures (left). TPP scores as a function of training progress, measured for checkpoints at 0%, 1%, 10%, 31%, and 100% of SAE training over 6 TopK and 6 Standard SAEs (right). Each datapoint (left) and line (right) corresponds to a single SAE, architectures are differentiated by color.
  • Figure 3: SCR scores without auto-interp as a function of training progress, measured for checkpoints at 0%, 1%, 10%, 31%, and 100% of SAE training over 6 TopK and 6 Standard SAEs (right). Each datapoint (left) and line (right) corresponds to a single SAE, architectures are differentiated by color.
  • Figure 4: Targeted Probe Perturbation (TPP) scores without auto-interp over sparsity for SAEs of Standard, JumpReLU, and TopK architectures (left). TPP scores as a function of training progress, measured for checkpoints at 0%, 1%, 10%, 31%, and 100% of SAE training over 6 TopK and 6 Standard SAEs (right). Each datapoint (left) and line (right) corresponds to a single SAE, architectures are differentiated by color.
  • Figure 5: Results for Pythia-70M. The left column contains a scatterplot of loss recovered vs L0, with color corresponding to coverage score, and each point representing different hyperparameters. We differentiate between SAE training methods with shapes.
  • ...and 3 more figures