Supervised Algorithmic Fairness in Distribution Shifts: A Survey

Minglai Shao, Dong Li, Chen Zhao, Xintao Wu, Yujie Lin, Qin Tian

Maintaining algorithmic fairness is a critical challenge in machine learning, particularly when models encounter distribution shifts—scenarios where real-world data deviates from the training distribution. This survey provides a comprehensive roadmap for navigating these shifts, categorizing them from simple feature changes to complex correlation shifts between labels and sensitive attributes, and evaluating the technical strategies used to keep AI equitable in dynamic environments.

The Problem: Fairness Generalization

Most machine learning models rely on the "i.i.d. assumption," which posits that training and deployment data come from identical distributions. In practice, this assumption frequently fails. For instance, a hiring algorithm trained on New York data may struggle in London due to covariate shift, or evolving societal norms might alter the relationship between qualifications and success, leading to concept shift.

When these shifts occur, fairness is often compromised. A model that appears unbiased during training can become discriminatory if underlying demographics or correlations change. This survey addresses fairness generalization: the ability of a model to remain fair even when its operating environment differs from its training environment.

A Taxonomy of Distribution Shifts

The authors distinguish between General Shifts (affecting features $X$ and labels $Y$) and Fairness-Specific Shifts (affecting sensitive attributes $Z$). Understanding these distinctions is vital for selecting the appropriate mitigation strategy.

Visualizing different types of distribution shifts, from general feature changes to fairness-specific correlation shifts.
  • Covariate Shift: Changes in the distribution of input features ($P(X)$).
  • Label Shift: Changes in the distribution of the target class ($P(Y)$).
  • Concept Shift: Changes in the functional relationship between features and labels ($P(Y|X)$).
  • Demographic Shift: Changes in the proportions of sensitive groups ($P(Z)$).
  • Dependence Shift: Changes in the correlation between the label and the sensitive attribute ($P(Y|Z)$).

Mitigation Approaches

The survey identifies six major technical strategies for maintaining fairness under shift. The effectiveness of these methods often depends on the specific type of shift encountered.

A comprehensive mapping of existing literature, categorizing research by shift type, fairness objective, and mitigation method.
  1. Feature Disentanglement (FD): Using architectures like VAEs to separate predictive "semantic" information from sensitive information that should be discarded.
  2. Data Augmentation (DA): Generating synthetic samples to balance underrepresented groups or simulate potential shifts.
  3. Causal Inference (CI): Utilizing Structural Causal Models (SCMs) to identify and block unfair paths of influence within the data.
  4. Reweighting (RW): Adjusting the importance of training samples so the training distribution mathematically mimics the expected target distribution.
  5. Robust Optimization (RO): Training models to minimize the "worst-case" loss across a range of possible perturbations.
  6. Regularization (RG): Adding mathematical penalties to the loss function to discourage reliance on sensitive attributes.

Benchmarking Fairness

The survey highlights a wide array of benchmarks used to test these strategies across different modalities:

  • Tabular: Standard datasets like UCI Adult (income), COMPAS (recidivism), and German Credit.
  • Image: Datasets like cMNIST and Waterbirds are used to test spurious correlations, while ccMNIST specifically targets dependence shifts by anti-correlating labels and sensitive attributes.
  • Text & Graph: BOLD is used for assessing bias in large language models, while Pokecs and Bail-Bs provide social network and legal contexts for graph-based fairness.

Key Insights and Future Directions

  • The Difficulty of Concept Shift: The authors identify Concept Shift ($P(Y|X)$) as the most significant challenge because it implies the fundamental "rules" of the task have changed.
  • Context-Dependency: Fairness is not a static property; it is a relationship between a model and a specific distribution. If the distribution shifts, fairness guarantees often vanish.
  • The Criticality of Dependence Shift: While covariate shift is heavily researched, Dependence Shift—where the link between a sensitive trait and a label changes—often causes the most dramatic real-world fairness failures.
  • Open Challenges: Future research must address unsupervised fairness adaptation (where target labels are unavailable), integrate Out-of-Distribution (OOD) detection with fairness guarantees, and develop models for dynamic environments that face continuous, evolving shifts.

Summary updated

BibTeX
@inproceedings{shao2024supervised,
  author = {Minglai Shao and Dong Li and Chen Zhao and Xintao Wu and Yujie Lin and Qin Tian},
  title = {{Supervised Algorithmic Fairness in Distribution Shifts: A Survey}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
}
Figure