The Evaluating Self

85The Mythos of Model Interpretability

Zachary C. Lipton, ICML Workshop on Human Interpretability in Machine Learning, New York, 2016

The Mythos of Model Interpretability, 2016 — the argument A term withno definition What it iswanted for How themodel works What else itcan tell me Qualify theclaim Papers claim itwithout sayingwhat has beenclaimed. Trust, causality,transferability,information,fair decisions. Simulatability,decomposability,the trainingprocedure. Text, pictures,local maps,similar cases —faithful or not. Which sense ismeant, and whatevidence that itis achieved. The demand appears where test-set error and the cost of deployment come apart. Humans satisfy none of the transparency notions, and are the standard interpretable case.
Figure 85.0 — The paper in five moves: a word used without a definition, the five things people want from it, the two families of property offered to supply it, and the discipline the split imposes on anyone who uses the word again.

By 2016 a machine learning paper could claim interpretability the way it claimed accuracy, without saying what had been claimed. Lipton reads that literature and offers two readings: either the definition is agreed and nobody has managed to write it down, or the term is ill-defined and claims made with it have what he calls a quasi-scientific character. He argues for the second, and separates the two questions inside the word. What an interpretation is wanted for, where he finds five answers that do not reduce to one another and occasionally conflict: trust, causality, transferability, informativeness, and fair and ethical decision-making. And what property of a model supplies it, where he finds two families that compete rather than combine: transparency, which asks how the model works, and post-hoc explanation, which asks what else the model can tell you, and which an opaque system can offer as readily as a clear one. One condition produces all five desiderata: the demand appears when the formal objective of supervised learning, error on a test set drawn from the training distribution, comes apart from what deployment will cost. And one consequence gave the paper its audience: the claim that a linear model is more interpretable than a deep network is true under one of his three notions of transparency and false or unavailable under the other two, and the human decision-maker, held up throughout that literature as the interpretable case, satisfies none of the three.

Where the demand comes from

The common evaluation metrics of supervised learning need two things and no more: the model's predictions and the ground truth. Any model can be scored that way, so the score cannot be what is missing when someone asks for an interpretation. Lipton takes the request as evidence of an objective that resists being written as a real-valued function. A model for hiring should optimise productivity, ethics and legality together, and the last two cannot be optimised directly; a model trained on longitudinal medical data is scored on error, which pure correlation can drive down, while the reason for building it was to find associations that might be causal; a model deployed into a moving environment can change that environment and invalidate its own predictions.

Why anyone asks for an interpretation Any model Predictions Ground truth Evaluationmetric a score Ethics and legality, a changing environment, cause rather than correlation, who bears the mistakes — nothing built from predictions alone holds these. not captured
Figure 85.1 — What the score is built from, and what it cannot hold. Redrawn from the paper's Figure 1.

What an interpretation is wanted for

Trust comes first, and Lipton declines to let it stand as one thing. If it means confidence that the model will perform well, a sufficiently accurate model is already trustworthy and an interpretation adds nothing. It may instead mean confidence with respect to the real objective rather than the trained one: a model forecasting crime rates to allocate police officers may be trusted to predict accurately and not trusted to account for racial bias in its training data, or for its own part in a cycle of over-policing. Or it may mean comfort in relinquishing control, which turns not on how often the model is right but on which cases it is right for — if its mistakes fall where human mistakes fall, handing over costs nothing in expectation. That last sense became an experiment for Bansal and colleagues, who found that explanations did not raise a person and a model above either working alone.

Causality is the second. Supervised learning is optimised to make associations, and researchers read those associations as hypotheses about the world, a regression revealing thalidomide and birth defects or smoking and lung cancer. An association need not be causal, since an unobserved cause may produce both variables, so the most an interpretation can do is propose something for an experimenter to test.

