Fairness

Fairness in AI is the aim that automated systems treat people justly, which in practice means testing whether a system's decisions or errors fall unequally on different groups or individuals and correcting harmful gaps.

Fairness is an ethical and legal idea, and AI fairness is the effort to turn it into something that can be measured and engineered. A model that decides who gets a loan, a job interview or bail is fair, in this sense, if its decisions and its mistakes do not disadvantage people unjustly, particularly on grounds such as race, sex or disability. The difficulty is that people disagree about what just treatment means, and NIST's AI Risk Management Framework notes that standards of fairness vary across cultures and applications.

The case that made the problem famous involved COMPAS, a tool used to predict reoffending. In May 2016 ProPublica analysed its scores in Broward County, Florida, and found that Black defendants who did not reoffend were almost twice as likely as white defendants to have been labelled higher risk, at 44.9% against 23.5%. The vendor, Northpointe, disputed the analysis and defended the accuracy of its scores. Both sides could be right at the same time, because they were measuring different kinds of fairness.

Researchers then proved that this conflict is unavoidable. In 2016 Jon Kleinberg, Sendhil Mullainathan and Manish Raghavan showed that three intuitive fairness conditions for risk scores cannot all hold at once except in highly constrained special cases, and Alexandra Chouldechova showed that when reoffending rates differ between groups, a score meeting one common fairness test will produce unequal error rates. Choosing a fairness definition is therefore a value judgement about which errors matter most, not a purely technical step.

In practice, teams work at two levels. Group fairness compares outcomes or error rates across groups, using fairness metrics such as demographic parity or equalised odds. Individual fairness asks whether similar people are treated similarly. Both depend on the data: if past decisions were biased, labels drawn from them carry that bias forward. NIST also warns that a system can be balanced across demographic groups and still be unfair in other ways, for example by being inaccessible to people with disabilities.

For readers, the sensible question about any claim that a system is fair is: fair by which measure, for which groups, and tested on what data? Fairness work can reduce real harms, but no single number certifies a system as fair, and a company's chosen metric may not be the one the people affected would choose.

Common questions

What is fairness in AI?

It is the goal that AI systems do not disadvantage people unjustly, especially on protected characteristics such as race or sex. In practice it means measuring whether decisions or error rates differ across groups or between similar individuals, and reducing gaps that cause harm.

Why can't an AI system satisfy every definition of fairness?

Because several common definitions are mathematically incompatible when groups have different base rates. Kleinberg, Mullainathan and Raghavan proved in 2016 that three intuitive conditions for risk scores cannot all hold except in special cases, so designers have to choose which kinds of error to equalise.

What was the COMPAS controversy?

In 2016 ProPublica reported that the COMPAS reoffending tool wrongly labelled Black defendants as higher risk almost twice as often as white defendants. The vendor disputed the analysis. The dispute showed that different fairness definitions can give opposite verdicts on the same system.

How do companies test AI for fairness?

They compare the model's outcomes and error rates across groups using fairness metrics, check performance on subgroups, review the training data for historical bias, and often use open-source toolkits such as Fairlearn. Good practice also involves deciding in advance which harms matter most for the specific use.

Finding more

Search for "algorithmic fairness impossibility", "COMPAS ProPublica" or "fairness metrics machine learning" to see the core debates. Peer-reviewed papers, NIST's AI Risk Management Framework and documentation from open-source toolkits such as Fairlearn are reliable starting points. Be wary of claims that a product is certified fair without details of the metric, the groups tested and the data used.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.