Towards the Right Kind of Fairness in AI

Marcin Detyniecki, Ph.D., Boris Ruf, Marcin DetynieckiarXiv 2021

Abstract

As AI systems increasingly govern high-stakes decisions, the demand for "fair" algorithms has grown. However, fairness is mathematically complex; satisfying one definition often necessitates violating another. This paper introduces a structured decision-making framework—the Fairness Compass—to navigate these trade-offs, helping stakeholders align mathematical constraints with ethical and legal requirements.

Introduction: The Fairness Paradox

Fairness in AI is often treated as a binary checkbox, yet it is fundamentally a series of mathematical trade-offs. Research has proven that several popular fairness metrics—such as Demographic Parity, Equalized Odds, and Calibration—are mutually exclusive unless the groups being compared have identical base rates. This "paralysis of choice" often leaves researchers unable to justify their selection of one metric over another.

The Mathematical Foundations of Fairness

To understand these trade-offs, one must first establish a common language based on the outcomes of binary classification. Most fairness metrics are derived from the relationships within a confusion matrix, which maps true outcomes against model predictions.

The confusion matrix defines the relationship between true outcomes (Y) and predicted outcomes (Y-hat), serving as the basis for all fairness metrics.

The Fairness Compass Framework

The authors propose the Fairness Compass, a formal decision tree designed to guide the selection process. The method categorizes the "landscape of fairness" into three fundamental statistical conditions:

  1. Independence: The prediction is independent of the sensitive attribute (e.g., gender should not affect the outcome).
  2. Sufficiency: The actual outcome is independent of the sensitive attribute, given the prediction (e.g., a "high risk" score should have the same meaning across all demographic groups).
  3. Separation: The prediction is independent of the sensitive attribute, given the actual outcome (e.g., error rates should be equalized across groups).

The selection process involves "Key Decision Nodes" that evaluate policy goals (e.g., quotas), expected base rates, and the reliability of the ground truth data. A major insight is that many advanced metrics, like Separation, are unusable if the labels are based on biased human decisions rather than objective ground truth.

The choice of a fairness metric is deeply tied to one's "worldview." The WYSIWYG (What You See Is What You Get) perspective assumes that observed data reflects reality, while the WAE (We Are All Equal) perspective assumes that data differences stem from historical structural biases that the model must correct.

Furthermore, the impact of the AI—whether punitive (e.g., fraud detection) or assistive (e.g., loan approval)—dictates whether the focus should be on Precision (minimizing false positives) or Recall (minimizing false negatives). The table below illustrates the breadth of metrics that must be balanced.

A comprehensive list of performance and fairness metrics derived from the confusion matrix, illustrating the variety of ways "fairness" can be quantified.

Conclusion

There is no "complete fairness" in algorithmic decision-making. By using the Fairness Compass, teams can move from abstract ethical principles to concrete mathematical constraints, documenting their reasoning to build trust through transparency. While currently limited to binary classification, this framework provides a vital first step toward more accountable AI.

Summary updated

BibTeX
@misc{phd2021towards,
  author = {Marcin Detyniecki, Ph.D. and Boris Ruf and Marcin Detyniecki},
  title = {{Towards the Right Kind of Fairness in AI}},
  year = {2021},
  eprint = {2102.08453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.08453},
}
Figure