Transferability is where the examples are sharpest. The usual test of generalisation is a random split of one distribution, while people transfer skills to situations drawn from nothing they have seen. Lipton takes from Caruana and colleagues in 2015 a model trained to predict death from pneumonia that assigned lower risk to asthmatic patients. The association was real: asthmatics did die less often, because they were admitted straight to intensive care. Deployed in triage, the model would have sent those patients to the less aggressive treatment that made the correlation false, and none of this is overfitting in the classical sense. The environment can also be hostile on purpose. FICO's technical report names interpretability as the reason it builds credit models with logistic regression, on features including debt ratio and the number of accounts in good standing — both of which an applicant can move at will, without changing anyone's ability to repay.

A model that would remove the cause of the pattern it learned Asthmatic patientswith pneumonia Admitted straight tointensive care Lower death ratein the record Model learns asthmapredicts survival Used for triage: lessaggressive treatment the treatment that made the pattern true is withdrawn Caruana and colleagues, 2015. The association held on held-out data from the same distribution.
Figure 85.2 — The pneumonia model that would have removed the cause of the pattern it learned.

Informativeness covers the case in which a model's output is handed to a person who decides rather than fed to a decision rule. Lipton's analogy is a graduate student asking an advisor which venue suits a paper: naming one conference gives her nothing to combine with what she already knows. An interpretation can inform without saying anything about a model's workings, as a diagnostic system does when it points at similar past cases.

Fair and ethical decision-making is the last. Programs approve credit lines, filter job applicants, and predict recidivism for courts deciding who is released and who is detained, and accuracy offers little assurance that the resulting actions are acceptable. Lipton notes the European regulations then being drafted, which propose that people affected by an algorithmic decision have a right to explanation and that such decisions be contestable, and sets a condition that follows from the second word: an explanation is useful only if it reasons from falsifiable propositions and offers a way of contesting them and changing the decision when they fail. Almost nothing in the published work, he observes at the end, addresses contestability at all.

How does the model work?

Transparency is his name for the first family, and he takes it at three levels.

Simulatability is the strictest: a person contemplates the entire model at once, taking the input and the parameters and stepping through every calculation behind a prediction in reasonable time. It has two subtypes, since for a decision tree the number of nodes can grow much faster than the path from root to leaf, so model size and inference cost come apart. What counts as reasonable is subjective, but human capacity bounds the ambiguity to a few orders of magnitude, and within those bounds Lipton draws the conclusion the rest of the paper needs: neither linear models nor rule-based systems nor decision trees are intrinsically interpretable, and a high-dimensional linear model, an unwieldy rule list or a deep tree can each be less transparent than a compact neural network.

Decomposability asks that every part — each input, each parameter, each calculation — admit an intuitive explanation: a tree node that reads as all patients with diastolic blood pressure over 150, a linear weight that reads as a strength of association. It requires the inputs themselves to be interpretable, which disqualifies any model built on heavily engineered or anonymous features, and Lipton declines to take even the surviving case on faith. Linear weights are fragile with respect to feature selection: the association between flu risk and vaccination can come out positive or negative depending on whether the feature set includes indicators of old age, infancy or immunodeficiency.

Algorithmic transparency applies to the learning procedure rather than the learned object. For linear models the shape of the error surface is understood and training provably converges to a unique solution even on data not yet seen. The optimisation heuristics of deep learning work without anyone understanding why, and nothing can be guaranteed in advance about a new problem. Here the linear model wins outright, and Lipton immediately spends the win: humans exhibit none of these forms of transparency.

Transparency, at three levels The level What it asks What takes it away Simulatability Decomposability Algorithmictransparency Step through everycalculation behind oneprediction, by hand. Every input, parameterand step carries a plainmeaning of its own. The training procedureis understood beforethe data arrives. High dimension, a deeptree, an unwieldy listof rules. Engineered or anonymousfeatures; weights thatflip with the feature set. Heuristic optimisationwith no guarantee on anew problem. Humans exhibit none of the three, and are the case everyone calls interpretable.
Figure 85.3 — Three senses of transparency, what each asks, and what removes it.

What else can the model tell me?

Post-hoc interpretation extracts information from a model already trained, without saying how it works, and costs no predictive performance. It is also the only sense in which people are interpretable at all: the process by which a person decides and the process by which they explain may be entirely distinct. Lipton sorts the techniques into four kinds.

