A Unified Approach to Interpreting Model Predictions

Scott Lundberg, Su-In Lee
5/22/2017
46,283 citations
cs.AIcs.LGstat.ML

No official code found. Best implementation: shap/shap (25,845 stars, Jupyter Notebook, MIT, last commit 2026-05-01).

Abstract

Understanding why a model makes a certain prediction can be as crucial as the prediction's accuracy in many applications. However, the highest accuracy for large modern datasets is often achieved by complex models that even experts struggle to interpret, such as ensemble or deep learning models, creating a tension between accuracy and interpretability.

Show full abstract

In response, various methods have recently been proposed to help users interpret the predictions of complex models, but it is often unclear how these methods are related and when one method is preferable over another. To address this problem, we present a unified framework for interpreting predictions, SHAP (SHapley Additive exPlanations). SHAP assigns each feature an importance value for a particular prediction. Its novel components include: (1) the identification of a new class of additive feature importance measures, and (2) theoretical results showing there is a unique solution in this class with a set of desirable properties. The new class unifies six existing methods, notable because several recent methods in the class lack the proposed desirable properties. Based on insights from this unification, we present new methods that show improved computational performance and/or better consistency with human intuition than previous approaches.

View on arXivView PDF

Code Implementations(1)

shap/shapCommunity100%
MIT

A game theoretic approach to explain the output of any machine learning model.

25,8453,784Jupyter Notebook, PythonNov 22, 20167 months agoMIT
deep-learningexplainabilitygradient-boostinginterpretabilitymachine-learning+2 more

Similar Papers

Cite this paper

@article{lundberg2017unified,
  title  = {A Unified Approach to Interpreting Model Predictions},
  author = {Scott Lundberg and Su-In Lee},
  year   = {2017},
  eprint = {1705.07874},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.07874}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1705.07874.svg)](https://codeofpaper.com/paper/1705.07874)

Discussion