Abstract
As AI becomes prevalent in high-risk domains and decision-making, it is essential to test for potential harms and biases. This urgency is reflected by the global emergence of AI regulations that emphasise fairness and adequate testing, with some mandating independent bias audits. However, procuring the necessary data for fairness testing remains a significant challenge. Particularly in industry settings, legal and privacy concerns restrict the collection of demographic data required to assess group disparities, and auditors face practical and cultural challenges in gaining access to data. Further, internal historical datasets are often insufficiently representative to identify real-world biases. This work focuses on evaluating classifier fairness when complete datasets including demographics are inaccessible. We propose leveraging separate overlapping datasets to construct complete synthetic data that includes demographic information and accurately reflects the underlying relationships between protected attributes and model features. We validate the fidelity of the synthetic data by comparing it to real data, and empirically demonstrate that fairness metrics derived from testing on such synthetic data are consistent with those obtained from real data. This work, therefore, offers a path to overcome real-world data scarcity for fairness testing, enabling independent, model-agnostic evaluation of fairness, and serving as a viable substitute where real data is limited.
Introduction: The Data Catch-22 in Fairness Auditing
As artificial intelligence systems increasingly govern high-stakes decisions—such as bank loan approvals or criminal recidivism predictions—the necessity for rigorous fairness audits has become paramount. Regulatory frameworks like the EU AI Act now mandate that these systems be tested for bias. However, a significant practical hurdle exists: to determine if a model is biased against a specific demographic, an auditor requires data on that demographic.
In practice, privacy regulations (such as GDPR) and corporate data silos often prevent the collection or sharing of "protected attributes" (e.g., race, gender, or age) alongside model features and outcomes. This creates a "data catch-22" where the data needed to prove compliance is legally or operationally inaccessible. External auditors face an even steeper challenge, often having access only to a model's "black-box" predictions without any link to the underlying training demographics.
A Framework for Data Synthesis
To address this scarcity, researchers from University College London (presented at the NeurIPS 2024 AFME workshop) have proposed a method to "stitch" together fragmented datasets. If an auditor can access two separate datasets that share at least one overlapping variable—for instance, one dataset containing [Income, Occupation] and another containing [Occupation, Race]—they can reconstruct the joint distribution of all variables.
This approach allows for the creation of a high-fidelity synthetic test set that includes both the model's features and the necessary protected attributes, enabling the calculation of standard fairness metrics without requiring a single, unified "ground truth" dataset.
Methodological Approaches
The core of this framework lies in estimating the joint distribution $p(features, outcomes, protected attributes)$ from fragmented sources. The researchers explored three structural independence assumptions to facilitate this estimation:
- Independence Given Overlap: This assumes that model features and protected attributes are conditionally independent given the overlapping variable.
- Marginal Preservation: This simpler approach ensures that the marginal statistics of the original datasets are maintained while modeling the joint distribution.
- Latent Naïve Bayes: This more sophisticated method utilizes a latent variable model. It assumes all observed variables are conditionally independent given a hidden "latent" factor ($Z$), which is optimized using the Expectation-Maximization (EM) algorithm.
Once the joint distribution is estimated, the auditor can sample from it to generate a "complete" synthetic dataset.
Experimental Validation
The researchers validated their framework using three benchmark datasets: Adult (Census Income), COMPAS (Recidivism), and German Credit. They simulated real-world constraints by manually splitting these datasets into "internal" and "external" fragments with limited overlaps (such as occupation or housing status).
The synthetic data was evaluated on two primary criteria:
- Fidelity: How closely the synthetic distribution mirrors the real data. The study reported Total Variation Distance (TVD) scores as high as 0.99, indicating near-perfect distributional matches.
- Fairness Consistency: How accurately the synthetic data reflects real-world bias. Metrics such as Disparate Impact (DI) and Average Odds Difference (AOD) calculated on synthetic sets were remarkably consistent with those from the original complete data. For the COMPAS dataset, the difference in AOD was as low as 0.000.
Conclusion and Future Directions
The results demonstrate that even a single overlapping variable can serve as a powerful proxy for reconstructing systemic bias. This method is inherently model-agnostic, allowing auditors to evaluate "black-box" systems using publicly available data (like Census statistics) to fill in demographic gaps.
While the current work focuses on simple overlaps, future research aims to address "messier" real-world scenarios with multiple overlapping variables using more complex structures like Junction Trees. By providing a statistical path around data scarcity, this research ensures that AI accountability is no longer stymied by a lack of access to sensitive information.
Summary updated