# A Survey Of Methods For Explaining Black Box Models

Survey sorts black box explanation methods by problem, model type and data type

Riccardo Guidotti, Anna Monreale, Salvatore Ruggieri, Franco Turini, Dino Pedreschi, Fosca Giannotti · arXiv · 2018-2-6

- **Problem** Accurate decision systems are built as black boxes that hide their logic from users. This lack of explanation is a practical and ethical issue for decisions like credit scores.
- **Method** The authors classify explanation approaches by the problem they address, the explanator, the black box type and the data type. A reader can use this to find the proposals that fit a specific task.
- **Results** Most reviewed methods target one problem or one black box type rather than working in general.

## Why opaque decisions need explaining

Machine learning models now decide things such as credit scores, insurance risk and health status. They learn from digital traces that people leave behind, and those traces can hold human biases. A model trained on such data can inherit unfair patterns and produce wrong decisions. The GDPR adds a right to explanations of automated decisions, but that right is hollow unless a technology can expose what a model is doing.

Bias predates black boxes. A screening program used in the 1970s and 1980s at a London medical school discriminated by inferring ethnicity from surnames and birthplace. Text corpora carry associations too, so sentiment models can learn them. In a study of 500,000 consumer records, 29% of consumers received credit scores that differed by at least fifty points across three US banks.

The survey reads that spread as either hidden bias or arbitrary scoring.

Image models show a related fragility, and prior work cited here reports DNNs assigning 99.99% confidence to images that look like noise to humans. Such failures can hide behind good test accuracy, as a military tank classifier did when its enemy and friendly photos differed by weather.

## Four problems under one predictor formalism

The survey splits the field into reverse engineering, which starts from decision records, and design of transparent predictors, which starts from training data. Reverse engineering yields three problems: black box model explanation, black box outcome explanation and black box inspection. The fourth problem, transparent box design, learns an interpretable predictor together with its explanations.

A predictor b maps a feature space to a target space, and a learner builds it from a training dataset. A comprehensible predictor c comes with a global or local explanation, and two measures score it. Accuracy measures correctness, while fidelity measures how well c mimics b, computed like accuracy but with the black box's predictions as the target.

The model explanation problem asks for a global comprehensible predictor cg, built from b and a dataset, together with an explanator that turns cg into explanations. Outcome explanation asks instead for an explanation of the output for one record. Inspection asks for a representation that shows how the black box works or why it favours some predictions.

## Generalizable versus specific approaches

An approach counts as generalizable when it only queries the black box with inputs and leaves its internals alone. Such an approach can open any black box, so it is called agnostic. An approach that uses internal details, such as distances between trees in a random forest, works for one model type only.

The authors track this with two columns: General for generalizability and Random for whether random perturbations are used. Most works fall into a larger group aimed at one problem or one black box type, with a smaller group of general solutions.

## Explaining with surrogate trees and rules

The core idea is to treat the black box as an oracle and learn a simpler model from its answers. Trepan, for example, queries a neural network to grow a decision tree, choosing splits by gain ratio together with an estimate of fidelity. Because the network can answer any query, Trepan can use as many instances as it wants at each split, so splits near the bottom still rest on plenty of data.

DecText keeps Trepan's structure but adds four splitting methods and a fidelity pruning step. Pruning replaces inner nodes with majority labels on random instances and keeps the new tree only if its fidelity improves. Johansson et al. evolve trees with genetic programming on a mix of original and oracle-labelled data. Their oracle-guided trees were significantly more accurate than trees trained on the original data alone.

Tree ensembles are harder to read, because a random forest holds hundreds of distinct trees that often differ by only a few nodes. Chipman et al. cluster the trees with dissimilarity measures and use the cluster archetypes as the explanation. The Combined Multiple Model procedure adds random records labelled by bagging the ensemble's models, then fits a C4.5 tree.

STA extends this line by choosing splits with test hypotheses on the Gini indexes of the forest's trees.

Rule extraction gives a global set of if-then rules instead of a tree. G-REX runs genetic programming over random permutations of the data annotated by the network. RxREN instead prunes insignificant input neurons first, then generates rules from the data ranges that matter.

## Explaining a single outcome

Saliency methods explain one image prediction by highlighting the regions behind it. CAM uses global average pooling in a CNN to mark the discriminative region for a label. Grad-CAM relaxes this by combining late-layer activations with label-specific weights or gradients. These methods depend on architectural changes or access to intermediate layers, so they are limited to neural networks.

LIME is agnostic: it needs no knowledge of the data type, the black box or the local predictor. It samples records near the one being explained, weights them by proximity and fits a linear model whose feature weights serve as the explanation.

The Model Explanation System attaches logical decision rules to a black box prediction, chosen by a Monte Carlo scoring system. The authors test it on logistic regression and SVMs.

## Inspecting how a black box responds

Sensitivity analysis relates uncertainty in the output to uncertainty in the inputs. Integrated Gradients attributes a DNN prediction to its inputs under the axioms of sensitivity and implementation invariance, without changing the network. Cortez uses the range, gradient and variance of predictions to build feature bar plots and VEC curves.

Partial dependence plots show how the response relates to a few features in a reduced space. The methods built on them are agnostic and were tested on tabular data. ICE extends PDP by showing how fitted values vary across the range of a covariate, and Prospector changes one variable at a time. The auditing method of Adler et al. studies indirect influence without assuming anything about the model's behaviour.

