# Explanation in Artificial Intelligence: Insights from the Social Sciences

Social science research on explanation can guide explainable AI design

Tim Miller · arXiv · 2017-6-22

- **Problem** Most explainable AI work relies on researchers' own intuitions about what makes a good explanation. Work on how people generate and judge explanations has been ignored, though it is decades old.
- **Method** The authors review philosophy, psychology and cognitive science research on explanation. They draw out findings, such as that explanations are contrastive and social, and show how they could feed into explainable AI.
- **Results** The review identifies four findings about explanation. Among them, people ask for contrastive explanations against a foil, and explanation is social.

## Why explainable AI needs a model of explanation

Explainable AI has been revived because many AI applications see limited uptake and users distrust them. The running hypothesis is that transparent systems help users understand and trust the agent. Yet most work in the field, the authors say, leans on the researchers' own sense of what a good explanation is. A small-sample study by Miller et al.

found that such work seldom cites social science frameworks of explanation. That matters because the experts who understand a model best are often poorly placed to judge whether an explanation helps a lay user.

Social science has studied these questions for much longer than explainable AI has existed. Philosophers have asked what an explanation is for millennia, and cognitive and social psychologists have studied attribution for over 50 years. Research on how people generate and judge explanations is over two decades old. So the authors argue that the field should draw on this body of work instead of starting from intuition.

## Why contrastive questions matter

People usually ask why something happened instead of some alternative they expected, and that alternative is the foil. Whether an answer works depends on the foil. Saying that Elizabeth opened the door because she was hot fits a closed-door foil, but not a foil of turning on the air conditioning, since her heat explains both.

Lipton argues that a contrast is generally easier to answer than a complete explanation of a plain fact. For the beetle-or-spider question, six legs is enough to answer the contrast, so eyes, wings and stingers don't need to be cited. A bare why-question has no stated foil, though, and Lipton shows that answering it as 'Why P rather than not-P?' amounts to listing all causes of P.

That is less useful, so the foil often has to be inferred from context.

Research suggests that people request only contrastive explanations, because complete explanations impose too great a cognitive burden. This makes foils both a challenge and an opportunity for AI. A system that knows the foil can give the shorter answer people want, and abnormality is one clue for inferring it.

## Four kinds and levels of explanation

Aristotle's Four Causes model sorts answers to why-questions into four kinds: material, formal, efficient and final. A single why-question can have an answer from any of these kinds. For a pen containing ink, the material answer concerns a substance that stops leaking, while the final answer says pens are for writing.

The authors apply this to an arthropod classifier and argue that all four kinds of cause appear at once: hardware, classification form, feature detection and the reason the program runs. A question about grouping images is a formal-level question, whereas asking how the leg count was inferred is an efficient-level question. So an explanation has to name the level a question targets, and research papers should say which level they address.

## How Overton's model structures scientific explanation

Overton defines five categories in science: theories, models, kinds, entities and data. Explanations spanning two of these levels have to pass through each level in between.

In the arthropod example, an entity has eight legs, which is a datum, and it counts as a spider by appeal to a model that rests on a theory. The authors argue that such a structure is a solid base for explainable AI, since a system would need an explicit model for each category.

Malle's account of social explanation has three layers: assumptions about human behaviour, the psychological processes, and the language used to give explanations.

## Why the agent needs a model of itself

The authors argue that an agent should keep a model of its own decision making, built for explanation. Tracing the cause through the algorithm that produced the answer is non-trivial. A more abstract symbolic record of when properties are detected and categorisations are made can be reasoned over instead. That model may only approximate the original model.

Work on uninterpretable models already approximates them with Bayesian networks, decision trees or local approximations. The authors go further and say even interpretable models could carry a separate model used only for explanation. Hayes and Shah, for example, annotate the state variables and actions that matter for explanation alone. Explanations of how knowledge was learnt would need another part of this self model, one that covers learning rather than classification.

## Three processes behind explanation

Malle's theory separates information processes, which build explanations, from impression management processes, which govern the social exchange. The information side covers four items: information requirements, information access, pragmatic goals and functional capacities. Malle et al. hypothesise that actor-observer asymmetries come from information asymmetry, since observers must infer an actor's intentions from behaviour.

The paper splits causal connection into abductive reasoning and simulation. Abductive reasoning infers causes by forming hypotheses and testing them, while simulation runs counterfactuals over known causal rules. An agent explaining its own decision would not need abduction, since it knows its causes, but explaining another agent's behaviour may.

Explanation selection then keeps a small subset of those causes, and evaluation checks whether the explainee understands the cause. Hilton's discounting applies when several possible causes compete, and backgrounding applies when several necessary events exist. So discounting belongs to causal connection and backgrounding to explanation selection.

Rehder's causal model theory says people categorise objects by their features and by the causal links between those features. His example is that people hold that birds can fly because they have wings.

## What users prefer: completeness over soundness

Kulesza et al. compared explanations for song recommendations that differed in soundness and completeness. Sound and complete explanations built the best mental models, but at a cost in cost-benefit terms. Complete but unsound explanations improved mental models more than sound ones and gave a better sense of cost-benefit, but they reduced trust.

From these results Kulesza et al. list three principles: be sound, be complete, and don't overwhelm. The first two clash with the third, so explanatory debugging systems need careful design.

