Paper commentary
Interpretable machine learning: definitions, methods, and applications
Interpretable machine learning needs a shared framework for judging explanations
- Problem Interpretability has no shared meaning, so the many interpretation methods are hard to compare or choose between. Plots, text and equations all get the same label, and no common criteria exist for evaluating them.
- Method The authors define interpretability for machine learning and introduce the Predictive, Descriptive, Relevant (PDR) framework. It scores any interpretation on predictive accuracy, descriptive accuracy and relevancy to a human audience, and sorts methods into model-based and post hoc groups.
- Results The framework is shown to organize existing methods and guide choices through real-world examples. The paper highlights the often overlooked role of human audiences in judging interpretations.
Why interpretability needed a definition
Interpretability is hard to pin down because one label has been attached to outputs as different as visualizations, natural language and mathematical equations. Readers can't tell what it means to interpret something, which threads link the disparate methods, or how to select one for a given problem and audience. The paper tries to address these concerns by first defining interpretability in the context of machine learning and placing it within a generic data science life cycle.
That life cycle separates two main classes of interpretation methods: model-based and post hoc. The authors then introduce the Predictive, Descriptive, Relevant (PDR) framework, with three desiderata: predictive accuracy, descriptive accuracy, and relevancy.
Taken in its full generality, interpretability is a broad, poorly defined concept, because to interpret data means to extract information from it.
Where interpretation sits in the workflow
Interpretation happens inside a data-science life cycle, and the paper's Fig 1 shows it as a general sequence of stages. The cycle starts with a domain problem, data and an audience, and these supply the context that decides which methods fit. In a scientific setting, the problem might be how brain cells in a visual area relate to visual stimuli.
Biases in the collected data don't stay in the data stage, because mismatches with the population of interest show up in the model. That limits which interpretations the practitioner can later make about the problem.
In the model stage, the practitioner cleans and visualizes data, extracts features, selects one or several models, and fits them. Here the choice is between simpler, easier-to-interpret models and more complex black-box models, which may fit the data better. The model's ability to fit the data is measured through predictive accuracy. The post hoc analysis stage then asks the fitted model to answer the original question.
Extracted information is displayed with standard tools such as scatter plots and histograms. How well those interpretations describe what the model has learned is called descriptive accuracy.
Interpretation methods fall mainly in the modeling stage or the post hoc stage, and the two are called model-based and post hoc interpretability. Model-based interpretability constrains the form of the model so that it readily provides useful information about the relationships it uncovers. Because the space of potential models shrinks, predictive accuracy can drop, so model-based interpretability works best when the relationship is relatively simple.
Post hoc interpretability takes a trained model as input and extracts what relationships it has learned. Post hoc methods help most when the relationship is complex and the practitioner needs an intricate black-box model to reach reasonable predictive accuracy.
If the answers after the post hoc stage aren't sufficient, the practitioner updates the problem, data or model and iterates. The next step is the PDR framework, which lists three desiderata for choosing interpretation methods: predictive accuracy, descriptive accuracy and relevancy. Predictive accuracy is about how faithfully the model approximates the underlying data relationships, while descriptive accuracy concerns the interpretation method itself.
Three desiderata for judging an interpretation
The PDR framework scores any interpretation on three desiderata: predictive accuracy, descriptive accuracy and relevancy. Errors can enter at two points, when the model approximates the underlying data relationships and when the interpretation method approximates what the model has learned. Predictive accuracy goes beyond average accuracy, because the distribution of predictions matters.
The authors also expect predictive accuracy to stay stable under reasonable data and model perturbations. Descriptive accuracy measures how objectively an interpretation method captures the relationships a model has learned.
The two accuracies often trade off against each other, so a practitioner must choose which one to favor. Simple model-based methods give consistently high descriptive accuracy, but they can lose predictive accuracy on complex datasets. Complicated models, such as those used in image analysis, often predict with high accuracy. Those same complicated models are harder to analyze, so their descriptive accuracy drops.
Relevancy decides which side of the trade-off matters for a given audience and problem. When an audit checks fairness, descriptive accuracy can matter more, whereas improved feature engineering may only need predictive accuracy.
Interpretations also need external validation when their accuracy isn't very high. Even then, the authors note that such interpretations may still be useful, so a practitioner can run an additional experiment to check them.
Sparsity: reading only a few parameters
A sparse model caps the number of non-zero parameters, so a practitioner reads only the few variables that remain. The authors focus on linear models here, though sparsity can help more generally. Sparsity also helps the other desiderata: fewer parameters to analyze yield higher descriptive accuracy, and a well-chosen prior can raise predictive accuracy.
Before reading a sparse set, one should check its stability, because if the set changes under small data perturbations the coefficients shouldn't be interpreted.
Sparsity is usually enforced with a penalty on the loss, such as LASSO and sparse coding, or with a model selection criterion such as AIC or BIC. Search-based methods such as orthogonal matching pursuit instead search over the space of non-zero coefficients with subset-selection methods. Sparsity penalties have also been added to random forests to identify a sparse subset of important features.
A biclustering approach based on sparse canonical correlation analysis (SCCA) links genomic expression features in Drosophila melanogaster and Caenorhabditis elegans. The sparse penalties let key interactions fit into heatmaps that a human can scan. The authors ran a stability analysis and found the model robust to different initializations and perturbations to hyperparameters.
Sparse models can be hard to build, because incorporating sparsity requires understanding the data-specific structure of the sparsity. Simulatability is the next constraint the paper treats, and it is much stricter than sparsity.
Simulatable rule lists for stroke risk
A simulatable model is one that a person can run through from input to output in their head. Decision trees are often cited as a simulatable model because of their hierarchical decision-making process. Lists of rules are another example, and they can easily be simulated. Due to their simplicity, simulatable models have very high descriptive accuracy.
For atrial fibrillation patients, the authors learned a list of if-then rules that predicts one-year stroke risk. The data came from 12,586 patients, covering age, gender, history of drugs and conditions before diagnosis, and whether a stroke occurred within a year of diagnosis. The authors introduced a method for learning these lists, aiming for high predictive and descriptive accuracy at once.
The resulting classifier needs only seven if-then statements to reach competitive accuracy. Each branch states a risk directly, so a clinician can follow how age changes the predicted stroke risk.
The rule list in Fig 3 shows this structure in practice. The first branch assigns a stroke risk of 58.9% (53.8%–63.8%) to patients with hemiplegia and age above 60. A cerebrovascular disorder gives a stroke risk of 47.8% (44.8%–50.7%) in the next branch. The final else branch gives a stroke risk of 8.7% (7.9%–9.6%). Because the branches are read in order, a reader can simulate the whole model without any extra machinery.
The authors stress that the rule list keeps the readability of rules-based models while predicting well. Simulatability works best when the feature count is small, so this example relies on a compact set of patient variables. Simulatable models don't offer the same flexibility as more complex models when the relationship is complicated.
Modularity and the pneumonia model
A modular model lets a meaningful part of its prediction-making process be interpreted on its own. Generalized additive models force the relationship between variables to be additive, so each term can be inspected separately.
The pneumonia study used a dataset of 14,199 patients with 46 features, including demographics, physical measurements and lab tests. The researchers predicted the likelihood of death within 60 days with a generalized additive model that includes pairwise interactions. Each univariate term and each pairwise term can be read on its own, as a curve or as a heatmap.
Inspecting these individual modules, the researchers found the fitted model had learned that asthma is linked to a lower risk of dying from pneumonia. In reality, patients with asthma have a higher risk of death from pneumonia, so the model's learned effect runs against known medicine. The authors attribute this to the collected data, where all asthma patients received aggressive care that reduced their mortality relative to the general population.
Without interpreting the model, pneumonia patients with asthma would have been deprioritized for hospitalization. In that case, the use of ML would have increased their likelihood of dying. Because the model was interpretable, the researchers identified and corrected errors like this one. The example shows that module-level inspection can help confirm that a model can be trusted in the real world.
Feature engineering with domain knowledge and learned features
Informative features make the relationship the model must learn simpler, so simpler models can be used with their interpretation methods. Domain knowledge and exploratory data analysis guide which features to build, and the algorithms used are generally domain-specific.
In the arctic cloud example, the authors used an unlabeled dataset of satellite imagery to build a model that predicts whether each pixel contains clouds. Because ice and clouds look qualitatively similar, the authors treat this as a challenging prediction problem. Through exploratory data analysis and interactions with climate scientists, they identify three simple features that are sufficient to cluster cloud and non-cloud images.
The expert labels weren't used in developing the features or the QDA clustering method, so the comparison is a fair test of the features.
Model-based feature engineering learns such features automatically, instead of building them by hand. Unsupervised methods like clustering, matrix factorization, and dictionary learning process unlabelled data and output a description of its structure. Dimensionality reduction methods such as principal components analysis, independent components analysis, and canonical correlation analysis can identify a few interpretable dimensions.
Fewer inputs can improve descriptive accuracy, and they can also raise predictive accuracy by reducing the number of parameters to fit.
In the genomics example, the authors use stability driven nonnegative matrix factorization to decompose images of spatial gene expression in Drosophila embryos. Post hoc analysis then takes a trained model as its starting point, which is where the next section picks up.
Post hoc analysis: dataset-level and prediction-level views
Post hoc methods keep the trained model fixed and extract what it has learned from it. Because the model is already trained, its predictive accuracy is fixed, so a researcher only weighs descriptive accuracy and relevancy. Dataset-level methods describe the global relationships a model has learned, such as which visual patterns go with a predicted response.
Prediction-level methods explain individual predictions, such as which features or interactions led to one particular prediction. The two categories overlap, because dataset-level approaches often yield information at the prediction level. The authors still discuss them separately, since methods at the two levels are meaningfully different.
Dataset-level feature importance scores estimate how much each feature contributes to predictions across a whole dataset. Such scores exist for neural networks, random forests and generic classifiers. Methods also extract important interactions between features, because ML models are often highly nonlinear. In one example, extracting Boolean interactions from a trained random forest raises the descriptive accuracy of the forest.
In a genomics study, the authors trained a series of iteratively re-weighted RFs and searched for stable combinations of features. Those iteratively re-weighted random forests identified gene-gene interactions with 80% accuracy in the Drosophila embryo.
Prediction-level scores capture heterogeneity, because a feature can matter for one example and not for another. In a fairness example, the authors of (16) introduce a variable importance measure that isolates the contribution of a variable such as gender. That measure separates the variable from a set of correlated variables. For the person labelled "Mr.
Z", race was the largest bar in the transparency report of Fig 4. The authors read this as the classifier indeed discriminating based on race.
Statistical importances and the Harvard admissions case
Statistical feature importances come from models like linear and logistic regression, which can attach confidence intervals and hypothesis tests to their coefficients. The paper uses a cautionary example where different assumptions lead to opposing conclusions from the same dataset.
The example is the lawsuit Students for Fair Admissions, Inc. v. Harvard, which concerns the use of race in undergraduate admissions to Harvard University. Harvard's Office of Institutional Research first used logistic regression to model the probability of admission, including an applicant's race. That analysis gave the coefficient for being Asian (and not low income) as -0.418, with a significant p-value (<0.001).
Later expert reports from both sides analyzed the modeling assumptions, and they reached opposite conclusions about race. The plaintiff's report added subjective factors such as "personal ratings", which seemed to hurt Asian students' admission. The Harvard report found that, after accounting for other variables, the effect of race on Asian students' acceptance was no longer significant.
Regression significances at best establish association, not causation, so the authors judge both analyses flawed. The example shows how statistical feature importances can mislead when they are used inappropriately.
Visualizations and influence functions
Visualizations let a practitioner see what a model has learned, and the paper gives examples for several model families. For linear models with regularization, plots of regression coefficient paths show how varying a regularization parameter affects the fitted coefficients. For Long Short Term Memory Networks (LSTMs), researchers analyze the state vector and identify individual dimensions that correspond to meaningful features, such as position in line or within quotes.
They also build tools that track the model's decision process over the course of a sequence.
DeepTune is a visualization method for neuroscientists, and it shows which image patterns activate a brain cell. The study recorded responses of brain cells in macaque monkeys' visual system, area V4, while the monkeys viewed images. Neural networks trained on these responses produce accurate fits, but they give little insight into which image patterns increase the response without further analysis.
Visualizations can change with the choice of model, and a change like that means the visualization is likely not meaningful. The authors fit eighteen different models to the data and run a stable optimization over all of them, which produces one consensus DeepTune visualization.
Residual plots help a practitioner look beyond average accuracy at the distribution of predictions and errors. Residual plots can reveal heterogeneity in predictions and suggest data points to analyze, such as outliers or examples with the largest prediction errors. Influence functions, a classical statistical concept, identify training points that contribute to predictions made by ML models.
By searching for training points that contribute the most to individual predictions, the authors found mislabelled data points without looking at too much data.
Open problems and limitations
Model-based interpretability constrains the model space, so the models it can fit get smaller and predictive accuracy may drop. Model-based methods work best when the underlying relationship is relatively simple. Feature importance scores can't capture when a learned model relies on interactions between variables. A growing body of work tries to capture and display those learned interactions directly.
Post hoc methods with unknown descriptive accuracy call for care in high-stakes decisions, as the authors point out.
Post hoc interpretation formats leave a gap between their relatively simple outputs and what the complex model has learned. It is unclear whether any current format fully captures a model's behaviour, or whether a new format is needed. Closing that gap while keeping outputs relevant to a given audience and problem remains an open problem.
Using post hoc interpretations to improve predictive accuracy has received limited research so far. A husky versus wolf classifier learned to detect snow in the image and ignored the animals themselves. A practitioner could correct such learned relationships, raising predictive accuracy independently of other benefits of interpretation.
Our survey of examples was non-exhaustive, so the categorization covers the cited examples rather than the whole field. A patient, doctor, biologist and statistician may each want different interpretations from one model. The PDR framework gives a common vocabulary for judging which open questions matter for each audience.
Paper info
- Authors
- W. James Murdoch, Chandan Singh, Karl Kumbier, Reza Abbasi-Asl, Bin Yu
- Venue
- arXiv · Preprint
- First published
- 2019-1-14
- Added
- 2026-11-12
- Updated
- 2019-1-14
- Version
- v1
- arXiv
- 1901.04592
- DOI
- 10.1073/pnas.1900654116
- Category
- stat.ML · cs.AI · cs.LG · stat.AP
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
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
W. James Murdoch, Chandan Singh, Karl Kumbier, Reza Abbasi-Asl, Bin Yu (2019). Interpretable machine learning: definitions, methods, and applications. arXiv:1901.04592v1. https://doi.org/10.1073/pnas.1900654116
BibTeX
@article{murdoch2019interpretable,
title = {{Interpretable machine learning: definitions, methods, and applications}},
author = {W. James Murdoch and Chandan Singh and Karl Kumbier and Reza Abbasi-Asl and Bin Yu},
year = {2019},
eprint = {1901.04592},
archivePrefix = {arXiv},
doi = {10.1073/pnas.1900654116},
url = {https://arxiv.org/abs/1901.04592v1}
}