XAI in hindsight: Shapley values for explaining prediction accuracy

Predicting the outcome of AI-models is inherently difficult, and understanding and trusting the models and decisions based on them are challenging. To help us, various explainable artificial intelligence (XAI) methods have been developed. Sometimes, explanations are requested in hindsight, for example after an accident has occurred due to unexpected or erroneous model outcomes. In such situations, our focus is on answering why the model failed to produce an accurate prediction. But since XAI-methods are typically made without knowledge of the true outcome values, the explanations concern the prediction and not the prediction error. In this paper, we change perspective and assume that the true values are known and propose an explanation method that quantifies how different subsets/clusters of the training data impact how the predicted values deviate from the true values, the so-called residuals. In this way, the proposed method lets us explain the accuracy of individual predictions, in hindsight. By focusing on explanations in hindsight, rather than the predictions per se, the proposed method offers a novel perspective to the field of XAI. The method is demonstrated and evaluated using both synthetic and real-world data. To objectively evaluate the method we propose, we utilize the explanations we generate to tailor a training data acquisition strategy and show how this leads to improved prediction performance. The proposed method is fully generic, and applicable to any industry. In the presentation offered here, most examples are related to the maritime industry. • Proposes a novel, model-agnostic approach for explainable artificial intelligence. • Focuses on explanations in hindsight. • Explanations based on comparing predicted values and their true counterparts. • Demonstrated and evaluated using both synthetic and real-world data. • Presented using practical examples, particularly from the maritime industry.

Authors

Institutions

Publication Details

Journal
Expert Systems with Applications
Published
2025-02-18
DOI
https://doi.org/10.1016/j.eswa.2025.126845
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

XAI in hindsight: Shapley values for explaining prediction accuracy

Ingrid K. Glad, Andreas Brandsæter
Expert Systems with Applications
Explainable Artificial Intelligence (XAI)
article

XAI in hindsight: Shapley values for explaining prediction accuracy

Ingrid K. Glad, Andreas Brandsæter
article en

Abstract

Predicting the outcome of AI-models is inherently difficult, and understanding and trusting the models and decisions based on them are challenging. To help us, various explainable artificial intelligence (XAI) methods have been developed. Sometimes, explanations are requested in hindsight, for example after an accident has occurred due to unexpected or erroneous model outcomes. In such situations, our focus is on answering why the model failed to produce an accurate prediction. But since XAI-methods are typically made without knowledge of the true outcome values, the explanations concern the prediction and not the prediction error. In this paper, we change perspective and assume that the true values are known and propose an explanation method that quantifies how different subsets/clusters of the training data impact how the predicted values deviate from the true values, the so-called residuals. In this way, the proposed method lets us explain the accuracy of individual predictions, in hindsight. By focusing on explanations in hindsight, rather than the predictions per se, the proposed method offers a novel perspective to the field of XAI. The method is demonstrated and evaluated using both synthetic and real-world data. To objectively evaluate the method we propose, we utilize the explanations we generate to tailor a training data acquisition strategy and show how this leads to improved prediction performance. The proposed method is fully generic, and applicable to any industry. In the presentation offered here, most examples are related to the maritime industry. • Proposes a novel, model-agnostic approach for explainable artificial intelligence. • Focuses on explanations in hindsight. • Explanations based on comparing predicted values and their true counterparts. • Demonstrated and evaluated using both synthetic and real-world data. • Presented using practical examples, particularly from the maritime industry.

Expert Systems with ApplicationsVol. 273
University of Oslo (NO), Volda University College (NO), Norwegian University of Science and Technology (NO)
Climate action
Openalex Percentile: Top 99%
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.