People Attribute Purpose to Autonomous Vehicles When Explaining Their Behavior: Insights from Cognitive Science for Explainable AI
Balint Gyevnar, Stephanie Droop, Tadeg Quillien, Shay B. Cohen, Neil R. Bramley, Christopher G. Lucas, Stefano V. Albrecht
TL;DR
This study investigates how explanatory modes from cognitive science shape laypeople's understanding of autonomous vehicle behavior. It introduces a framework distinguishing teleological, mechanistic, counterfactual, and descriptive explanations and tests it in a two-study AV setting, culminating in the HEADD dataset of human-generated explanations and evaluations. Results show teleological explanations are rated as more satisfying and quality/trust are strongly predicted by perceived teleology, independent of whether the explainee is seen as autonomous or human. The work provides principled guidance for designing human-centered XAI in safety-critical autonomous systems and distributes the HEADD resource for further research.
Abstract
It is often argued that effective human-centered explainable artificial intelligence (XAI) should resemble human reasoning. However, empirical investigations of how concepts from cognitive science can aid the design of XAI are lacking. Based on insights from cognitive science, we propose a framework of explanatory modes to analyze how people frame explanations, whether mechanistic, teleological, or counterfactual. Using the complex safety-critical domain of autonomous driving, we conduct an experiment consisting of two studies on (i) how people explain the behavior of a vehicle in 14 unique scenarios (N1=54) and (ii) how they perceive these explanations (N2=382), curating the novel Human Explanations for Autonomous Driving Decisions (HEADD) dataset. Our main finding is that participants deem teleological explanations significantly better quality than counterfactual ones, with perceived teleology being the best predictor of perceived quality. Based on our results, we argue that explanatory modes are an important axis of analysis when designing and evaluating XAI and highlight the need for a principled and empirically grounded understanding of the cognitive mechanisms of explanation. The HEADD dataset and our code are available at: https://datashare.ed.ac.uk/handle/10283/8930.
