← Lab /AI/ML

Natural-language interpretations can’t rewrite LLM layers, identifying <50% active latents

Current natural-language interpretations of sparse autoencoder latents are insufficient to accurately simulate activations and therefore cannot be used to rewrite an LLM layer without severe performance loss.

AI/ML EleutherAI 10 Nov 2024 Measurement Prototype evidence

Published as “Partially rewriting an LLM in natural language”

Why it matters

Current natural-language interpretation techniques are not yet reliable enough to replace SAE encoders for LLM rewriting.

Summary

The authors evaluated how well natural-language interpretations of sparse autoencoder (SAE) latents can replace the SAE encoder in LLMs. They measured sensitivity, specificity, and the ability to predict activation values on Gemma 2 9b and Llama 3.1 models. Results show that less than 50% of active latents are correctly identified and that >99.9% specificity is required to avoid overwhelming reconstructions, while activation value predictions correlate only weakly (0.1-0.2). The evidence comes from cross-entropy and KL-divergence analyses on 100 token sequences and >1,000 prompts, showing substantial performance degradation when the SAE is replaced.

What they found 2

  1. Interpretations identify less than 50% of active latents in arbitrary contexts.

    “Our interpretations of SAE latents can identify less than 50% of active latents in arbitrary contexts.”

  2. Specificity of 90% for non-active latents is insufficient; >99.9% is needed for coherent text.

    “Although interpretations correctly identify 90% of non-active latents, a value closer to 99.9% is needed to generate "coherent" text if one requires that the model label all possible latents.”

Caveats 6

  • Using the most active latents recovers performance much faster than random sampling.
  • Providing the model with fuzzing or detection scores improves sensitivity more than scaling up model size.
  • Evaluation is limited to a single layer (layer 11) of Gemma 2 9b.
  • Only the easier task of identifying active latents (not their values) is fully measured.
  • Loss curves for Gemma 2 9b are not available, so absolute performance impact is approximated.
  • The study does not test end-to-end rewriting of an entire model.

What’s new here 4

  • Quantifies error introduced by simulating SAE encoders with natural language prompts.
  • Shows that identifying <50% of active latents still yields some coherent text, but full layer rewriting fails.
  • Provides correlation metrics (0.16-0.21) for activation value prediction from interpretations.
  • Releases code and scripts to reproduce the experiments.