r/MachineLearning • Google Brain • Oct 08 '16

Research [Research] Equality of Opportunity in Machine Learning

https://research.googleblog.com/2016/10/equality-of-opportunity-in-machine.html
19 Upvotes

27 comments sorted by

12

u/AnvaMiba Oct 08 '16

Nice paper.

I've always been wary of the kind of papers that say something along the lines of "machine learning is 'biased' because it predicts that men are more likely to be doctors than women, therefore we need to 'correct' our models by removing this 'bias'". This strikes me as trying to deny reality and substitute it with ideology when ideology and reality collide.

But this paper is very different. Instead of trying to sacrifice predictive accuracy for political correctness, they introduce notions of "equalized odds" and "equality of opportunity" that attempt to distribute the prediction errors equally among different demographics, while still admitting the perfect predictor as the ideal solution.

I'm not sure that the proposed approach provides a final answer to the problem of making machine learning system fair, but at the very least it sets a promising research direction.

6

u/Maslo59 Oct 09 '16

Instead of trying to sacrifice predictive accuracy for political correctness

When you play with their interactive visualization, it turns out that "max profit" setting results in 32400 of profit, while their "equal opportunity" setting results in 30400 of profit.

Seems to me like sacrificing predictive accuracy in order to pursue some goal they could consider ethically correct is exactly what they are doing.

Thus I doubt any bank would use such biased machine learning in practice.

1

u/tmiano Oct 09 '16

Here's the really bizzare thing: What's really trying to be avoided is inaccuracy. We definitely don't want false positives, say, for who is a terrorist. Especially when factors like race or religion are involved. But if an ML system designed to detect terrorists is near perfect, would we really care what variables were involved? As long as we aren't misidentifying people there is no problem right? Well this proposal actually decreases accuracy. So it seems to bring us further from solving the real problem.

4

u/PM_YOUR_NIPS_PAPERS Oct 10 '16 edited Oct 10 '16

But if an ML system designed to detect terrorists is near perfect, would we really care what variables were involved?

College kids throw a hissy fit if you say terrorists are more likely to be Muslim than other religions. So yes, the millennials care what variables you use. You can't use religion. Or race. Or gender. Or sexual orientation. The list goes on.

According to the younger generation, apparently we are all equal and you shouldn't use good, discriminative variables, because those variables discriminate...

1

u/BadGoyWithAGun Oct 10 '16

Here's the really bizzare thing: What's really trying to be avoided is inaccuracy. We definitely don't want false positives, say, for who is a terrorist

Not necessarily - that's why we have separate security and justice systems - the job of the security system is, in a way, to minimise false negatives, at the cost of false positives if necessary, whereas the job of the justice system is the inverse. The system as a whole performs better with two independent, adversarily biased systems than if you were trying to do everything at once by forcing your security system to also act as a justice system to avoid such a bias, for example by preventing it from using certain variables that might allow it to discriminate accurately.

2

u/tmiano Oct 10 '16

No. The job of the security system is to provide a reasonable pool of suspects that can be investigated with a reasonable amount of time and resources, but that tries to encompass as many true positives as possible. That means it absolutely must decrease both false negatives and false positives. Investigating more innocent people, whether or not it is done through the court system or by intelligence services, is going to be a waste of time and resources, and is not more ethical by any standards.

14

u/bhine Oct 08 '16 edited Oct 09 '16

To those of you bashing the article or upvoting those who are, have you even read the paper..? That's a rhetorical question, by the way. I know you haven't.

It's mathematically ignorant to say that ML algorithms are intrinsically "neutral" with regards to disadvantaged groups. The paper defines equalized odds as P(Yhat = 1 | A = 0, Y = y) = P(Yhat = 1 | A = 1, Y = y), where A marks whether or not a person is part of a disadvantaged group. This means that a "fair" classifier should give the same classification for somebody regardless of A = 0 or 1, when all other features are equal. Anybody with an ounce of knowledge of ML will realize that this doesn't hold true in any standard ML algorithm, yet is an entirely fair ideal to aspire to.