Text explanations train a second model to speak for the first. Krening and colleagues pair a reinforcement learner choosing actions with a model that maps its state onto verbal explanations of strategy, fitted to the explanations of human players — so the account is trained towards what a person would have said, and need not describe the agent's decisions however plausible it looks. McAuley and Leskovec explain a recommendation by the top words of a topic model tied to the rating model's factors, a way of reading topic models that has itself been found wanting.

Visualisation renders the learned representation and hopes a person will recognise something. Mordvintsev and colleagues run gradient ascent on the input to enhance selected hidden units, and dog faces appear all over the image, presumably because the training corpus was full of animals; Mahendran and Vedaldi recover an image from a representation six layers into an AlexNet.

Local explanations describe a neighbourhood instead of the whole mapping. A saliency map takes the gradient of the correct class output with respect to the input and applies it as a mask, showing which regions would most change the answer; Ribeiro and colleagues instead fit a sparse linear model near the point of interest. Lipton's objection is exact: the map holds only locally, and moving a single pixel can produce a very different one, where a linear model at least states a global relation.

Explanation by example reports which other cases the model treats as nearest in its learned space — the technique behind reading word2vec by enumerating neighbours, and the thing doctors do when they cite a case study.

Four accounts taken from a model already trained Trained model,performance intact Text explanationa second model speaks Visualisationpictures of what it holds Local explanationthe gradient at one point Explanation by examplethe nearest cases Fitted to what a personwould have said. Enhanced units; an imagerecovered from layer six. Move one pixel and themap can change. Doctors cite case studiesfor the same reason. Made by a second process; one optimised to satisfy a person is optimised for plausibility.
Figure 85.4 — Four ways of getting an account out of a trained model, none of which is the model.

The warning attached to all four is that an explanation optimised to satisfy a person is optimised for plausibility, and people already do this: acceptance decisions credited to leadership or originality have repeatedly been shown to disguise racial or gender discrimination. In the rush to make machine learning acceptable, he writes, "we should be careful not to reproduce pathological behavior at scale". A transparency claim can be demonstrated directly; a post-hoc claim must fix an objective and produce evidence that the interpretation achieves it, which is what On the Biology of a Large Language Model does nine years later, validating its graphs by intervention and reporting the fraction of prompts on which they show nothing.

Linear models are not strictly more interpretable

The claim that gives the discussion its heading is true or false depending on which notion is meant, and Lipton lays out the accounting.

Sparse linear modelDeep network
Simulatabilityholds at low dimension, lost at highrarely, and only when small
Decomposabilityweights read as associations, until the features are engineeredparameters no, inputs yes, being raw
Algorithmic transparencyunique solution, known error surfacenone
Post-hoc materiallittle to visualise or clusterrepresentations to visualise, verbalise, cluster

Read down the columns and the usual choice becomes a trade between algorithmic transparency and decomposability. Deep networks operate on raw or lightly processed features, so their inputs mean something, while a linear model often reaches comparable performance only on hand-engineered features and pays for it in the property it was chosen for; Lipton cites his own work on clinical time series as such a case. On the desiderata he concedes what the evidence supports and no more: linear models have the better record for studying the natural world, and he knows no theoretical reason why that must be so.

Transparency can also conflict with the broader objective, since arguments that rule out black boxes rule out any model that would match or exceed human ability on a hard task, and building trust with doctors by offering them transparent models can work against the longer goal of better medicine. The problem, in the end, is one of formulation rather than of method. The term, he writes in his summing-up, "holds no agreed upon meaning", while conferences publish papers that wield it in a quasi-mathematical way. When a method is flawed a better method can be proposed; when the problem statement is flawed, no algorithm and no experiment reaches it, which is why he ends by arguing that critical writing belongs at machine learning conferences.

Since 2016

The paper did what it asked for. Its vocabulary — transparency against post-hoc explanation, simulatability, decomposability, algorithmic transparency — became the standard way of asking which sense of the word a paper means, and it was reprinted for practitioners in ACM Queue in 2018. Doshi-Velez and Kim pressed the same complaint the following year and added what Lipton left out: a scheme for evaluating an interpretation against a real task, against a proxy task with lay subjects, or against a formal definition alone.

