What are the primary sources of bias and unfairness in machine learning systems?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
What are the primary sources of bias and unfairness in machine learning systems?
```hint Walk the lifecycle
Go stage by stage: data collection, labeling, problem definition, training, evaluation and deployment. At each stage, ask how one group could end up treated differently from another.
```
### What a Strong Answer Covers
- Data-level sources (historical, representation, measurement and label bias), each with an example.
- Sources introduced by problem formulation, such as the choice of target and proxy features.
- Sources in modeling and evaluation, such as optimizing average loss and reporting only aggregate metrics.
- Sources that appear after deployment, such as feedback loops, selective labels and use outside the intended population.
- How to detect and mitigate these, including the fact that fairness criteria can conflict.
### Follow-up Questions
- Why does removing the sensitive attribute from the features not make a model fair, and why might you still need to collect it?
- How would you detect a feedback loop in a deployed credit or content ranking model?
- Give one pre-processing, one in-processing and one post-processing mitigation, and the trade-off of each.
Overview: Asks where bias and unfairness come from across the machine learning lifecycle, from data collection and labeling to problem framing, evaluation and deployment. Tests whether you can name concrete sources with examples and explain how to detect and mitigate them.