Towards Auditing Unsupervised Learning Algorithms and Human Processes For Fairness

Ian Davidson, S. S. RaviarXiv 2022

Abstract

Existing work on fairness typically focuses on making known machine learning algorithms fairer. Fair variants of classification, clustering, outlier detection and other styles of algorithms exist. However, an understudied area is the topic of auditing an algorithm's output to determine fairness. Existing work has explored the two group classification problem for binary protected status variables using standard definitions of statistical parity. Here we build upon the area of auditing by exploring the multi-group setting under more complex definitions of fairness.

Introduction

While much of the fairness literature focuses on "fair-by-design" algorithms—pre-processing data or in-processing constraints—there is a critical need for auditing existing outputs. We often encounter results from processes beyond our control, such as proprietary clustering algorithms or human-led redistricting. Current auditing techniques often fail to address three key areas:

  1. Intersectionality: Unfairness often hides in combinations of variables (e.g., "Female AND Elderly") rather than single variables in isolation.
  2. Utility Disparity: Outcomes are rarely equal; being assigned to a high-tier credit group or a well-funded school district carries more "utility" than others.
  3. Multi-group Settings: Real-world processes often divide populations into many groups, moving beyond simple binary classification.

Methodology: Auditing as Optimization

The authors frame auditing as a search for the "simplest explanation" of unfairness, modeled as a combinatorial optimization problem. Specifically, they represent this as an Integer Linear Program (ILP) to find the smallest combination of Protected Status Variables (PSVs) that demonstrates significant disparity.

They introduce three mathematical formulations for detecting unfairness:

  • Count-based: Checks if a group is under-represented in a specific class compared to the rest of the population.
  • Utility-weighted: Compares the actual benefit (utility) a group receives against a random, fair allocation.
  • Pairwise Equality: Compares the treatment of two specific groups across all possible outcomes.
Summary of the three unfairness detection tests and their mathematical formulations.

The count-based approach is visualized below, where a group $x$ is significantly under-represented in a target cluster ($\le \alpha$) while being over-represented in others ($\ge \beta$).

Visual representation of count-based unfairness across multiple clusters.

The paper formally proves that finding these simplest proofs of unfairness (the UDSC problem) is NP-complete, suggesting that detecting bias in large, complex datasets is fundamentally difficult but robust once found.

Experimental Evaluation

The framework was validated across three distinct domains:

  1. UCI Adult Dataset: Auditing "fair-by-design" clustering algorithms. The audit revealed that even when balanced for gender, algorithms remained unfair for combinations like Education + Occupation.
  2. California Congressional Districts: Auditing human-led redistricting. The system identified specific districts where certain racial groups received significantly less "utility" (funding potential) than expected. Race was found to be a stronger factor in these disparities than gender or country of birth.
  3. Twitter Health News: Auditing information fairness. Using the pairwise model, the researchers determined that a "reading budget" of 50-70 minutes per source was sufficient to avoid biased coverage of healthcare topics.

Insights and Discussion

A key insight is that computational hardness is a feature. Because auditing is NP-complete, a bad actor cannot easily "tweak" data to hide bias without creating new, detectable patterns. Furthermore, the "Fairness Mirage" effect demonstrates that algorithms can appear fair on single variables while remaining biased against intersectional groups.

Limitations and Future Work

The reliance on ILP solvers means that extremely high-dimensional data may require heuristic approximations. Additionally, "utility" values and disparity thresholds ($\gamma$) must be defined by domain experts, as the framework detects unfairness relative to these parameters rather than defining them in a vacuum. Future work will explore real-time auditing pipelines and even more complex fairness definitions.

Summary updated

BibTeX
@misc{davidson2022towards,
  author = {Ian Davidson and S. S. Ravi},
  title = {{Towards Auditing Unsupervised Learning Algorithms and Human Processes For Fairness}},
  year = {2022},
  eprint = {2209.11762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.11762},
}
Figure