← All posts
5 min read

Bias in Machine Learning: How Distorted Outcomes Enter a Model

#technology#machine-learning#bias#fairness
📑 On this page

Machine-learning data comes from human institutions, products, markets, sensors, and previous decisions.

It is not a neutral sample of the world.

ML bias can enter through who is observed, how labels are created, which target is optimized, and how predictions are used.

Mathematical consistency alone does not guarantee fair or appropriate outcomes.

A concrete example: historical hiring

A model trains on past hiring decisions.

If earlier decisions discriminated against a group, the label "hired" reflects that process. The model can learn correlated patterns and reproduce them at scale.

Predicting historical selection is not the same as predicting job success.

Statistical bias

In statistics, bias can mean systematic error in an estimator.

Fairness discussions use bias more broadly for distorted or unfair outcomes.

Be precise about which meaning and harm are under discussion.

Historical bias

The measured world may already contain inequality.

Examples:

  • unequal access to credit,
  • policing patterns,
  • healthcare availability,
  • promotion history.

Accurate prediction of history can perpetuate its injustice.

Sampling bias

Training examples may exclude:

  • rural users,
  • low-bandwidth devices,
  • one language,
  • people who abandoned a process,
  • or groups with less recorded data.

The model performs best where observation is richest.

Measurement bias

Features may measure groups differently.

A wearable sensor can be less accurate across skin tones. Support-ticket count reflects willingness and ability to contact support, not only product difficulty.

Validate measurement across deployment conditions.

Label bias

Labels can encode subjective or institutional judgment:

  • "high potential,"
  • "suspicious,"
  • "good employee,"
  • "risk."

Use clear criteria, multiple reviewers, appeals, and outcome-based labels where appropriate.

Proxy variables

Removing a protected attribute does not remove its influence.

Postal code, school, language, purchasing pattern, and device can correlate with protected traits.

Review necessity and group outcomes rather than relying on unawareness.

Objective bias

The chosen target and reward shape outcomes.

Optimizing clicks can promote sensational content. Minimizing support time can end conversations prematurely.

Include quality and harm guardrails.

Representation bias

How data is encoded can erase important distinctions or amplify irrelevant ones.

Pretrained embeddings can carry stereotypes from source text. Image encoders can reflect imbalanced web data.

Evaluate representations in context.

Aggregation bias

One model may assume the same relationship for different populations.

A symptom, language pattern, or financial behavior can mean different things across groups.

Separate models or group-aware features may help, while introducing other governance concerns.

Evaluation bias

A test set can underrepresent affected groups or use metrics that hide harm.

High overall accuracy can coexist with poor recall for a minority class.

Report subgroup uncertainty and sample size.

Deployment bias

A model can be used outside its intended context:

  • trained for assistance, used for automatic rejection,
  • trained on adults, applied to children,
  • score treated as fact.

Document intended use, limitations, and human workflow.

Feedback loops

Predictions change future data.

A policing model sends more patrols to one area, generating more recorded incidents there, which reinforces the model.

Monitor interventions and collect counterfactual evidence where possible.

Fairness definitions

Possible criteria include:

  • equal error rates,
  • equal opportunity,
  • calibration,
  • demographic parity,
  • individual consistency.

They can conflict when base rates differ.

Choose criteria from rights, harm, law, and product context, not convenience.

Thresholds

One score threshold can create different false-positive and false-negative rates across groups.

Group-specific thresholds may improve one fairness criterion while raising legal, ethical, and communication issues.

There is no purely technical universal answer.

Intersectionality

Analyzing one attribute at a time can hide harm at intersections:

  • age and gender,
  • disability and language,
  • race and geography.

Sample sizes become smaller, so combine quantitative and qualitative evidence.

Mitigation before modeling

Improve:

  • access,
  • process,
  • measurement,
  • label,
  • target,
  • and policy.

A fairer algorithm cannot repair an unjust decision process whose goal remains harmful.

Data mitigation

Options include:

  • better sampling,
  • reweighting,
  • label review,
  • missing-group collection,
  • and removal of unjustified proxies.

Synthetic balance should not invent unrealistic examples.

Model mitigation

Methods can constrain:

  • error disparities,
  • representations,
  • or optimization.

Technical mitigation needs validation across accuracy, fairness, robustness, and operational impact.

Human oversight and appeal

High-impact decisions need:

  • understandable evidence,
  • trained reviewers,
  • authority to override,
  • time,
  • and appeal.

A ceremonial approval click does not create fairness.

Monitoring

After deployment, track:

  • outcome,
  • error,
  • calibration,
  • appeal,
  • override,
  • and drift

across affected groups.

Labels may arrive late, so maintain ongoing review.

Build contestability into the system

A person affected by an automated decision should have a practical way to question it. Contestability includes:

  • notice that automation influenced the decision,
  • an understandable reason at the appropriate level,
  • a route to correct inaccurate data,
  • timely review by someone with authority,
  • and a record of the final resolution.

Appeals are not only a fairness mechanism. They are also a source of evidence. Repeated successful appeals may expose a bad proxy, stale data, inaccessible documentation, or a subgroup the evaluation missed.

Track appeal rates, resolution times, reversal reasons, and downstream harm. Do not design a nominal human review in which the reviewer lacks context, time, or permission to disagree with the model. Meaningful oversight must be capable of changing the outcome.

Knowledge check

  1. How can historical accuracy reproduce unfairness?
  2. Why does removing protected attributes not guarantee fairness?
  3. What is deployment bias?
  4. Why can fairness metrics conflict?
  5. What makes human oversight meaningful?

The one idea to remember

ML bias is sociotechnical: it can enter through history, sampling, measurement, labels, proxies, objectives, evaluation, deployment, and feedback. Fairness requires affected-group evidence, justified criteria, process change, technical controls, monitoring, and remedy.