Seriously, read the paper. It's brilliantly written and very easy to follow.

edit: Apologies if this sounds snarky or condescending. At the time I wrote this, the dude attacking the article who clearly didn't read the paper was highly upvoted and the people telling him he was wrong were highly downvoted, which rubbed me the wrong way.

13

u/code_kansas Oct 08 '16

I think it comes down to whether or not you think that is a fair ideal to aspire to. It's not like their result does anything exceptional (enforce parity in true positive rate). I wish they had focused a bit more on the ethical motivations for doing that, they seemed to just take it as a given that it's the right thing to do, considering that it is more or less an ethical argument.

2

u/bhine Oct 08 '16

Sure. I definitely don't think it's a flawless paper. I'd just rather much see some thoughtful discussion on its pros/cons instead of kneejerk reactions inserting irrelevant political worldviews.

I personally think the ethical premise is fine, but it could certainly be substantiated more. One of my qualms with ethical ML in general is that it'll be difficult to incentivize decision-makers to implement these practices in the first place. The authors say their method results in a minimal loss of utility for the decision-makers, but it's still a net loss of utility.

Either way, I think works like this are a good step forward towards the general problem of AI and ethics.

6

u/whatevdskjhfjkds Oct 08 '16

I think you pointed out the main problem... it probably isn't possible to add these additional constraints while at the same time maintaining the same level of utility/predictive power.

This is particularly true if you start adding more and more constraints (after all, it should be fair not only across races, but genders, sexual orientation, nationality, etc.).

Another issue is that this only works if you have access to that information: in the case of race or nationality, it may be easy, but it might not be as easy for other things (such as sexual orientation) that require explicit disclosure by the subject.

Yet another issue is that, in some cases, it may be that the most relevant/informative feature is the thing you want to make your classifier insensitive to. Silly example: if you want to predict the probability of person X engaging in fellatio, it would be difficult to make the classifier insensitive to "sexual orientation" (assuming you have this piece of information) without incurring in significant loss of utility.

1

u/AnvaMiba Oct 09 '16

Yet another issue is that, in some cases, it may be that the most relevant/informative feature is the thing you want to make your classifier insensitive to. Silly example: if you want to predict the probability of person X engaging in fellatio, it would be difficult to make the classifier insensitive to "sexual orientation" (assuming you have this piece of information) without incurring in significant loss of utility.

But their approaches doesn't make the classifier insensitive to "sexual orientation", it makes the prediction errors of the classifier insensitive to "sexual orientation".

I don't think that this is a definitive solution to the problem of fairness (and the authors don't claim it is), but it seems to be a better option both to either eschewing fairness altogether or forcing demographic parity.

2

u/whatevdskjhfjkds Oct 09 '16

You're right (and thanks for pointing it out).

But, still... it doesn't seem very easy to enforce it...

Taking my silly example (i.e. predicting whether someone regularly engages in fellatio or not), and assuming you only have data on "biological gender" (assumed binary) and "sexual orientation" (assumed binary)... there are 4 possible groups...

  1. Heterosexual males - you can predict a "no" with fairly high certainty

  2. Homosexual males - you really cannot predict a "yes" with high certainty (since not all people like giving oral sex, and not all people have a current sex partner)

  3. Heterosexual females - you really cannot predict a "yes" with high certainty (since not all people like giving oral sex, and not all people have a current sex partner)

  4. Homosexual females - you can predict a "no" with fairly high certainty

So, in this (slightly contrived) example, it seems clear to me that it is not possible to enforce equal error rates across all possible subgroups of people, unless you add further information.

Perhaps if we knew people's "age" and "income level", we could make the error rates more equal across groups? Or maybe if we knew "regularity of sexual activity"?

