Elamur Research

"Why Should I Trust You?": Explaining the Predictions of Any Classifier

Paper · 2016 · Marco Tulio Ribeiro, Sameer Singh and Carlos Guestrin

Summary

Machine learning models are often deployed as opaque systems, so users struggle to decide whether a single prediction deserves action and whether a whole model is fit for deployment. The authors separate these two kinds of trust and address each one. For single predictions they propose LIME. It perturbs an input around the instance, queries the black-box model, and fits a simple, sparse surrogate model over a human-readable representation, such as the presence of words or image patches. The surrogate only needs to match the model's behaviour close to that instance. For whole models they propose SP-LIME, which casts the choice of a few representative, non-redundant explained examples as a submodular optimization problem. They test both methods on text classifiers such as random forests and on image neural networks, using simulated studies and human subjects. With explanations, non-experts could tell which of two classifiers would generalize better. They could also repair a flawed 20 newsgroups classifier through feature engineering. The work matters because validation accuracy alone can hide data leakage and dataset shift.

Key points

  • LIME is model-agnostic. It needs only the ability to query the classifier or regressor, and it explains through an interpretable representation that may differ from the model's own features.
  • The paper treats explanation quality as a trade-off between staying locally faithful to the model and staying simple enough for the target user. It uses sparse linear models as the explanation family.
  • SP-LIME picks a small, diverse set of explained instances through submodular optimization, so that a user can judge the model as a whole.
  • In a Christianity-vs-Atheism task from 20 newsgroups, the classifier with higher validation accuracy turned out to be the worse one. Explanations exposed this, while raw predictions did not.
  • The authors argue that gradient-based explanations are hard to read for confident predictions, where the gradient approaches zero. They also note that inherently interpretable models, such as a supersparse linear model with 5−10 features, do not suit text tasks.

Interesting ideas

  • I1. Explanations can be built over a representation chosen for humans, such as presence or absence of words, instead of the model's internal features. This works because faithfulness is checked only near one instance, so any opaque component can be audited in familiar terms.
  • I2. Explanations can catch leakage that accuracy hides. A spurious cue, such as a patient ID or an email header, shows up directly among the top explanatory features, while held-out scores look excellent.
  • I3. Choosing which examples a human should inspect can be framed as a coverage problem. The goal is a small set whose explanations together touch the most important features without repeating each other.
  • I4. A model can be judged by asking whether its reasons are sensible, and not only by its score. People's prior knowledge lets them reject a right answer reached for the wrong reason.
  • I5. Explanations should be sized to what the audience can absorb, so they must be few in number and simple in form. A complete dump of thousands of weights does not serve that purpose.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (tree): The gparse transformer parser could be explained by deleting or masking tokens and fitting a small surrogate over which words flip a given UD arc. This would show which context words drive each attachment decision.
  • I2 (learn): When training on silver data agreed by witness parsers, explanation-based audits could flag surface cues the models share. Such cues would inflate agreement without reflecting real syntax, and they could serve as an extra negative control.
  • I3 (learn): An SP-LIME-style selection could choose which disputed sentences to send to the LLM teacher tiers or human review. This would cover many distinct error causes instead of many copies of one.
  • I4 (answer): QA readers on fables and school tests could be checked on whether the frames and world facts they cited justify the answer. A correct answer with an irrelevant justification would then count as a failure.
  • I5 (frames): When prag reports why it chose a semantic role, speech act, or irony reading, it could present only the handful of decisive cues. Fuller traces could stay available for developers.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

 Shelves 3The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksSoftware · 150 works

Cite

Cite as Marco Tulio Ribeiro, Sameer Singh and Carlos Guestrin. 2016. "Why Should I Trust You?": Explaining the Predictions of Any Classifier. arXiv:1602.04938.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1602.04938 · arXiv 1602.04938

@misc{ribeiro2016why,
  title = {{"Why Should I Trust You?": Explaining the Predictions of Any Classifier}},
  author = {Marco Tulio Ribeiro, Sameer Singh and Carlos Guestrin},
  year = {2016},
  doi = {10.48550/arxiv.1602.04938},
  eprint = {1602.04938},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1602.04938}
}

References

