TL;DR
This paper introduces CHIVE (Counterfactual Hypothesis Investigation Via Edits), an automated agentic pipeline that discovers and explains unexpected LLM behaviors in the wild using counterfactual prompt edits. The authors find that popular activation-based interpretability tools provide zero predictive uplift for explaining these natural behaviors, but training models on CHIVE's counterfactual data significantly improves their ability to predict their own behavior across out-of-distribution settings.
What Problem Does This Paper Address?
As language models are deployed in increasingly complex scenarios, understanding why they exhibit specific behaviors or errors is critical. While fields like mechanistic interpretability and chain-of-thought (CoT) analysis attempt to provide explanations, evaluating the quality of these explanations remains a major challenge because the true internal causes of a model's behavior are fundamentally unknown.
To tackle this, researchers use counterfactual simulatability: a good explanation should allow an observer to accurately predict how a model's behavior changes when the input prompt is modified. However, prior evaluations have relied on narrow, artificial setups—such as planting explicit "hints" or biases in a prompt. This paper addresses the lack of diverse, naturally occurring model behaviors paired with scalable counterfactual experiments to rigorously test interpretability tools and self-explanation capabilities "in the wild."
Methods
The authors develop CHIVE, a four-stage agentic pipeline designed to isolate the drivers of unexpected LLM behaviors:
- Sample: The target model is run on tens of thousands of prompts, sampling 30 responses per prompt to establish a baseline behavior rate.
- Screen: An investigator model (e.g., Claude Opus) reviews the responses to flag anomalous or unexpected behaviors.
- Investigate: The investigator agent performs 5–15 sequential counterfactual experiments by systematically editing the prompt, resampling responses, and measuring changes in the behavior rate.
- Verify: An independent LLM judge reviews the experimental record to score how well the counterfactuals support the final explanation.
The authors leverage CHIVE data for two primary applications:
- Evaluating Interpretability Tools: Testing whether giving a predictor agent access to activation-reading tools—specifically Activation Oracles (AOs), Natural-Language Autoencoders (NLAs), and Sparse Autoencoders (SAEs)—helps it better predict whether a prompt edit will alter the model's behavior.
- Counterfactual Prediction Training: Fine-tuning target models on CHIVE-generated transcripts to see if they can successfully predict the outcomes of prompt edits on their own behavior.
Datasets
The paper utilizes several datasets for generation and evaluation:
- WildChat: A corpus of real-world user-chatbot interactions, lightly augmented with agentic transcripts from datasets like Hermes function calling, ToolACE, and SystemChat-2.0. This serves as the primary "in the wild" data source.
- PETRI: An automated red-teaming dataset used as an out-of-distribution (OOD) prompt source to test generalization.
- Hint-Setting Benchmarks: Existing benchmarks including Reddit "Am I the Asshole?" (AITA) posts and MMLU questions with injected cues, used to evaluate behavioral attribution.
The authors have released their complete codebase, models, and datasets containing thousands of verified investigations across five target models (including Qwen and Llama families).
Key Insights and Ideas
- Interpretability Tools Fail in the Wild: While SAEs and NLAs have shown massive success in artificial "auditing games" (where a model is intentionally fine-tuned to hide a specific quirk), they provide zero predictive uplift for naturally occurring behaviors.
- The Correlation vs. Causation Gap: Activation tools excel at surfacing what concepts are active near an error, but they almost never articulate the causal relationship between the input feature and the behavior. An LLM judge found that NLA outputs explicitly stated a causal link ("X causes Y") in only 0.6% of positive claims.
- Self-Prediction Generalizes Broadly: Unlike prior work where models only generalized between narrow hint formats, models trained on diverse CHIVE counterfactual data showed strong generalization to entirely held-out settings and OOD prompt sources.
- No Evidence of Privileged Access: Interestingly, self-trained models do not outperform cross-trained models (models trained on another model's behavioral data). This indicates that fine-tuned models are not "introspecting" or reading their own internal activations; rather, they are learning a robust behavioral prior from the training data.
Key Results
1. Interpretability Tool Evaluation
When predictor agents were tasked with guessing whether a prompt edit would change a model's behavior, giving them access to activation-based tools yielded no statistical improvement over a transcript-only baseline.
As shown in the Gemma-3-27B-IT evaluation, the transcript baseline achieved an AUROC of 81.4%, while adding AO (80.9%), NLA (80.3%), or SAE (81.0%) tools failed to provide any uplift.
2. Counterfactual Prediction Training
Training models on CHIVE data consistently improved their performance on held-out tasks. When evaluated on the narrow "hint setting" (predicting if removing a planted cue changes their answer), trained models significantly outperformed their baseline versions, approaching frontier-model (Opus) performance.
For example, Qwen3-8B's accuracy jumped from a baseline of 50% to 76% after training, while its AUROC increased from 0.51 to 0.82.
Limitations and Future Work
- Proxy Evaluation Constraints: Because ground-truth labels are determined by running prompt edits, an evaluator with full sampling access can always just run the counterfactual directly. Thus, this framework serves as a proxy for harder, non-counterfactual settings (e.g., evaluating unverbalized evaluation awareness).
- Read-Only Access: The study restricts interpretability tools to read-only access to prevent them from simulating the counterfactual directly. Consequently, intervention-based techniques like activation patching or steering were excluded.
- Mixed Results for Open-Ended Explanations: While training models to answer binary prediction claims was highly successful, training them to output full, open-ended natural language explanations yielded weaker, mixed results that occasionally misled strong simulator models. The authors note that developing reliable metrics for messy, open-ended transcripts remains an important direction for future work.
Summary updated