TL;DR
This paper proposes a new definition for "good explanations" by extending counterfactual explanations to include the interlocutor's prior beliefs, arguing that explanations should focus on surprising facts. They then use this definition to explain why generating good explanations for Large Language Models (LLMs) is particularly challenging due to their complex, opaque nature and sensitivity to input variations.
What Problem Does This Paper Address?
The field of AI explainability is crucial for trust and adoption, but a fundamental challenge is defining what constitutes a "good explanation." While counterfactual explanations (i.e., "if X hadn't happened, Y wouldn't have occurred") are a popular starting point, they often fail to capture the nuances of human understanding. For instance, simply stating a fact that, if false, would prevent an outcome might not be a good explanation if the listener already strongly believed that fact. This paper aims to refine the definition of a good explanation and then apply it to understand the specific difficulties in explaining the outputs of LLMs.
Methods
The authors build upon the concept of counterfactual explanations. Their proposed definition, H2, states that a good explanation of an observation O is a fact which, if it were not true and all else was equal, would mean O would not have been observed, and on which the interlocutor placed low prior probability. This low prior probability is key, as it signifies that the fact is surprising and thus more informative.
They formalize this by defining a set of possible facts $F$ and a counterfactual explanation set $C(F,O)$. A good explanation $X(a, O, F)$ for interlocutor $a$ is then the fact $f \in C(F,O)$ that minimizes the interlocutor's prior probability $p(a, f)$. This is framed as a probabilistic approach, assuming a degree of independence between facts for tractability. They also consider explanations involving multiple facts, introducing a concision criterion and a target probability threshold $p^*$.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- Subjectivity of Explanations: A "good" explanation is not universal; it depends on the interlocutor's existing beliefs. What is surprising and informative to one person might be obvious to another.
- The Importance of Surprise: The core idea is that explanations should focus on facts that are unexpected to the listener. This is why low prior probability is a crucial component of their definition.
- LLMs as Explanation Black Boxes: The paper argues that LLMs, by their very nature, are structured in a way that makes identifying a set of independent, human-understandable facts extremely difficult. Their internal representations are high-dimensional and not easily decomposable into discrete, counterfactual propositions.
- Sensitivity to Irrelevant Input: LLMs are notoriously sensitive to minor, semantically irrelevant changes in input (e.g., formatting, typos). This means that seemingly trivial input variations could be counterfactual explanations, making it hard to pinpoint the true explanatory factors.
- Model Facts vs. Input Facts: While explanations can involve facts about the model itself (e.g., its training data, architecture), finding these is computationally infeasible for LLMs. Explanations often rely on input facts, but the complexity of LLM inputs makes this challenging.
Key Results
The paper doesn't present quantitative results from experiments on specific datasets. Instead, its key "results" are conceptual:
- A formal definition (H2) for good explanations that incorporates interlocutor prior beliefs.
- A framework for understanding explanations involving multiple facts and concision.
- A detailed analysis of why LLMs pose significant challenges for explainability, stemming from:
- The difficulty in decomposing their natural language inputs into discrete facts.
- Their sensitivity to minor input perturbations, which can act as spurious counterfactuals.
- The infeasibility of explaining based on internal model weights or complex causal paths.
Limitations and Future Work
Limitations:
- Independence Assumption: The formalization relies on an assumption of semantic independence between facts, which is a simplification. In reality, beliefs about facts are often correlated.
- Identifying Relevant Facts (F): While the paper suggests restricting $F$ to input or model facts for ML, the general problem of identifying the set of potentially relevant facts remains a significant challenge.
- Practical Implementation: The paper outlines a theoretical definition and its implications for LLMs but doesn't provide a concrete algorithm or system for generating explanations based on H2.
Future Work:
- Developing methods to guide additions or modifications to LLMs to improve their explainability based on the proposed definition.
- Further theoretical work on the pragmatics of explanation and how to handle correlated beliefs.
- Exploring how to practically identify the set of relevant facts $F$ for different types of ML models.
Summary updated