Vasilyeva et al. varied the goal of a task, asking about causes, categories or reasons. Participants preferred the explanation mode that matched their task goal, which shows that being clear about the question matters.

Williams et al. found that an explanation group categorised items with training-like patterns more accurately, but categorised exceptional cases less accurately. So the benefit of explaining came at a cost of over-generalisation.

## Where these findings meet explainable AI

Explanation selection already appears in machine learning, through local explanations and information gain. The authors know of no study that uses human cognitive biases to select explanations from a set of causes.

Abnormality acts as a trigger for explanation and as a criterion for selecting causes. When no foil is given, one can use a default normal case, such as stereotypical people without the diagnosis in the glaucoma example.

Labelling causes as intentional could help a predictive model give more intuitive explanations, even without deliberative goals.

The authors caution that an agent presenting an explanation with every decision risks becoming distracting over time.

In preliminary work, Bekele et al. used inherence bias to explain person identification with features such as age and hair colour. That work has not yet been evaluated.

## Limits of the review

The paper is a review and reports no experiments of its own. Over 250 publications were surveyed, but only a smaller subset was chosen for the paper. Its findings rest on the experimental settings of the cited studies.

The authors acknowledge that incorporating these ideas isn't feasible for all applications. They also say the models will need refinement and extension before they fit explainable AI. Practitioners don't need explanatory agents that give explanations at every level.

## Paper info

- **Authors**: Tim Miller
- **Venue**: arXiv · Preprint
- **First published**: 2017-6-22
- **Added**: 2026-11-11
- **Updated**: 2018-8-15
- **Version**: v3
- **arXiv**: 1706.07269
- **Category**: cs.AI
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1706.07269v3) · [PDF ↗](https://arxiv.org/pdf/1706.07269v3)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Tim Miller (2017). Explanation in Artificial Intelligence: Insights from the Social Sciences. arXiv:1706.07269v3. https://arxiv.org/abs/1706.07269v3

**BibTeX**

```
@misc{miller2017explanation,
  title = {{Explanation in Artificial Intelligence: Insights from the Social Sciences}},
  author = {Tim Miller},
  year = {2017},
  eprint = {1706.07269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.07269v3}
}
```

## Other paper commentary

- [MissForest - nonparametric missing value imputation for mixed-type data](https://refivu.com/en/papers/ab5b3748-ade4-4bb9-b016-975b4f82baee-missforest-nonparametric-missing-value-imputation-for-mixed.md)
- [Federated Machine Learning: Concept and Applications](https://refivu.com/en/papers/d845d53f-b001-4e9b-be12-12d49f74b856-federated-machine-learning-concept-and-applications.md)
- [A Comprehensive Survey on Transfer Learning](https://refivu.com/en/papers/c3ef16ed-6b27-4ef6-a0f1-b20616ba3e47-a-comprehensive-survey-on-transfer-learning.md)
- [Deep Learning with Differential Privacy](https://refivu.com/en/papers/a0a5e243-9f30-4599-aa16-17cc0c7b4ba8-deep-learning-with-differential-privacy.md)
- ["Why Should I Trust You?": Explaining the Predictions of Any Classifier](https://refivu.com/en/papers/856ed702-7f55-4af3-8fa5-45538051a0a4-why-should-i-trust-you-explaining-the-predictions.md)
- [A Survey on Bias and Fairness in Machine Learning](https://refivu.com/en/papers/74d1cfa5-92d6-42d0-bf31-348c21768dc6-a-survey-on-bias-and-fairness-in-machine.md)
- [Retrieval-Augmented Generation for Large Language Models: A Survey](https://refivu.com/en/papers/ac45776a-0a09-4a03-a773-f9aa88c71453-retrieval-augmented-generation-for-large-language-models-a.md)
- [Deformable DETR: Deformable Transformers for End-to-End Object Detection](https://refivu.com/en/papers/e0311cd6-f252-409d-a37d-7b236622ec8e-deformable-detr-deformable-transformers-for-end-to-end.md)
- [BERTScore: Evaluating Text Generation with BERT](https://refivu.com/en/papers/30f8b3be-d1a1-4c44-9203-702fc98d0cc9-bertscore-evaluating-text-generation-with-bert.md)
- [Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentation](https://refivu.com/en/papers/178a13b8-5d0e-4448-a1cb-759db558ade3-swin-unet-unet-like-pure-transformer-for-medical.md)
- [How transferable are features in deep neural networks?](https://refivu.com/en/papers/cb0b30a7-565d-41f8-bd71-41713c953bea-how-transferable-are-features-in-deep-neural-networks.md)
- [HuggingFace's Transformers: State-of-the-art Natural Language Processing](https://refivu.com/en/papers/226edb36-2edb-4a96-aca3-9909969cdf23-huggingface-s-transformers-state-of-the-art-natural.md)

## Terms in this paper

- [explainable AI](https://refivu.com/en/terms/3d646e0093f1-explainable-ai)
- [explanation](https://refivu.com/en/terms/268f7cdb8c22-explanation)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/97a0e87f-2056-41e6-ba4d-00a7f2aa4ab0-explanation-in-artificial-intelligence-insights-from-the)
