TL;DR
This paper introduces "Activation Oracles" (AOs), LLMs trained to answer natural language questions about the internal activations of other LLMs. AOs generalize surprisingly well to tasks far outside their training data, matching or exceeding state-of-the-art interpretability methods on several challenging auditing tasks. This offers a simpler, more accessible way to probe LLM internals compared to existing complex techniques.
What Problem Does This Paper Address?
Understanding the inner workings of Large Language Models (LLMs) is a major challenge. Their internal "activations" – billions of numerical values representing what the model is "thinking" – are notoriously difficult to interpret. Current methods for deciphering these activations are often highly specialized, requiring significant effort to adapt to new tasks or models. This makes it hard for researchers and practitioners to gain insights into why an LLM behaves a certain way, especially when dealing with unexpected or undesirable outputs. The paper aims to bridge this gap by developing a more general-purpose tool for interpreting LLM activations.
Methods
The core innovation is the "Activation Oracle" (AO), which is essentially an LLM trained using the LatentQA framework. Instead of just processing text, AOs are trained to accept LLM activations as an additional input modality, alongside natural language prompts.
Key methodological aspects include:
- LatentQA Training: AOs are trained to answer questions about activations in natural language.
- Diverse Training Data: The authors significantly expand the diversity of training data beyond prior work. This includes:
- System Prompt QA (SPQA): Questions about a model's system prompt.
- Classification Datasets: Adapting existing binary classification tasks into natural language yes/no questions about activations.
- Self-Supervised Context Prediction: A novel task where the AO predicts tokens before or after a sequence of activations, allowing for unlimited data generation.
- Activation Injection: Activations are injected into the AO's input by replacing or adding to placeholder tokens in the prompt. The paper details a "norm-matching" mechanism to handle varying activation magnitudes.
- Generalist Approach: Unlike prior work focusing on narrow tasks (like interpreting sparse autoencoder features), AOs are trained with a generalist vision to answer arbitrary questions about activations.
Datasets
- Training Datasets:
- SPQA Dataset: Adapted from Pan et al. (2024) for system prompt interpretation.
- Classification Datasets: Seven binary classification tasks (e.g., sentiment analysis, named entity recognition, gender classification) adapted into natural language questions.
- Self-Supervised Context Prediction Dataset: Constructed from HuggingFace FineWeb and LMSYS Chat-1M data.
- Evaluation Datasets: The paper evaluates AOs on several out-of-distribution (OOD) tasks, including:
- Secret-Keeping Benchmarks: Tasks designed to uncover hidden objectives or behaviors in fine-tuned models (Taboo, User Gender, Secret Side Constraint).
- Emergent Misalignment Audit: Evaluating models fine-tuned to exhibit specific misaligned behaviors (e.g., giving bad medical advice).
- PersonaQA: Extracting biographical facts fine-tuned into a model.
- Held-out Classification Datasets: Seven classification tasks not seen during training.
Key Insights and Ideas
- Generalization is Key: The most striking finding is that AOs, trained on relatively simple tasks, can generalize remarkably well to complex, out-of-distribution auditing tasks. This suggests that learning to verbalize activation information imparts a general capability.
- Diversity Trumps Narrowness: Expanding the diversity of training data (especially by including self-supervised context prediction) significantly improves AO performance, even when the total amount of data is kept constant. This highlights the importance of varied signals for robust generalization.
- Simplicity Wins: AOs offer a much simpler interface ("ask a question") compared to existing interpretability methods that often require complex pipelines, task-specific scaffolding, and extensive tuning.
- Activations Hold Hidden Knowledge: AOs can recover information that is fine-tuned into a model but not present in the input text, demonstrating that activations encode more than just the input.
- Brittleness of Fine-tuned Knowledge: The PersonaQA evaluation revealed that fine-tuned knowledge can be brittle, performing well on open-ended questions but dropping significantly on yes/no formats, suggesting challenges in robustly encoding this information in activations.
Key Results
- Outperforming Baselines: The best AOs match or exceed white-box baselines on all four downstream auditing tasks and match or exceed the best overall baseline (including black-box methods) on 3 out of 4 tasks.
- Secret-Keeping Performance: AOs significantly outperform prior interpretability baselines on secret-keeping benchmarks, achieving up to 21% accuracy improvement on the Taboo task compared to the best baseline.
- Misalignment Audit: AOs match model-diffing interpretability baselines on emergent misalignment audits, achieving an average score of 2/5.
- PersonaQA: AOs show improved performance as training data is scaled, reaching ~14% accuracy on open-source models with the full training dataset.
- Classification Generalization: AOs generalize to 7 held-out classification datasets, outperforming SPQA-only models.
- Training Data Impact: Scaling the training mixture (adding more diverse tasks) consistently improves performance across most evaluations.
Limitations and Future Work
- Reliability and Calibration: AOs frequently make incorrect guesses and are not trained to express uncertainty. Simple inference-time strategies (like logit differences) can provide confidence estimates, but this is an area for future work.
- Black-Box Nature: AOs provide answers but don't expose the underlying mechanistic primitives, sacrificing the ability to drill down into specific mechanisms or verify hypotheses through targeted interventions. They are complementary, not replacements, for mechanistic methods.
- Narrow Benchmarks: The current benchmarks use narrow fine-tunes. More realistic post-training pipelines and richer benchmarks are needed.
- Improving Training Data: Expanding dataset diversity, incorporating multi-turn interactions, and exploring self-supervised objectives that scale better are promising directions.
- Confidence Calibration: Developing better methods for expressing uncertainty and calibration is crucial.
- Broader Applicability: Investigating AOs' ability to detect more complex behavioral changes beyond simple fine-tuning is an open area.
Summary updated