Evaluating Sparse Autoencoders on Targeted Concept Erasure Tasks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Karvonen, Adam, Rager, Can, Marks, Samuel, Nanda, Neel
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912136407547904
author Karvonen, Adam
Rager, Can
Marks, Samuel
Nanda, Neel
author_facet Karvonen, Adam
Rager, Can
Marks, Samuel
Nanda, Neel
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_18895
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Evaluating Sparse Autoencoders on Targeted Concept Erasure Tasks
Karvonen, Adam
Rager, Can
Marks, Samuel
Nanda, Neel
Machine Learning
Computation and Language
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.
title Evaluating Sparse Autoencoders on Targeted Concept Erasure Tasks
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2411.18895