Papers › "Why Should I Trust You?": Explaining the Predictions of Any Classifier
"Why Should I Trust You?": Explaining the Predictions of Any Classifier
Marco Tulio Ribeiro, Sameer Singh, Carlos Guestrin
Despite widespread adoption, machine learning models remain mostly black boxes. Understanding the reasons behind predictions is, however, quite important in assessing trust, which is fundamental if one plans to take action based on a prediction, or when choosing whether to deploy a new model. Such understanding also provides insights into the model, which can be used to transform an untrustworthy model or prediction into a trustworthy one. In this work, we propose LIME, a novel explanation technique that explains the predictions of any classifier in an interpretable and faithful manner, by learning an interpretable model locally around the prediction. We also propose a method to explain models by presenting representative individual predictions and their explanations in a non-redundant way, framing the task as a submodular optimization problem. We demonstrate the flexibility of these methods by explaining different models for text (e.g. random forests) and image classification (e.g. neural networks). We show the utility of explanations via novel experiments, both simulated and with human subjects, on various scenarios that require trust: deciding if one should trust a prediction, choosing between models, improving an untrustworthy classifier, and identifying why a classifier should not be trusted.
In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1602.04938")
Code
Syntology Ran 5 of 19 code samples harvested from 6 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran with no contract checked.
By repository: official repository: 2 samples from 1 repository, 0 ran; community (archive-listed): 17 samples from 5 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
27 repositories listed; official and paper-mentioned ones first.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
19 samples harvested; 5 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.
Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 6 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
08eafab62d4e85de · report
cf7a25ab27f89e9a · report
42b2a390d8ff275b · report
1c5395421c214d40 · report
3db066a795db215a · report
c7d5a85f36753c55 · report
eca7268d93d00565 · report
979f6f402b2b9b46 · report
1a1d95102a5a11e4 · report
b4ef3290d7e28bce · report
eddf4f6a3b167f89 · report
65a415ee59253e1f · report
fda9eb61df66c32b · report
da2220784f8447f3 · report
d83a0853d1cf871a · report
d180a13668906ebd · report
289cf6ebf79d47d9 · report
58d534b81925a997 · report
9254beefe009bdda · report
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Image Attribution | CUB-200-2011 | LIME | Deletion AUC score (ResNet-101) | 0.1070 | #5 of 8 | Archive leaderboard | report |
| Image Attribution | CUB-200-2011 | LIME | Insertion AUC score (ResNet-101) | 0.6812 | #5 of 8 | Archive leaderboard | report |
| Image Attribution | CelebA | LIME | Deletion AUC score (ArcFace ResNet-101) | 0.1484 | #5 of 8 | Archive leaderboard | report |
| Image Attribution | CelebA | LIME | Insertion AUC score (ArcFace ResNet-101) | 0.5246 | #5 of 8 | Archive leaderboard | report |
| Image Attribution | VGGFace2 | LIME | Deletion AUC score (ArcFace ResNet-101) | 0.2119 | #4 of 8 | Archive leaderboard | report |
| Image Attribution | VGGFace2 | LIME | Insertion AUC score (ArcFace ResNet-101) | 0.6185 | #4 of 8 | Archive leaderboard | report |
| Interpretability Techniques for Deep Learning | CelebA | LIME | Insertion AUC score | 0.5246 | #4 of 7 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Introduced by this paper: LIME
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections