AI for All
Online BA · Sem 6
0% complete
0/11 lessons
Lesson 8 of 11
AI Bias and Fairness
AI for All
About the video
Algorithmic Bias and Fairness: Crash Course AI #18
CrashCourse
Study notes
Algorithmic bias happens when AI systems copy or amplify biases from the real world through their data and design. Bias in itself is a natural pattern-finding shortcut, but it becomes harmful when it leads to unfair treatment or discrimination. There are five main sources of algorithmic bias, and they can be managed through transparency, better data and critical human oversight.
Bias vs Discrimination
- Algorithms are math and code, but they are made by people and trained on human data, so they can mirror or exaggerate real-world biases.
- Bias is a natural shortcut for finding patterns. It becomes a problem when exceptions are ignored or groups are treated unfairly.
- Laws prevent discrimination based on protected classes (e.g. gender, race, age) in areas like employment and housing.
- Everyone has bias, but discrimination can be prevented.
Five Types of Algorithmic Bias
- 1. Training data reflects hidden societal biases (e.g. 'nurse' is linked to women, 'programmer' to men). Removing protected attributes is not enough, because correlated features like zip code (race) or purchase history (gender) can act as proxies.
- 2. Some groups have too few examples in the data, so predictions are less accurate for them (e.g. face recognition and passport photo checkers that perform worse on underrepresented groups).
- 3. Some qualities are hard to quantify, so AI relies on easy-to-measure shortcuts (e.g. essay graders scoring sentence length and vocabulary, which nonsense essays can fool).
- 4. Positive feedback loops: the algorithm influences the data it later receives and amplifies the past (e.g. PredPol sending police to the same neighbourhoods, producing more arrests there, which are fed back into the algorithm).
- 5. Deliberate manipulation of training data (e.g. Microsoft's Tay chatbot became offensive within 12 hours after a coordinated attack).
Consequences (HireMe! Example)
- A hiring AI that links an irrelevant feature (the name 'John') to bad outcomes rejects applicants. Each rejection is added back to the data, so future applicants face even lower odds.
- AI finds correlations but often cannot explain why it makes a prediction.
- Correlations such as age being linked to low digital skill may be untrue and are illegal discrimination against a protected class.
Reducing Bias
- Accept that algorithms will be biased, and be critical of their outputs instead of trusting 'the computer said so'.
- Transparency means being able to examine inputs and outputs to understand recommendations. This is hard with the hidden layers of deep learning.
- More data on protected classes can help detect discrimination, but it raises privacy concerns and the fear of misuse.
- Some people propose clinically testing algorithms for 'side effects', as is done with medicines.
Key terms
- Algorithmic bias
- When AI systems reproduce or amplify biases that exist in real-world data and society.
- Protected class
- A legally protected attribute such as gender, race or age that cannot be the basis for discrimination.
- Correlated feature
- A feature not explicitly in the data that acts as a proxy for a protected class (e.g. zip code for race).
- Positive feedback loop
- When an algorithm's outputs shape its future input data, amplifying past patterns whether or not they are fair.
- Transparency
- The ability to examine an algorithm's inputs and outputs to understand why it makes recommendations.
Takeaways
- Bias is natural, but discrimination against protected classes must be prevented.
- The five sources of algorithmic bias are hidden societal bias, unbalanced data, hard-to-quantify features, feedback loops and manipulation.
- Removing protected attributes does not remove bias, because proxies remain.
- Humans must critically review AI outputs, and transparency is key.
Contribute
Was this lesson helpful?
We read every rating and fix the weakest lessons first.