Introduction
As AI algorithms increasingly govern high-stakes decisions—from recidivism prediction in the justice system to medical diagnostic tools—the risk of inheriting or amplifying societal biases has become a central concern. Human-generated training data often contains historical prejudices that, if left unaddressed, lead to discriminatory outcomes. While the machine learning community has proposed numerous mathematical definitions of fairness and debiasing techniques, research remains fragmented. This survey bridges the gap between technical solutions and their legal implications, particularly under frameworks like the EU's GDPR, providing a unified roadmap for responsible AI deployment.
A Holistic Taxonomy of AI Bias
The research landscape is structured into three primary technical pillars, complemented by a critical fourth dimension: legal considerations. This framework allows researchers and practitioners to navigate the lifecycle of bias from its socio-technical origins to its eventual mitigation and accounting.
1. Understanding Bias
Bias enters systems through socio-technical causes such as data generation, collection, and institutional practices. It manifests in data through selection bias or redundant encodings. Defining fairness is the first challenge; over 20 mathematical definitions exist (e.g., demographic parity, equalized odds), and they are often mutually exclusive. This highlights the principle that "fair is not fair everywhere," as the appropriate metric is highly context-dependent.
2. Mitigating Bias
Technical interventions are categorized by the stage of the machine learning pipeline they target:
- Pre-processing: Modifying the training data distribution (e.g., reweighting or relabeling) before the model is trained.
- In-processing: Integrating fairness constraints or regularizers directly into the learning algorithm's loss function.
- Post-processing: Adjusting the output of a trained black-box model to ensure outcomes meet specific fairness criteria.
3. Accounting for Bias
This pillar focuses on transparency and proactive measures. It includes bias-aware data collection (e.g., crowdsourcing with diverse assessors) and retroactive measures like Explainable AI (XAI) to interpret model decisions. Formal ontologies are also used to model the context of bias, helping distinguish between harmful prejudice and valid domain-specific data skews, such as medical differences between demographics.
The Technical-Legal Gap
A significant contribution of this survey is highlighting the "legal friction" of debiasing. Technical solutions do not exist in a vacuum. For example, pre-processing data to balance classes might require processing "special categories" of personal data (like ethnicity), which could violate GDPR provisions without explicit legal justification.
Furthermore, simply removing sensitive features (e.g., race) is ineffective, as algorithms often find proxies—like zip codes—to reconstruct the missing information through redundant encodings. Concepts like "indirect discrimination" remain incredibly difficult to prove in court when decisions are made by uninterpretable black-box models that lack reasoned explanations.
Conclusion and Future Directions
The survey concludes that there is no "one-size-fits-all" solution for AI bias. The effectiveness of any mitigation strategy depends heavily on the chosen fairness metric and the specific application context. Moving forward, the field requires:
- Systematic Benchmarking: Standardized datasets that reflect real-world challenges beyond simple train/test splits.
- Expansion Beyond Classification: Greater focus on fairness in unsupervised learning, reinforcement learning, and generative models.
- Interdisciplinary Collaboration: Aligning technical engineering with legal expertise and diverse development teams to mitigate cognitive blind spots and ensure regulatory compliance.
Summary updated