29 references, from the paper's own bibliography.

  1. S. Amershi, M. Chickering, S. M. Drucker, B. Lee, P. Simard, and J. Suh. Modeltracker: Redesigning performance analysis tools for machine learning. In Human Factors in Computing Systems (CHI), 2015. OpenAlex ↗ · Scholar ↗
  2. D. Baehrens, T. Schroeter, S. Harmeling, M. Kawanabe, K. Hansen, and K.-R. Müller. How to explain individual classification decisions. Journal of Machine Learning Research, 11, 2010. our card
  3. A. Bansal, A. Farhadi, and D. Parikh. Towards transparent systems: Semantic characterization of failure modes. In European Conference on Computer Vision (ECCV), 2014. OpenAlex ↗ · Scholar ↗
  4. J. Blitzer, M. Dredze, and F. Pereira. Biographies, bollywood, boom-boxes and blenders: Domain adaptation for sentiment classification. In Association for Computational Linguistics (ACL), 2007. our card
  5. J. Q. Candela, M. Sugiyama, A. Schwaighofer, and N. D. Lawrence. Dataset Shift in Machine Learning. MIT, 2009. OpenAlex ↗ · Scholar ↗
  6. R. Caruana, Y. Lou, J. Gehrke, P. Koch, M. Sturm, and N. Elhadad. Intelligible models for healthcare: Predicting pneumonia risk and hospital 30-day readmission. In Knowledge Discovery and Data Mining (KDD), 2015. OpenAlex ↗ · Scholar ↗
  7. M. W. Craven and J. W. Shavlik. Extracting tree-structured representations of trained networks. Neural information processing systems (NIPS), pages 24–30, 1996. OpenAlex ↗ · Scholar ↗
  8. M. T. Dzindolet, S. A. Peterson, R. A. Pomranky, L. G. Pierce, and H. P. Beck. The role of trust in automation reliance. Int. J. Hum.-Comput. Stud., 580 (6), 2003. OpenAlex ↗ · Scholar ↗
  9. B. Efron, T. Hastie, I. Johnstone, and R. Tibshirani. Least angle regression. Annals of Statistics, 32:0 407–499, 2004. OpenAlex ↗ · Scholar ↗
  10. U. Feige. A threshold of ln n for approximating set cover. J. ACM, 450 (4), July 1998. OpenAlex ↗ · Scholar ↗
  11. A. Groce, T. Kulesza, C. Zhang, S. Shamasunder, M. Burnett, W.-K. Wong, S. Stumpf, S. Das, A. Shinsel, F. Bice, and K. McIntosh. You are the only possible oracle: Effective test selection for end users of interactive machine learning systems. IEEE Trans. Softw. Eng., 400 (3), 2014. OpenAlex ↗ · Scholar ↗
  12. J. L. Herlocker, J. A. Konstan, and J. Riedl. Explaining collaborative filtering recommendations. In Conference on Computer Supported Cooperative Work (CSCW), 2000. OpenAlex ↗ · Scholar ↗
  13. A. Karpathy and F. Li. Deep visual-semantic alignments for generating image descriptions. In Computer Vision and Pattern Recognition (CVPR), 2015. our card
  14. S. Kaufman, S. Rosset, and C. Perlich. Leakage in data mining: Formulation, detection, and avoidance. In Knowledge Discovery and Data Mining (KDD), 2011. OpenAlex ↗ · Scholar ↗
  15. A. Krause and D. Golovin. Submodular function maximization. In Tractability: Practical Approaches to Hard Problems. Cambridge University Press, February 2014. OpenAlex ↗ · Scholar ↗
  16. T. Kulesza, M. Burnett, W.-K. Wong, and S. Stumpf. Principles of explanatory debugging to personalize interactive machine learning. In Intelligent User Interfaces (IUI), 2015. OpenAlex ↗ · Scholar ↗
  17. B. Letham, C. Rudin, T. H. McCormick, and D. Madigan. Interpretable classifiers using rules and bayesian analysis: Building a better stroke prediction model. Annals of Applied Statistics, 2015. our card
  18. D. Martens and F. Provost. Explaining data-driven document classifications. MIS Q., 380 (1), 2014. OpenAlex ↗ · Scholar ↗
  19. T. Mikolov, I. Sutskever, K. Chen, G. S. Corrado, and J. Dean. Distributed representations of words and phrases and their compositionality. In Neural Information Processing Systems (NIPS). 2013. our card
  20. K. Patel, J. Fogarty, J. A. Landay, and B. Harrison. Investigating statistical machine learning as a tool for software development. In Human Factors in Computing Systems (CHI), 2008. OpenAlex ↗ · Scholar ↗
  21. K. Patel, N. Bancroft, S. M. Drucker, J. Fogarty, A. J. Ko, and J. Landay. Gestalt: Integrated support for implementation and analysis in machine learning. In User Interface Software and Technology (UIST), 2010. OpenAlex ↗ · Scholar ↗
  22. I. Sanchez, T. Rocktaschel, S. Riedel, and S. Singh. Towards extracting faithful and descriptive representations of latent variable models. In AAAI Spring Syposium on Knowledge Representation and Reasoning (KRR): Integrating Symbolic and Neural Approaches, 2015. OpenAlex ↗ · Scholar ↗
  23. D. Sculley, G. Holt, D. Golovin, E. Davydov, T. Phillips, D. Ebner, V. Chaudhary, M. Young, and J.-F. Crespo. Hidden technical debt in machine learning systems. In Neural Information Processing Systems (NIPS). 2015. OpenAlex ↗ · Scholar ↗
  24. E. Strumbelj and I. Kononenko. An efficient explanation of individual classifications using game theory. Journal of Machine Learning Research, 11, 2010. OpenAlex ↗ · Scholar ↗
  25. C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Computer Vision and Pattern Recognition (CVPR), 2015. OpenAlex ↗ · Scholar ↗
  26. B. Ustun and C. Rudin. Supersparse linear integer models for optimized medical scoring systems. Machine Learning, 2015. OpenAlex ↗ · Scholar ↗
  27. F. Wang and C. Rudin. Falling rule lists. In Artificial Intelligence and Statistics (AISTATS), 2015. OpenAlex ↗ · Scholar ↗
  28. K. Xu, J. Ba, R. Kiros, K. Cho, A. Courville, R. Salakhutdinov, R. Zemel, and Y. Bengio. Show, attend and tell: Neural image caption generation with visual attention. In International Conference on Machine Learning (ICML), 2015. our card
  29. P. Zhang, J. Wang, A. Farhadi, M. Hebert, and D. Parikh. Predicting failures of vision systems. In Computer Vision and Pattern Recognition (CVPR), 2014. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ribeiro-2016-why-should-i-trust-explaining/