Open-source LLMs auto-interpret 1.5 M GPT-2 autoencoder features for ~$1300
Open-source language models can automatically generate and score text explanations for sparse autoencoder features at a cost orders of magnitude lower than prior methods while achieving comparable quality to closed-source models.
AI/ML EleutherAI 30 Jul 2024 Tooling Prototype evidence
Published as “Open Source Automated Interpretability for Sparse Autoencoder Features”
Why it matters
The work makes large-scale interpretability of transformer features financially feasible, enabling broader research on model internals.
Summary
The team built an open-source pipeline that uses LLMs to generate natural-language explanations for sparse autoencoder (SAE) features and scores them with cheap detection and fuzzing metrics. They show that interpreting 1.5 M GPT-2 features costs about $1300 using Llama 3.1 (or $8500 with Claude 3.5) versus ~ $200k for earlier approaches. Explanations from open-source models are reasonably good, though slightly worse than those from closed models, and detection/fuzzing scores correlate with prior simulation scoring (Pearson 0.61). The code, a dashboard, and the evaluation data are released publicly.
What they found 4
- Open-source models generate and evaluate explanations reasonably well, though slightly worse than closed models.
“Open source models generate and evaluate text explanations of SAE features reasonably well, albeit somewhat worse than closed models like Claude 3.5 Sonnet.”
- Detection and fuzzing scores correlate with simulation scoring (Pearson 0.61).
“The average balanced accuracy of detection and fuzzing correlates with the simulation scoring proposed by Bills et al. (Pearson correlation of 0.61).”
- Providing extra context to the explainer does not significantly improve scores and can cause vague explanations.
“Providing more information to the explainer does not significantly improve scores for both GPT-2 (squares) and Llama-3 8b (diamonds) SAEs1. Instead, models tend to overthink and focus on extraneous information, leading to vague explanations.”
- Fuzzing fails to classify mislabeled examples, indicating precision limits.
“Fuzzing utterly fails to classify mislabeled examples.”
Caveats 8
- Explanations from open-source models are noted as "somewhat worse" than those from Claude 3.5 Sonnet.
- Chain-of-thought prompting caused models to overthink and produce vague explanations.
- Llama-3 8b explanations performed worse than larger models, possibly due to quantization or smaller expansion factor.
- Fuzzing was observed to miss many mislabeled examples, suggesting it may be too hard for current models.
- Open-source explanations are slightly lower quality than closed-source models.
- Chain-of-thought prompting can degrade explanation precision.
- Llama-3 8b underperforms larger models, possibly due to quantization.
- Fuzzing does not reliably detect mislabeled examples.
What’s new here 4
- Release of an open-source library (sae-auto-interp) for automated SAE feature explanation.
- Cost analysis demonstrating >150× cheaper interpretation than prior methods.
- Introduction of scalable detection and fuzzing metrics for scoring explanations.
- Public dashboard for exploring explanations and their scores.