Monitoring Algorithmic Fairness under Partial Observations

Thomas A. Henzinger, Konstantin Kueffner, Kaushik Mallik · DOI

Introduction

As artificial intelligence systems are increasingly deployed in high-stakes domains such as credit scoring, judicial sentencing, and hiring, ensuring "algorithmic fairness" has become a critical societal requirement. However, most existing fairness auditing tools suffer from two major limitations: they are either static, meaning they evaluate a model only during the design phase, or they assume full observability, requiring access to the system's internal logic and all underlying data features.

In practice, third-party auditors often face a "partial observation" problem. They may only see a stream of inputs and outputs—such as loan applications and final decisions—without visibility into the internal state of the decision-making engine. This paper introduces a novel framework for real-time fairness monitoring that provides rigorous statistical guarantees even when the system is a "black box" with hidden internal states.

The Observability and Expressivity Gaps

The authors identify two primary gaps in current fairness monitoring research:

  1. The Observability Gap: How can we monitor fairness when we only see a limited "window" into a complex, hidden system?
  2. The Expressivity Gap: How can we monitor complex quantitative properties—such as the fair distribution of expected credit scores—rather than just simple binary decision rates?

To address these, the research models decision-making systems as Partially Observed Markov Chains (POMCs). In a POMC, the system transitions between hidden states, and the monitor only observes symbols emitted from those states. This creates a significant statistical challenge: because the underlying states are hidden, the sequence of observations loses the "memoryless" property of standard Markov chains, making traditional statistical bounds inapplicable.

Methodology: BSE and PAC Estimates

The core of the proposed framework consists of a new specification language and a statistical estimation technique.

Bounded Specification Expressions (BSE)

The authors introduce Bounded Specification Expressions (BSE), a rich language designed to express quantitative fairness properties. Unlike previous languages that were limited to simple probabilities, BSE allows for arithmetic and logical operations over sequences of events. This enables the monitoring of sophisticated metrics like demographic parity or equalized odds over time, as well as numerical functions like average wages or predicted risk scores.

Statistical Guarantees

To provide reliable verdicts, the framework utilizes Probably Approximately Correct (PAC) estimates. By assuming the system is in a stationary distribution (a steady state) and utilizing a known bound on the system's mixing time (the speed at which it reaches that steady state), the monitor can derive confidence intervals from a single execution trace.

Using a specialized version of McDiarmid’s concentration inequality for Markov chains, the monitor can output a fairness estimate with a mathematically defined error radius. For example, a monitor might conclude with 95% confidence that the bias in a system lies between 0.02 and 0.05 based on observed data.

Experimental Evaluation

The framework was evaluated using two primary scenarios:

  1. Lending Scenario: A model featuring 171 hidden states simulating a bank receiving loan applications. The monitor observed demographic groups and credit scores to detect bias in loan approvals.
  2. Hypercube Benchmark: A random walk on an $n$-dimensional hypercube used to test how the tightness of the mixing time bound affects the monitor's accuracy.

Key Results

  • Real-Time Efficiency: The monitoring algorithms are computationally lightweight. In the lending example, updates occurred in 18 to 47 microseconds on average, demonstrating suitability for high-speed, real-time deployment.
  • Convergence: Experiments confirmed that as the monitor processes more data, the error radius of the fairness estimate shrinks, converging toward the true value.
  • Sensitivity to Bounds: The hypercube experiments showed that more accurate (tighter) mathematical bounds on mixing times lead to significantly narrower confidence intervals, allowing for faster and more precise fairness verdicts.

Discussion and Limitations

The research highlights the "price" of partial observability: when internal states are hidden, observations become statistically dependent on the distant past. This makes the system's mixing time the critical factor in monitoring; the slower a system mixes, the longer the monitor must observe it to provide a guaranteed verdict.

While the framework represents a significant step forward, it currently relies on two key assumptions: a known bound on the mixing time and a stationary system behavior. Future work is required to estimate mixing times dynamically and to adapt the monitors for systems with "drifting" logic where behavior changes over time.

Conclusion

By combining POMC modeling with the expressive power of BSE and the statistical rigor of PAC estimates, this work provides a robust path forward for auditing black-box AI systems. The ability to provide real-time, mathematically grounded fairness assessments under partial observability is a vital tool for ensuring accountability in automated decision-making.

Summary updated

BibTeX
@inproceedings{henzinger2023monitoring,
  author = {Thomas A. Henzinger and Konstantin Kueffner and Kaushik Mallik},
  title = {{Monitoring Algorithmic Fairness under Partial Observations}},
  booktitle = {RV},
  year = {2023},
  doi = {10.1007/978-3-031-44267-4\_15},
}
Figure