Skip to main content

Command Palette

Search for a command to run...

โš–๏ธ Bias in AI Explained Like You're 5

Published
โ€ข2 min read
S

Building AI systems and writing about how they actually work. Master of AI @ University of Technology Sydney. Previously B.Tech CS with focus on IoT. I believe the best way to learn is to explain. That's why I'm documenting tech concepts with simple analogies (@sreekarreddy.com). AWS Certified โ€ข Azure AI Certified โ€ข Neo4j Professional โ€ข Google Data Analytics When not coding: exploring Sydney, working on side projects, and teaching tech to anyone who'll listen.

When AI learns unfair patterns from data

Day 85 of 149

๐Ÿ‘‰ Full deep-dive with code examples


The Mirror Analogy

A mirror reflects whatโ€™s in front of it โ€” flaws and all.

If you train AI on biased data, it can reflect and amplify those biases.

AI isn't biased on purpose - it learned from biased examples.


How Bias Gets In

Historical hiring data:
- 80% of engineers hired were men
     โ†“
AI learns the pattern:
- "Male candidates are better"
     โ†“
AI discriminates:
- Lowers scores for female applicants

The AI learned from historical discrimination!


Real Examples

DomainBias
Hiring AIPenalized "women's" activities on resumes
Facial recognitionHigher error rates for dark-skinned faces
Healthcare AIRecommended less care for Black patients
Loan AIDenied based on zip code (redlining)

Why It's Hard to Fix

  • Bias can be subtle, not obvious
  • Historical data often contains discrimination
  • "Fair" has multiple definitions
  • Removing features doesnโ€™t reliably remove bias

What Helps

  • Diverse training data: Represent all groups
  • Bias auditing: Test on different demographics
  • Human oversight: Don't automate everything
  • Fairness constraints: Mathematical limits on bias

In One Sentence

AI Bias occurs when systems learn unfair patterns from biased data, potentially causing harm at scale.


๐Ÿ”— Enjoying these? Follow for daily ELI5 explanations!

Making complex tech concepts simple, one day at a time.

More from this blog

esreekarreddy

132 posts