A geometric framework for fairness

Alessandro Maggio, Luca Giuliani, Roberta Calegari, Michele Lombardi, Michela MilanoAEQUITAS@ECAI 2023

Abstract

As machine learning (ML) models are increasingly deployed in sensitive domains, ensuring fairness has become a critical engineering requirement. However, the mathematical definitions of fairness are often disparate and difficult to visualize. This paper presents GEOFFair, a theoretical framework that maps probability distributions, ML models, and fairness constraints into a unified Hilbert space. By treating fairness mitigation as a geometric projection, the authors provide a rigorous taxonomy of 56 logical scenarios, clarifying the relationships between observed data, ideal outcomes, and model constraints.

Introduction

The field of algorithmic fairness is currently characterized by a "swamp" of conditional expectations and non-linear statistical distributions. While definitions like Statistical Parity or Equalized Odds are mathematically sound, they often lack an intuitive mental model for researchers to navigate trade-offs between accuracy and equity.

The GEOFFair framework, proposed by researchers at the University of Bologna, addresses this by translating statistical concepts into geometric objects. By representing distributions and functions as vectors and sets in space, fairness becomes a problem of spatial relationships and projections.

The GEOFFair Framework

The core of GEOFFair rests on four fundamental "pillars" represented as geometric entities:

  1. Ground Vector ($y^+$): The observed, potentially biased data distribution available for training.
  2. Gold Vector ($y^*$): The theoretical, unbiased ideal distribution (often unobservable in practice).
  3. Hypothesis Space ($\hat{Y}$): The set of all possible output distributions achievable by a specific model architecture (e.g., a neural network).
  4. Fair Space ($\bar{Y}$): The region of the output space that satisfies a chosen fairness metric.

Within this framework, "fairness mitigation" is defined as finding a vector within the intersection of the Hypothesis Space and the Fair Space ($\hat{Y} \cap \bar{Y}$) that minimizes the distance to a target vector (usually $y^+$).

Geometric Relationships and Scenarios

The power of GEOFFair lies in its ability to categorize the interactions between these four pillars. By analyzing the possible set relations and membership properties, the authors identify 56 distinct logical scenarios that can occur in a fairness problem.

Table 1: Relational operators defining the interactions between the four pillars of GEOFFair.

These scenarios allow for "proofs-by-witness," where researchers can verify if a fairness claim holds across all possible geometric configurations. For instance, the relationship between the Fair Space ($\bar{Y}$) and the Ground Vector ($y^+$) immediately indicates whether the original data is "fair" according to the chosen metric.

Insights on Mitigation and Bias

The geometric perspective yields several key insights into the nature of algorithmic bias:

  • The Systemic Bias Gap: The distance between the Ground Vector ($y^+$) and the Gold Vector ($y^*$) represents inherent systemic bias. If this distance is large, even a perfectly accurate model on the training data will be far from the unbiased ideal.
  • Expressivity and Reachability: More expressive models (larger $\hat{Y}$) are more likely to have a non-empty intersection with the Fair Space ($\bar{Y}$), potentially allowing for fairness without significant accuracy loss.
  • Misaligned Metrics: If the Fair Space is poorly defined, projecting a model into it may actually increase the distance to the Gold Vector, making the model "fairer" by metric but further from the true unbiased ideal.

Conclusion

GEOFFair provides a foundational language for the fairness community. While challenges remain—such as the unobservability of the Gold Vector and the computational complexity of finding global projections—the framework offers a clear map for navigating the ethical and technical trade-offs of responsible AI. Future work will focus on applying this geometry to analyze specific loss functions and generating synthetic datasets for robust fairness testing.

Summary updated

BibTeX
@inproceedings{maggio2023geometric,
  author = {Alessandro Maggio and Luca Giuliani and Roberta Calegari and Michele Lombardi and Michela Milano},
  title = {{A geometric framework for fairness}},
  booktitle = {AEQUITAS@ECAI},
  year = {2023},
  url = {https://openreview.net/forum?id=vQKFK9KKZV},
}
Figure