The warning about post-hoc methods aged best. Adebayo and colleagues showed in 2018 that several widely used saliency methods produce much the same map after a model's weights have been randomised, which is to say they were partly showing properties of the image rather than of the model. Rudin went further than Lipton in 2019, arguing that for decisions with high stakes the answer is not to explain a black box but to stop using one; his reply, that transparency may be at odds with the broader objective, still stands where he left it. The legal thread went the other way: the regulations he cited came into force in 2018, and Wachter, Mittelstadt and Floridi had already argued that they grant no right to an explanation of a particular decision, which left contestability where he found it.

What has changed most is the kind of model in question. Work on deep networks split into a post-hoc industry of local attributions and a smaller effort to take transparency literally by reading circuits out of trained weights. And the first of his four techniques, a second process trained to produce a plausible account of the first, stopped being a research proposal and became the ordinary way of putting a question to a model, which makes the faithfulness question he raised about it the one now most often asked.

Claims drawn from this chapter · 7

A linear model is not simply more understandable than a deep network

The linear model wins only on how its training behaves, where it provably reaches one solution. A high-dimensional linear model cannot be stepped through by hand, and its hand-built inputs mean less than the raw pixels or words a network takes.

Becausethe accounting is an argument in a table, not a measurement — stepping through the model by hand holds at low dimension and is lost at high, while a compact network can pass, and reading a weight as a strength of association survives only until the features are engineered
LimitsLipton concedes that linear models have the better record for studying the natural world and knows no theoretical reason why. Rudin argued in 2019 that high-stakes decisions call for abandoning black boxes rather than explaining them, and his reply — that transparency can work against the broader objective — is two sentences, not a case.
PracticeRefuse the trade as it is usually offered. Ask which property the simpler model buys you and at what size it stops holding — a rule list long enough, or a tree deep enough, buys nothing at all.
After AIThe choice he was arguing about has gone. Nobody proposes a linear model where a large one is wanted, and the work that took his first sense seriously reads circuits out of trained weights instead.

An explanation made to satisfy people is aimed at plausibility, not accuracy

An account extracted from a trained model afterwards says nothing about how it works and costs no accuracy, so an opaque system supplies one as readily as a clear one. Fitted to what a person would have said, it is fitted for plausibility.

Becausethe sharpest case is Krening's, a second model trained to give verbal accounts of a reinforcement learner's strategy, fitted to the explanations human players gave, so it need not describe the agent's decisions however plausible it looks; Lipton's condition is that such a claim fix an objective and show evidence it was achieved
LimitsLipton does not say these accounts are worthless — a diagnostic system pointing at similar past cases informs a doctor without describing its workings at all. The objection is to accepting one with no stated objective and no evidence it was met.
PracticeTreat an explanation as one more output to be checked, not as evidence about the process that produced the answer. Ask what it would have looked like had the answer been wrong; if it would have looked much the same, it is telling you nothing.
After AIA second process trained to give a plausible account of the first became the ordinary way of putting a question to a model. The technique he warned about is now the interface.

An explanation you cannot contest leaves the decision exactly where it was

Lipton sets one condition on an explanation: it must reason from statements that could be shown false, and offer a way of challenging them and changing the decision when they fail. Almost nothing in the published work, he found, addressed that at all.

Becausethe condition is drawn from the second word of the European proposal then being drafted, that algorithmic decisions be contestable, and the survey behind it is Lipton's own reading of the literature; the decisions at stake are credit lines, job applications and recidivism scores
LimitsA condition, not a method: Lipton supplies no design that meets it. The regulations he cited came into force in 2018, and Wachter, Mittelstadt and Floridi had already argued they grant no right to an explanation of a particular decision, which leaves contestability where he found it.
PracticeFor any decision a system makes about a person, write out what the affected person could say back and what would then change. If nothing changes whatever they say, you have built a notification and should not call it oversight.
After AIAn assistant will produce a reason for anything on request and accept any challenge to it without the decision moving. Fluent grounds are now free, which makes the part he said was missing the only part worth asking for.