## Open problems

The field has no agreed notion of explanation. Some works return rules, others trees and others prototypes, and no common formalism covers soundness, completeness or compactness.

The authors consider comprehensibility fundamental, yet no work seriously quantifies it for humans. Measuring it would need to account for the user's expertise and the time available to understand an explanation.

Saliency methods for images need architectural changes or intermediate-layer access, and LIME needs any data turned into a binary format.

Every category assumes the features used by the black box are fully known, and latent features remain an open question. Recommender explanations are another open question, where a case-based approach is one early attempt.

## Paper info

- **Authors**: Riccardo Guidotti, Anna Monreale, Salvatore Ruggieri, Franco Turini, Dino Pedreschi, Fosca Giannotti
- **Venue**: arXiv · Preprint
- **First published**: 2018-2-6
- **Added**: 2026-11-11
- **Updated**: 2018-6-21
- **Version**: v3
- **arXiv**: 1802.01933
- **Category**: cs.CY · cs.AI · cs.LG
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1802.01933v3) · [PDF ↗](https://arxiv.org/pdf/1802.01933v3)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Riccardo Guidotti, Anna Monreale, Salvatore Ruggieri, Franco Turini, Dino Pedreschi, Fosca Giannotti (2018). A Survey Of Methods For Explaining Black Box Models. arXiv:1802.01933v3. https://arxiv.org/abs/1802.01933v3

**BibTeX**

```
@misc{guidotti2018survey,
  title = {{A Survey Of Methods For Explaining Black Box Models}},
  author = {Riccardo Guidotti and Anna Monreale and Salvatore Ruggieri and Franco Turini and Dino Pedreschi and Fosca Giannotti},
  year = {2018},
  eprint = {1802.01933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.01933v3}
}
```

## Other paper commentary

- [Explanation in Artificial Intelligence: Insights from the Social Sciences](https://refivu.com/en/papers/97a0e87f-2056-41e6-ba4d-00a7f2aa4ab0-explanation-in-artificial-intelligence-insights-from-the.md)
- [MissForest - nonparametric missing value imputation for mixed-type data](https://refivu.com/en/papers/ab5b3748-ade4-4bb9-b016-975b4f82baee-missforest-nonparametric-missing-value-imputation-for-mixed.md)
- [Federated Machine Learning: Concept and Applications](https://refivu.com/en/papers/d845d53f-b001-4e9b-be12-12d49f74b856-federated-machine-learning-concept-and-applications.md)
- [A Comprehensive Survey on Transfer Learning](https://refivu.com/en/papers/c3ef16ed-6b27-4ef6-a0f1-b20616ba3e47-a-comprehensive-survey-on-transfer-learning.md)
- [Deep Learning with Differential Privacy](https://refivu.com/en/papers/a0a5e243-9f30-4599-aa16-17cc0c7b4ba8-deep-learning-with-differential-privacy.md)
- ["Why Should I Trust You?": Explaining the Predictions of Any Classifier](https://refivu.com/en/papers/856ed702-7f55-4af3-8fa5-45538051a0a4-why-should-i-trust-you-explaining-the-predictions.md)
- [Image Super-Resolution Using Very Deep Residual Channel Attention Networks](https://refivu.com/en/papers/4d16f8f5-55cc-4ee1-82f5-57e540466eec-image-super-resolution-using-very-deep-residual-channel.md)
- [OpenAI Gym](https://refivu.com/en/papers/0be35f1c-219a-4606-a9f9-894f5c111448-openai-gym.md)
- [OpenPose: Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields](https://refivu.com/en/papers/5a0057d5-5ad8-405d-b3a0-1ddc3220df6c-openpose-realtime-multi-person-2d-pose-estimation-using.md)
- [DETRs Beat YOLOs on Real-time Object Detection](https://refivu.com/en/papers/2872fb04-6c8b-4f48-a976-80e6dd5be309-detrs-beat-yolos-on-real-time-object-detection.md)
- [BPR: Bayesian Personalized Ranking from Implicit Feedback](https://refivu.com/en/papers/e3d177de-9c9b-45b7-bcb5-9ef28bee1dbb-bpr-bayesian-personalized-ranking-from-implicit-feedback.md)
- [Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)](https://refivu.com/en/papers/22cdac80-1bc9-4b93-8cf1-9d62eff18d48-fast-and-accurate-deep-network-learning-by-exponential.md)

## Terms in this paper

- [Accuracy](https://refivu.com/en/terms/1995c0cd6282-accuracy)
- [decision tree](https://refivu.com/en/terms/3158e0807c66-decision-tree)
- [LIME](https://refivu.com/en/terms/b95eeaba5517-lime)
- [Integrated Gradients](https://refivu.com/en/terms/7ea02692192e-integrated-gradients)
- [interpretability](https://refivu.com/en/terms/18f43a6c926b-interpretability)
- [sensitivity analysis](https://refivu.com/en/terms/f97589901505-sensitivity-analysis)
- [class activation mapping](https://refivu.com/en/terms/56b94690bdb5-class-activation-mapping)
- [black box](https://refivu.com/en/terms/b0fba29f5ab0-black-box)
- [Partial Dependence Plot](https://refivu.com/en/terms/8bdd958dc589-partial-dependence-plot)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/e8fafeb3-dfaa-4e9a-b461-dc36765f1ed6-a-survey-of-methods-for-explaining-black-box)
