Live data from Hacker News

The Mythos of Model Interpretability in Machine Learning

queue.acm.org

11–20 of 28 posts

Re: The Mythos of Model Interpretability in Machine Learning

#11
An alternative proposal put out by NYU's AI Now think tank, is to require a kind of "environmental impact statement" for any black box used in government or public sector applications. Instead of rolling out an experimental Predictive Policing agent en masses for example. A "sandbox" is created first. And actual humans in the loop judge if it is prone to bias, unfairness or harm.

Public accountability is designed into the algorithm at the outset.

https://ainowinstitute.org/reports.html

Re: The Mythos of Model Interpretability in Machine Learning

#12

Its funny, and characteristic of that part of the field, that mathematical provability in not even mentioned explicitly. A model (and a learning algorithm) should be interpretable if we can clearly state the assumptions, and prove that under these assumptions, we get what we state we get. We can predict the movement of the planets (short term). This is interpretable, because we only assume a model of 3d space, and Ne…

I don’t agree with this. For example, you can set up a collection of assumptions to underpin frequentist statistics, and then create a set of theorems about consistent or unbiased estimators, and develop a theory like that of p-values. But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner. The p-value tells you something about the relative extre…

I don't think there's a contradiction. My comment was about what it means to understand the model, or perhaps about what it means to do science, but not about what is necessary or sufficient for applied work.

But if we do talk about that though. Yes, science proceeds by modifying or sometimes totally abandoning the assumptions. No silver bullet, and the point is to assume as little as possible.

In general, if things "just work", its not a reason to abandon attempts to understand them. Things "just work" until they don't, especially in finance.

Consider two guys. Guy A, he predicts that the sun rises every day and is there until dusk. It "works", and so, as the joke goes, he does not touch anything. And guy B, he knows physics and has telescopes. And he can predict the solar eclipses. He knows the failure modes of the model of guy A. Consider the difference between the two.

Re: The Mythos of Model Interpretability in Machine Learning

#13
post #9

I think interpretability is much more correlated with model size than model type. Small neural net is much more interpretable than decision trees with thousands of nodes.

I challenge that last statement. Have there been any neural nets that actually have a solid interpretability? Usually those are more on the lines of effectiveness in training and validation data. With no real clue as to what the driving features were.

Re: The Mythos of Model Interpretability in Machine Learning

#14

Earlier quoted context omitted.

I don’t agree with this. For example, you can set up a collection of assumptions to underpin frequentist statistics, and then create a set of theorems about consistent or unbiased estimators, and develop a theory like that of p-values. But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner. The p-value tells you something about the relative extre…

I don't think there's a contradiction. My comment was about what it means to understand the model, or perhaps about what it means to do science, but not about what is necessary or sufficient for applied work. But if we do talk about that though. Yes, science proceeds by modifying or sometimes totally abandoning the assumptions. No silver bullet, and the point is to assume as little as possible. In general, if things…

I feel like you’re arguing against yourself here. Guy A’s shallow model would easily be considered more interpretable than Guy B’s sophisticated astronomical physics model, though Guy B’s model is clearly able to articulate more detailed predictions about what might happen. Guy B’s model is less interpretable, but because it “just works” in a vastly greater number of ways (can be applied to the moon, constellations, other planets), people use it or care about it.

If all that astronomy offered was a more verbose description of why the sun rises, yielding literally zero different predictions from Guy A’s super simple model, no one would care, and might call Guy B a witch!

I’d argue that what matters for science is pure predictive efficacy. That’s it. If you can explain something, it means you can accurately predict something about an unknown state of affairs that would falsify your model if your prediction is wrong. That’s it. Any other kind of explainability is just a matter of linguistic convenience.

Of course there is overfitting, etc., but that’s just part of refining the model to yield greater predictive accuracy on unseen data (less generalization error). It’s still all about putting your predictions where your mouth is.

If the differing theories of Guy A and Guy B cannot be separated by actually testing the predictions they make, then there is no “interpretability” — just linguistic hand waving.

Incidentally I think a lot of modern focus on interpretability is actually about how to be a political gatekeeper or taste-maker through linguistic hand waving, and is not about developing models who better survive the rigors of being required to make real predictions about states of affairs.

Re: The Mythos of Model Interpretability in Machine Learning

#15

Its funny, and characteristic of that part of the field, that mathematical provability in not even mentioned explicitly. A model (and a learning algorithm) should be interpretable if we can clearly state the assumptions, and prove that under these assumptions, we get what we state we get. We can predict the movement of the planets (short term). This is interpretable, because we only assume a model of 3d space, and Ne…

