LGAIMay 17, 2024

Identifying Functionally Important Features with End-to-End Sparse Dictionary Learning

arXiv:2405.12241v259 citationsh-index: 8Has CodeNIPS
Originality Incremental advance
AI Analysis

This addresses the challenge of mechanistic interpretability in AI, providing a more accurate method for explaining network behavior, though it is incremental as it builds on existing sparse autoencoder techniques.

The paper tackles the problem of identifying functionally important features in neural networks by proposing end-to-end sparse dictionary learning, which ensures features are functionally relevant by minimizing output distribution divergence, resulting in improved network performance explanation with fewer features and no interpretability cost.

Identifying the features learned by neural networks is a core challenge in mechanistic interpretability. Sparse autoencoders (SAEs), which learn a sparse, overcomplete dictionary that reconstructs a network's internal activations, have been used to identify these features. However, SAEs may learn more about the structure of the datatset than the computational structure of the network. There is therefore only indirect reason to believe that the directions found in these dictionaries are functionally important to the network. We propose end-to-end (e2e) sparse dictionary learning, a method for training SAEs that ensures the features learned are functionally important by minimizing the KL divergence between the output distributions of the original model and the model with SAE activations inserted. Compared to standard SAEs, e2e SAEs offer a Pareto improvement: They explain more network performance, require fewer total features, and require fewer simultaneously active features per datapoint, all with no cost to interpretability. We explore geometric and qualitative differences between e2e SAE features and standard SAE features. E2e dictionary learning brings us closer to methods that can explain network behavior concisely and accurately. We release our library for training e2e SAEs and reproducing our analysis at https://github.com/ApolloResearch/e2e_sae

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes