Activation Oracles: Training and Evaluating LLMs as General-Purpose Activation Explainers
About
Large language model (LLM) activations are notoriously difficult to understand, with most existing techniques using complex, specialized methods for interpreting them. Recent work has proposed a simpler approach known as LatentQA: training LLMs to directly accept LLM activations as inputs and answer arbitrary questions about them in natural language. However, prior work has focused on narrow task settings for both training and evaluation. In this paper, we instead take a generalist perspective. We evaluate LatentQA-trained models, which we call Activation Oracles (AOs), in far out-of-distribution settings and examine how performance scales with training data diversity. We find that AOs can recover information fine-tuned into a model (e.g., biographical knowledge or malign propensities) that does not appear in the input text, despite never being trained with activations from a fine-tuned model. Our main evaluations are four downstream tasks where we can compare to prior white- and black-box techniques. We find that even narrowly-trained LatentQA models can generalize well, and that adding additional training datasets (such as classification tasks and a self-supervised context prediction task) yields consistent further improvements. Our best AOs match or exceed white-box baselines on all four tasks and the best overall baseline on 3 of 4. These results suggest that diversified training to answer natural-language queries imparts a general capability to verbalize information about LLM activations.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Classification | Classification task dataset | Tok-F131.1 | 13 | |
| Classification | Generative QA Protocol Classification | ROUGE-L0.288 | 13 | |
| Fact Retrieval | Generative QA Protocol Fact Retrieval | ROUGE-L26.3 | 13 | |
| Fact Retrieval | Fact Retrieval | Tok-F126.2 | 13 | |
| Gist Summarization | Generative QA Protocol Gist Summarization | ROUGE-L0.271 | 13 | |
| Overall Generation Quality | Generative QA Protocol Overall | ROUGE-L27.3 | 13 | |
| Gist Summarization | Gist Summarization | Tok-F129.3 | 13 |