I don’t agree with this. For example, you can set up a collection of assumptions to underpin frequentist statistics, and then create a set of theorems about consistent or unbiased estimators, and develop a theory like that of p-values. But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner. The p-value tells you something about the relative extre…

>But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner.

How does this invalidate the notion of interpretability?

A model can be both wrong/misapplied and fully interpretable.

Re: The Mythos of Model Interpretability in Machine Learning

#16
post #13
post #9

I think interpretability is much more correlated with model size than model type. Small neural net is much more interpretable than decision trees with thousands of nodes.

I challenge that last statement. Have there been any neural nets that actually have a solid interpretability? Usually those are more on the lines of effectiveness in training and validation data. With no real clue as to what the driving features were.

https://distill.pub/2018/building-blocks/ This seems pretty good to me. And the nets are not exactly as small as I meant.

I work with random forests and build forest which have more than 80000 nodes per tree. Other than some basic computation of feature importance, it is a black box on the same scale as modern neural nets, maybe even worse.

Re: The Mythos of Model Interpretability in Machine Learning

#17
post #15

Earlier quoted context omitted.

I don’t agree with this. For example, you can set up a collection of assumptions to underpin frequentist statistics, and then create a set of theorems about consistent or unbiased estimators, and develop a theory like that of p-values. But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner. The p-value tells you something about the relative extre…

>But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner. How does this invalidate the notion of interpretability? A model can be both wrong/misapplied and fully interpretable.

> “How does this invalidate the notion of interpretability?”

Who said that it did?

I’m saying the development of a model that yields scientific progress doesn’t have to have a connection to the parent comment’s proposed definition of interpretability, and may have competing interpretability concerns driven by specific inference goals that have nothing to do with proofs about the model under assumptions.

Re: The Mythos of Model Interpretability in Machine Learning

#18
post #15

Earlier quoted context omitted.

>But then in a practical setting, the model doesn’t correspond to something physical or to the inference goal of a practitioner. How does this invalidate the notion of interpretability? A model can be both wrong/misapplied and fully interpretable.

> “How does this invalidate the notion of interpretability?” Who said that it did? I’m saying the development of a model that yields scientific progress doesn’t have to have a connection to the parent comment’s proposed definition of interpretability, and may have competing interpretability concerns driven by specific inference goals that have nothing to do with proofs about the model under assumptions.

>I’m saying the development of a model that yields scientific progress doesn’t have to have a connection to the parent comment’s proposed definition of interpretability

Let's say someone used a neural network to predict planetary positions as a function of time, mass and so on. They made a network with several hundred parameters, trained until it stopped converging and published their final state vector.

Would that ever lead to gravitational theory?

Re: The Mythos of Model Interpretability in Machine Learning

#19
post #18

Earlier quoted context omitted.

> “How does this invalidate the notion of interpretability?” Who said that it did? I’m saying the development of a model that yields scientific progress doesn’t have to have a connection to the parent comment’s proposed definition of interpretability, and may have competing interpretability concerns driven by specific inference goals that have nothing to do with proofs about the model under assumptions.

>I’m saying the development of a model that yields scientific progress doesn’t have to have a connection to the parent comment’s proposed definition of interpretability Let's say someone used a neural network to predict planetary positions as a function of time, mass and so on. They made a network with several hundred parameters, trained until it stopped converging and published their final state vector. Would that e…

What do you mean by “gravitational theory” apart from “correctly accounts for predicting the gravitational effects that we observe”? If a neural net can do that, then yes, a perfectly “elegant” theory could be the giant enumeration of a big ugly bunch of parameters. Of course we might suspect that’s overfitting and whittle down to a compact description, and that’s great, but doesn’t make the ugly enumeration of a big model any less scientific.

Another point of view would be to say how does the Wiles proof of Fermat’s Last Theorem give us “understanding” (or substitute virtually any non-constructive existence proof, or proofs by contradiction, such as for the Halting Problem).

Compact math descriptions are good, don’t get me wrong. When the mechanism of some data generating process is actually oriented in such a way that we can get a concise math description then we absolutely should. But that is largely unrelated to advancing understanding or scientific progress, which can perfectly be some ugly enumerated garble of parameters, or some extremely piecewise solution space. Not every data generating process is required to admit a concise mathematical description.

Re: The Mythos of Model Interpretability in Machine Learning

#20

Anyone have other good references for this topic?

Here is a great caltech lecture about why "simple" models have better out of sample performance. Jump to 28:00, if you want to get straight to the point.

https://www.youtube.com/watch?v=EZBUDG12Nr0&list=PLD63A284B7...

Post reply on HN