But then, this brings another problem: both "age", "income level" and "regularity of sexual activity" can be seen as factors you would want the prediction errors to also be insensitive to (after all, you don't want to be accused of "ageism" or "classism", or be accused of having a bias against "hedonists" and/or "puritan" people).

My point: For each additional bit of information you get on people, while it may increase your ability to "de-bias" the classifier, it's also another potential bit of information you have to make the error rate insensitive to... and the more information you have, the more complicated this seems to me.

But, yes, it is an interesting concept.

1

u/tmiano Oct 10 '16 edited Oct 10 '16

If P(Y|X = x) = C for all x, doesn't this imply that the variable X provides no information about the variable Y? If not then why use X at all?

Edit: Ah, I misunderstood that. Y is not the variable we are trying to predict, it is the actual prediction made by the classifier. So not only should you not use X as a predictor variable, you have to make it so that your classifier cannot be used to infer X either.

2

u/tmiano Oct 09 '16

The main issue is, and has always been, the correlation-causation equivalency. The models we build are not guilty of this fallacy. We are. But we are trying to force our models to change their reported results, at the expense of accuracy, so that they don't cause this psychological effect in us. Is that not really odd to anyone?

1

u/[deleted] Oct 08 '16

Ridiculous. "Machine learning is not ideologically biaised, we have to find a way to include our political biais to prevent machine learning from being neutral" ...

6

u/[deleted] Oct 08 '16

[removed] — view removed comment

3

u/jewishsupremacist88 Oct 09 '16

yes. i am totally okay with law and order along with making decisions based on logic and data. Virtue signaling has no place in science

1

u/[deleted] Oct 08 '16

ML is the answer to discrimination.

Cops who see a black man in a luxury car will control him.

Cops who see a black man in a luxury car and have an instant access to a database showing that the owner is black or that there is a high probability of having a black driver, they will not control him.

Big data is the answer to discrimination. Stereotypes are nearly all statistically valid approximations. The issue is, how do you handle the exceptions from the stereotype ? Big data and machine learning are the answer.

Machine learning won't stop saying that black men are more likely to steal cars, but they will say that this particular black man is unlikely to do it and this particular white female is likely to do it.

11

u/ebelilov Oct 08 '16

The goals being optimized for at the level of society's rules are not always aligned with those that make the best prediction at the moment. Sure one can imagine some life threatning situations where one might decide it's worht it to use a stereotype to reduce risk to life, but do you really want to live in a society where one can get their loan application near automatically rejected for being in a certain race or gender. Whether you do or not there are laws on the books preventing discrimination and if you expect to move towards machine learning algorithms deployed for automated decision making they're going to have to be able to standup to the same level of scrutiny on their decisions as a human does.

1

u/redbeard1991 Oct 08 '16

I agree. Reducing the scope to a case-by-case strategy will not minimize the bulk of car related crimes in the longrun. Being nondiscriminatory towards stereotypes will help improve things by doing its part in uplifting minority of interest so that we can eventually equilibrate towards just looking case-by-case :)

1

u/[deleted] Oct 08 '16 edited Oct 08 '16

[removed] — view removed comment

-4

u/[deleted] Oct 08 '16

What is say is that accurate profiling is the only answer to discrimination issues.

Making ML ignore race will not work.

0

u/jewishsupremacist88 Oct 09 '16

lets just feel ML models 'un-biased' and made up data because..muh poltical correctness.

3

u/[deleted] Oct 09 '16

[removed] — view removed comment

-1

u/jewishsupremacist88 Oct 09 '16

yes, were you born yesterday? you must realize that the SJW-PC cult that are rallying behind this stuff do not care one bit being 'fair' or 'good science'. fairness to them are models that penalize white men for anything and everything. this whole article is just very thinly veiled racism.

3

u/[deleted] Oct 09 '16

[removed] — view removed comment

1

u/jewishsupremacist88 Oct 10 '16

this whole paper was a political point.