Would this change your answer? Evaluating Explanations of LLM Behavior In The Wild with Counterfactual Experiments
Karvonen, Adam, Ong, Euan, Kantamneni, Subhash, Marks, Samuel
–arXiv.org Artificial Intelligence
But what constitutes a good explanation? The true causes of a model's behavior are usually unknown, so an explanation cannot be checked directly. In this work we evaluate explanations through the lens of counterfactual simulatability (Chen et al., 2023): whether the explanation is useful for predicting model behavior on related counterfactual inputs.1 For example, the explanation "Gemma makes this coding error because it is misled by the parameter names" (Figure 1) predicts that renaming the parameters should prevent the error. However, such evaluations have typically relied on narrow settings, such as hints planted in the prompt (Hase & Potts, 2026), because diverse behaviors paired with counterfactual experiments are difficult to generate at scale. We introduce CHIVE (Counterfactual Hypothesis Investigation Via Edits), an agentic pipeline that discovers and explains unexpected model behaviors at scale by sampling a target model on many prompts, screening its responses, and investigating each unexpected behavior with counterfactual prompt edits (Figure 1 shows one summarized investigation). Because the prompts can come from an arbitrary distribution, running CHIVE on real user conversations yields thousands of explanations of behaviors in the wild, whose causes are diverse and not known in advance (Figure 2). Each investigation produces two kinds of data (Figure 3): an open-ended explanation of the behavior's causes, which is often compelling but which we do not treat as ground truth, and the positive and negative counterfactual experiments supporting it, whose measured outcomes provide every evaluation label in this paper.
arXiv.org Artificial Intelligence
Aug-18-2026