Highlighting which pixels mattered explains one image, not the model

A saliency map shows which parts of one picture would most change the answer. Lipton's objection is that it holds only around that picture, and moving a single pixel can produce a different map, where a linear model states one relation that holds everywhere.

BecauseAdebayo and colleagues showed in 2018 that several widely used saliency methods produce much the same map after a model's weights have been randomised, which is to say they were partly showing properties of the image rather than of the model
LimitsThe objection is to reading a local picture as a global account, not to the method. Adebayo tested image models, and the result does not carry to every attribution method; the comparison is with a linear model's global relation, which Lipton has already shown is not free either.
PracticeAsk any attribution method for a control before you read its picture: what does it produce on an untrained model, or on a neighbouring input? If the picture barely moves, it is describing the input and not the system.
After AIThe lesson survived the technique. Work on large models validates a claimed internal mechanism by intervening on it and reports how often the method shows nothing, which is the control he was asking for.

Lipton finds five different things people mean by an interpretable model

Trust, cause, transfer to a situation the model was not trained on, information for a person who decides, and fair treatment. Lipton shows these five do not reduce to one another and sometimes conflict, so the bare word claims nothing anyone can check.

Becausethe five are read out of the published literature rather than derived, each with its own case — trust split three ways, causality as regressions read as hypotheses, transferability as the pneumonia triage model and FICO's gameable credit features, fairness as credit, hiring and recidivism
LimitsFive is what one author found in one literature in 2016. Doshi-Velez and Kim pressed the same complaint the next year and organised it differently, adding what he left out: how to evaluate an interpretation against a real task. The list diagnoses a vocabulary rather than proving no unifying definition exists.
PracticeWhen you or a vendor asks for a model you can understand, name which of the five you want and what evidence would settle it. Trust and fair treatment need different things, and a method can supply one while doing nothing for the other.
After AIThe word survived and the discipline did not. An assistant asked to explain itself answers to all five wants at once, in a paragraph of prose, with no way to say which one was served.

Lipton says people pass none of the three transparency tests either

The human decision-maker is the case that literature calls understandable. Nobody can step through their own calculation, say what each part contributed, or guarantee what their learning will produce. People are readable only afterwards, by an account made separately from the decision.

Becauseit applies his own three levels to people rather than measuring anything, and rests on the concession that the process by which a person decides and the process by which they explain may be entirely distinct — as when admissions credited to leadership or originality were shown to disguise discrimination
LimitsIt does not follow that the standard is wrong — you may demand more of a system deployed on thousands of people than of one person deciding once. Fleming also shows people carry a measurable sense of when they are right, which a model's report of its own working does not.
PracticeWhen you reject a system because you cannot see how it works, ask whether the person it would replace passes the test you just set. If not, say what standard you are applying and why a machine should meet it.
After AIAsk an assistant why it did something and you get an account composed separately from the answer, as from a person; the difference is that the machine can be run again with one thing changed.

Wanting an explanation means the test score stopped measuring the real goal

Any model can be scored, since the usual metric needs only its predictions and the right answers. So when someone asks a model to explain itself, Lipton argues, what is missing is not the score but an objective nobody could write into it.

Becausethe cases are arguments rather than measurements — a hiring model that must optimise productivity, ethics and legality together while the last two cannot be optimised directly, and a medical model scored on error when the reason for building it was to find causes
LimitsA diagnosis, not a finding. It treats the score as adequate wherever the objective can be written down, which few practitioners accept, and it leaves out reasons for wanting an explanation that have nothing to do with the objective, such as a duty to report how a decision was reached.
PracticeBefore asking a system to explain itself, write down what you want from it that the score does not cover. If the list is empty, the score is the answer and an explanation adds nothing to it.
After AIAlmost everything now asked of an assistant — be useful, be honest, be safe — is an objective nobody can score, so by this argument the demand has no ceiling.

All claims · Source map