Algorithmic Bias
& Fairness
Explore how automated decision-making can embed injustice, and learn the ethical frameworks philosophers use to evaluate algorithmic systems.
What Is an Algorithm?
An algorithm is a step-by-step procedure for solving a problem or making a decision. In the digital age, algorithms process data to produce outputs: loan approvals, news feeds, hiring recommendations, and criminal risk scores.
Defining Algorithmic Bias
Algorithmic bias occurs when an automated system produces results that are systematically unfair to particular groups of people: by race, gender, socioeconomic status, or other protected categories.
Why Fairness Matters
Algorithmic decisions now govern high-stakes domains: who gets a loan, who is released on bail, which students receive scholarships. When these systems embed bias, they can scale injustice to millions of people at computational speed.
Three Ethical Frameworks
Philosophers evaluate algorithmic fairness through multiple lenses. Each framework asks a different fundamental question about what makes a system just or unjust.
Formalizing Fairness
Computer scientists have tried to translate philosophical intuitions into mathematical definitions. Two major fairness criteria are:
The Impossibility Theorem
A landmark result in fairness research shows that when base rates differ between groups, you cannot simultaneously satisfy multiple fairness definitions. This is analogous to Arrow's impossibility theorem in social choice theory.
Bias vs. Discrimination
These terms are often confused but carry importantly different meanings in philosophical analysis.
| Bias | Discrimination | |
|---|---|---|
| Definition | A systematic deviation from accuracy or neutrality | Differential treatment based on group membership |
| Nature | Can be statistical or cognitive: not always morally wrong | Always involves moral evaluation: can be just or unjust |
| Example | A model under-predicts risk for one group | A policy denies loans to a racial group |
| Key Question | Is the system accurate? | Is the treatment justified? |
How to Evaluate an Algorithm
Case Study: COMPAS
The COMPAS system was used by U.S. courts to predict whether defendants would re-offend. A ProPublica investigation found that it falsely labeled Black defendants as high-risk at nearly twice the rate of white defendants.
Case Study: Hiring AI
A major tech company built a resume-screening algorithm trained on 10 years of hiring data. Because the company had historically hired mostly men, the algorithm learned to penalize resumes that mentioned women's colleges or women's organizations.
Case Study: Healthcare Allocation
A widely used healthcare algorithm assigned risk scores to patients to determine who needed extra care. Researchers discovered it used healthcare spending as a proxy for health needs.
Rawls and the Veil of Ignorance
John Rawls proposed a thought experiment: imagine you are designing a society without knowing your place in it. Would you accept an algorithm that benefits the majority but harms a minority?
Transparency and Accountability
Many algorithms operate as "black boxes": their internal logic is opaque even to their creators. This raises deep philosophical questions about moral responsibility.
Common Mistakes
Summary: Frameworks at a Glance
| Framework | Core Question | Strength | Limitation |
|---|---|---|---|
| Deontological | Are rights respected? | Protects individuals | May ignore outcomes |
| Consequentialist | Is overall welfare maximized? | Considers all effects | May sacrifice minorities |
| Rawlsian Justice | Does it benefit the worst-off? | Centers the vulnerable | Hard to operationalize |
Question 1 of 5
A criminal risk algorithm has equal accuracy for all racial groups, but its false positive rate is significantly higher for one group. Which fairness criterion does it violate?
Question 2 of 5
A philosopher argues that an algorithm is unjust because no rational person would accept it if they didn't know which group they belonged to. Which ethical framework is this philosopher using?
Question 3 of 5
The impossibility theorem in algorithmic fairness is significant because it shows that:
Question 4 of 5
Position A: "The healthcare algorithm is not unjust because it accurately predicts future healthcare costs. It simply reflects reality: some groups cost less to treat."
Position B: "The algorithm is unjust because it uses a proxy (spending) that is itself shaped by unequal access. It compounds a prior injustice rather than addressing health needs directly."
Which best describes the core disagreement between Position A and Position B?
Question 5 of 5
A company's hiring AI penalizes resumes from women's colleges. A Kantian critique of this system would most likely argue that: