Bias Mitigation Strategies

Key points

  • Pre-training: ensure representative data, quality labelling with trained annotators, rebalancing, proxy variable removal, cost-weighted learning
  • In-training: fairness constraints on optimisation, regularisation penalties for unfair outputs, adversarial debiasing, group-specific threshold optimisation
  • Post-training: output adjustment (calibration, class label modification), causal fairness methods using causal graphs to block illegitimate pathways
  • Human-in-the-loop: review low-confidence decisions, vulnerable populations, representative samples, and all contested decisions
  • Stakeholder engagement: affected communities identify biases developers miss, validate fairness metrics, and hold organisations accountable
  • Accuracy-fairness trade-off is real: the governance question is what accuracy reduction is acceptable for improved fairness
  • Incompatible metrics require deliberate choice: equalized odds for justice, calibration for lending, demographic parity for representation — document the rationale
  • Continuous monitoring essential: bias can emerge or worsen over time due to drift, population changes, and feedback loops

Bias Mitigation Strategies

Effective bias mitigation requires a multi-layered approach that addresses bias at every stage of the AI lifecycle: in the data before training, during the training process itself, and in the model's outputs after training. No single technique eliminates bias entirely; responsible governance combines multiple approaches and monitors their effectiveness continuously.

Pre-training Mitigation

Data Collection and Representation

The most effective way to prevent bias is to ensure that the training data is representative, high-quality, and free from systematic discrimination. Oversampling underrepresented groups increases their representation in the training data, giving the model more examples to learn from. Stratified sampling ensures that the training data reflects the demographic composition of the population the model will serve. Diverse data sources reduce the risk that any single source's biases dominate the model's learned patterns. Geographic and temporal coverage ensures the data captures the full range of conditions the model will encounter.

Data Labelling Quality

The quality of labels (the "correct answers" in supervised learning) directly affects bias. If labellers are not trained on fairness considerations, their own biases can contaminate the training data. Best practices include training annotators on fairness and the potential for bias, using multiple independent raters for each example to reduce individual bias, establishing clear disagreement resolution procedures, conducting regular quality audits of labelling output, and documenting the labelling methodology, annotator demographics, and quality assurance processes.

Data Preprocessing

After collection and labelling, preprocessing techniques can further reduce bias. Rebalancing adjusts the representation of different groups through oversampling minority groups, undersampling majority groups, or generating synthetic examples using techniques like SMOTE (Synthetic Minority Oversampling Technique). Feature engineering involves removing features that directly encode protected attributes, identifying and addressing proxy variables that indirectly encode protected status, and creating fairness-aware features that decouple legitimate predictive signals from discriminatory patterns. Cost-weighted learning assigns different misclassification costs to different groups, making it more "expensive" for the model to make errors on underrepresented groups.

In-training Mitigation

Fairness Constraints

Rather than training the model to maximise accuracy alone, fairness constraints add fairness requirements to the optimisation objective. The model is trained to find the best trade-off between accuracy and fairness, subject to constraints that ensure the fairness metrics remain within acceptable bounds. For example, a constraint might require that the model's true positive rate differ by no more than 5 percentage points between groups.

Regularisation for Fairness

Fairness regularisation adds a penalty term to the loss function that increases when the model produces unfair outputs. The model is simultaneously incentivised to be accurate (by the primary loss function) and to be fair (by the regularisation penalty). The strength of the penalty determines the trade-off: stronger regularisation produces fairer but potentially less accurate models.

Adversarial Debiasing

Adversarial debiasing trains two neural networks simultaneously. The primary network performs the prediction task, while an adversary attempts to infer group membership from the primary network's internal representations. The primary network is trained to maximise prediction accuracy while minimising the adversary's ability to detect group membership. This forces the primary network to learn representations that are useful for prediction but do not encode protected attributes.

Threshold Optimisation

Rather than using a single decision threshold for all groups, threshold optimisation finds group-specific thresholds that satisfy a chosen fairness metric. By adjusting the point at which a prediction becomes a positive decision independently for each group, it is possible to achieve demographic parity, equalized odds, or other metrics while preserving the model's underlying predictive quality. This approach is transparent and auditable, as the thresholds are explicit and documented.

Post-training Mitigation

Output Adjustment

Post-training techniques modify the model's outputs to meet fairness criteria without retraining. This includes adjusting predicted probabilities to be calibrated within each group, modifying predicted class labels to equalise outcome rates, and applying reject option classification, where predictions near the decision boundary are reconsidered with fairness in mind.

Causal Approaches

Causal fairness methods use causal reasoning to distinguish between legitimate and illegitimate influences on decisions. A causal graph maps the relationships between variables, and fairness is defined as blocking causal paths from protected attributes to decisions that flow through illegitimate mechanisms. For example, gender might legitimately influence a medical risk prediction through biological pathways but should not influence it through historical hiring discrimination. Causal approaches are more theoretically sound than purely statistical methods but require domain expertise to construct the causal graph and are more complex to implement.

Human-in-the-Loop Mitigation

The Role of Human Review

Technical mitigation is necessary but not sufficient. Human review adds a layer of judgment that algorithms cannot replicate. High-stakes decisions should involve human review of cases where the model's confidence is low or the decision is at the boundary, cases involving vulnerable populations where errors have disproportionate consequences, a representative sample of all decisions (not just edge cases) to detect systematic patterns, and all cases where individuals exercise their right to contest or appeal an AI-driven decision.

Stakeholder Engagement

Meaningful bias mitigation requires input from the communities most likely to be affected by the AI system. Affected communities can identify biases that developers may not recognise, provide context about how the system's outputs interact with real-world conditions, validate whether proposed fairness metrics capture their conception of fairness, and hold the organisation accountable for following through on commitments.

Managing Trade-offs

The Accuracy-Fairness Trade-off

Fairness constraints typically reduce a model's overall accuracy. This trade-off is real and cannot be eliminated, but it can be managed. The key governance question is not "can we eliminate the trade-off?" but "what level of accuracy reduction is acceptable in exchange for improved fairness?" This decision should involve affected stakeholders, be documented with clear rationale, and be reviewed periodically as the model and its context evolve.

Incompatible Metrics

Because different fairness metrics cannot all be satisfied simultaneously, organisations must choose which metric to prioritise for a given application. The choice depends on the context: in criminal justice, equalized odds (equal accuracy across groups) may be most important because false positives deprive people of liberty. In lending, calibration may be paramount because lenders need predicted probabilities to reflect actual risk. In hiring, demographic parity may be prioritised to address historical underrepresentation. The chosen metric, the rationale for choosing it, and the stakeholders consulted should all be documented.

Continuous Monitoring

Bias mitigation is not a one-time activity. Models drift over time as the data distribution changes, as the population changes, and as the model's own outputs influence future data. Continuous monitoring must track fairness metrics over time, detect emerging disparities before they become significant, trigger re-evaluation and potential retraining when thresholds are breached, and report fairness trends to governance bodies alongside performance trends.

Practise AIGP questions

Members get the AIGP question bank with explanations, flashcards, timed mock exams, Privacy Pro AI, progress tracking and the Pass Guarantee.