Algorithmic Bias Explained: How AI Can Discriminate, and How to Prevent It
AI is often described as objective because it is “just maths”. In reality, AI systems can reproduce and even amplify unfairness. When an algorithm consistently disadvantages certain groups, by gender, ethnicity, age, disability, language or location, we call it algorithmic bias. Understanding how it happens is the first step to preventing it.
How bias gets into AI systems
Biased or unrepresentative data
If training data under-represents some groups, the system may perform worse for them. A face recognition system trained mostly on lighter-skinned faces may make more errors on darker-skinned faces.
Historical inequality in the data
Data reflects the past. If past hiring or lending decisions were unfair, a system trained on them can learn to repeat that unfairness.
Proxy variables
Even when sensitive attributes are removed, other data, such as location, school or phone type, can act as proxies and lead to the same unfair outcomes.
Design and deployment choices
What a system is optimised for, where it is used and who checks it all shape fairness. A tool built for one context may be unfair in another.
Where bias can cause harm
- Credit and digital lending: who gets loans and at what terms.
- Hiring: automated CV screening.
- Public services: eligibility decisions and fraud detection.
- Policing and surveillance: face recognition and risk scoring.
- Healthcare: diagnostic tools that perform unevenly across groups.
- Language tools: services that work poorly for speakers of some languages.
Practical safeguards
- Test performance across groups, not just overall accuracy.
- Use representative local data where it is lawful and consented.
- Keep humans accountable for significant decisions about people.
- Explain decisions and give people a way to challenge them.
- Monitor after deployment; bias can emerge over time.
- Involve affected communities in design and evaluation.
Key takeaways
- AI can be unfair because of data, design and deployment choices.
- Removing sensitive attributes does not automatically remove bias.
- Test across groups and monitor continuously.
- People affected by AI decisions need explanations and a right to challenge.
Our research and accountability work examines bias in AI systems used in African contexts.
Questions Readers Ask
Can AI ever be completely unbiased?
Eliminating all bias is very difficult, but it can be measured, reduced and monitored, and its effects can be limited through human oversight and accountability.
Who is responsible when an AI system discriminates?
The organisations that build and deploy the system remain responsible. Using AI does not remove legal or ethical obligations.


