Over a million developers have joined DZone.

Removing the Unfairness From AI

DZone's Guide to

Removing the Unfairness From AI

Read about a paper done by a Google researcher that's aimed at detecting discrimination in Artificial Intelligence algorithms.

· Big Data Zone ·
Free Resource

How to Simplify Apache Kafka. Get eBook.

AI has a tremendous amount of potential to improve our decision-making, but it also has the potential to bake in the numerous biases that inflict our own decision-making processes. With AI making increasingly sensitive and decisive decisions about crucial matters, it is paramount that the biases of human developers aren’t coded into the algorithms that underpin our AI.

As such, it’s perhaps not surprising that a number of research projects have emerged to try and rectify matters. One of these, led by researchers from Google, was published last Autumn and aimed to detect discrimination in algorithms.

Analyzing Fairness

The paper suggests that biases can be uncovered simply by looking at the data that is fed into the algorithm and then comparing that with the decisions that come out the other end.  Knowledge of the algorithm itself is therefore not required.

“Our criteria does not look at the innards of the learning algorithm,” the authors say. “It just looks at the predictions it makes.”

It’s an approach known as equality of opportunity in supervised learning and works on the principle that an algorithm should not reveal anything about an individual’s race or gender beyond what is in the data itself.

Whilst the approach is interesting, it has a number of flaws.  For instance, transparency around how an algorithm works is seen as fundamental to public trust in AI, especially when it begins to take on more important, and sensitive, decision making.

The approach also fails to take a contextual exploration of why biases and discrimination occur in the first place, which is something a team of researchers from the Turing Institute aimed to overcome in a recently published paper.

The Context of Discrimination

The research used causal inference to analyze fairness in an approach they refer to as counterfactual fairness.  The authors argue that any assessment mechanism must examine the underlying factors that cause unfairness in data.

“One central fact of statistics is that ‘correlation’ is not ‘causation.’ For example, there is a correlation between number of Nobel prizes won by people in a given country and the level of chocolate consumption. Such correlations can often be explained by some other factor, in this case something like economic wealth. Wealth is required to fund the great educational institutions that conduct Nobel prize winning research and to purchase luxury goods like chocolate,” the authors say.

They argue that if fairness is only defined in terms of correlations, it can lead to nonsensical decisions, such as the correlation between chocolate and education outlined above.  Indeed, such rationale could even increase unfairness rather than decrease it.

The counterfactual fairness approach hopes to tackle the issue via the causal relationships that emerge rather than relying purely on correlations.  The team demonstrated their approach using stop and frisk data in New York City.

The authors hope that the framework provides organizations that are utilizing AI in their decision-making processes a better way of ensuring they are fair and without bias.

“Firms may have specific legal obligations regarding fairness and they could potentially use our framework not just as way to achieve fairness, but also to explain how and why they are making those decisions. We would like to explore further how to relate our work to actual legal and regulatory requirements, and to collaborate with Turing partners or other organizations to apply this to real-world problems,” the authors say.

12 Best Practices for Modern Data Ingestion. Download White Paper.

big data ,artificial intelligence ,data science ,machine learning ,algorithms

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}