Exposing the Illusion of Fairness: Auditing Vulnerabilities to Distributional Manipulation Attacks

Valentin Lafargue, Adriana Laurindo Monteiro, Emmanuelle Claeys, Laurent Risser, Jean-Michel LoubesSubmission to ICLR 2026 · Withdrawn

TL;DR

Regulators increasingly audit AI fairness by checking metrics like Disparate Impact on submitted data samples. This paper demonstrates that malicious auditees can systematically manipulate data samples using entropic and optimal transport projections to fake regulatory compliance while remaining statistically indistinguishable from the true data distribution. To counter this, the authors show that auditors must combine multiple geometric and divergence tests while demanding larger audit sample sizes.

What Problem Does This Paper Address?

Emerging AI regulations (such as the EU AI Act and US EEOC rules) mandate that high-risk models meet fairness standards. Audits typically require an entity to submit a data sample—along with model outputs or API access—to verify global metrics like Disparate Impact ($\text{DI} \ge 0.8$). A supervisory body then checks whether the sample is representative of the underlying population.

However, global fairness metrics depend heavily on the evaluation sample. This creates an attack surface for fair-washing: an auditee could subtly manipulate the submitted dataset so the model appears fair while maintaining its biased behavior in production. The authors investigate how an auditee can formulate this deception as a constrained distributional projection problem and explore how supervisory authorities can reliably detect such manipulation.

Methods

The authors frame fair-washing as finding a perturbed distribution $Q_t$ that minimizes distributional distance $d(Q_n, Q_t)$ subject to meeting a fairness constraint $\text{DI}(f, Q_t) \ge t$. They analyze two distance formalisms:

  1. Entropic Projection (KL Divergence): Minimizes $D_{\text{KL}}(Q_t \parallel Q_n)$ subject to expected value constraints via convex dual optimization (Entropic_balanced and Entropic_proportional).
  2. Optimal Transport (Wasserstein Distance): Minimizes $W_2^2(Q_n, Q_t)$ using Monge–Kantorovich projections. The authors implement several strategies:
  3. Continuous Gradient Projection (Grad): Perturbs input features $X$ using classifier gradients. A 1D-transport variant snaps continuous modifications back to observed feature values.
  4. Sensitive Attribute Replacement (Replace(S, Ŷ)): Iteratively swaps categorical labels $(S, \hat{Y})$ without altering feature covariates $X$.
  5. Constrained Matching ($M_{W(X, S, \hat{Y})}$): Transports entire individual profiles $(X, S, \hat{Y})$ to existing real points in the dataset to maximize DI improvement per unit distance.

Auditor Defenses: To evaluate detectability, the authors implement 7 statistical tests assessing the null hypothesis $H_0$ (that the submitted sample and original population share the same distribution): Kolmogorov–Smirnov (KS), 2-Wasserstein ($W$), Maximum Mean Discrepancy (MMD), and Kullback–Leibler (KL) divergence tests across different marginals and conditionals.

Datasets

The study evaluates 7 tabular benchmarks:

  • Adult Census Income: Predicting income $> \$50\text{k}$ (sensitive attribute: sex).
  • Folktables (Ding et al., 2021): Five US Census datasets covering Income (INC), Mobility (MOB), Employment (EMP), Travel Time to Work (TRA), and Public System Coverage (PUC).
  • Bank Account Fraud (BAF): A synthetic, highly imbalanced fraud detection benchmark (sensitive attribute: age).
  • CelebA: Used to evaluate extensions to image data via latent embeddings from ResNet18, ResNet101, and InceptionV3.

Key Insights and Ideas

  • Continuous perturbations fail against basic tests: Gradient-based feature perturbations create synthetic points not present in the empirical support, causing $D_{\text{KL}}(Q_t \parallel Q_n) = +\infty$ and making them trivial to detect.
  • Matching is the stealthiest attack: The discrete matching method $M_{W(X, S, \hat{Y})}$ moves points only toward already observed data points. It avoids infinite KL divergence and achieves the lowest overall distribution shift.
  • Moderate bias can be fully masked: For datasets with moderate initial unfairness ($\text{DI} \approx 0.65\text{--}0.70$, e.g., INC and TRA) or extreme imbalance (BAF), manipulated samples can hit the legal $\text{DI} \ge 0.80$ compliance target without failing a single statistical test.
  • Sample size is the auditor’s best defense: Increasing the audit sample size (e.g., from 10% to 20% of the dataset) sharply restricts the achievable undetected DI improvement across all methods.
  • Image space vs. feature space: In computer vision (CelebA), pixel-level tests fail to detect manipulation at a 10% sample size (passing even at $\text{DI} = 0.95$). However, running tests in rich semantic descriptor spaces (like ResNet101 embeddings) reliably flags manipulations.

Key Results

  • Undetected Compliance: On INC (baseline DI = 0.67), TRA (baseline DI = 0.69), and BAF (baseline DI = 0.35), $M_{W(X, S, \hat{Y})}$ achieved full compliance ($\text{DI} \ge 0.80$, reaching up to $0.93\text{--}1.0$) with a 10% sample size while passing all 7 statistical tests.
  • Severe Disparities: For heavily biased datasets like Adult (baseline DI = 0.30), faking full compliance ($\text{DI} = 0.80$) was detected. However, an attacker could still secretly inflate DI to 0.54 (10% sample) and 0.42 (20% sample) without detection.
  • Defense Redundancy: Ablation studies showed that MMD added minimal detection power beyond combined KL, Wasserstein, and KS tests.

Limitations and Future Work

  • Ground-Truth Access: The defensive framework assumes the supervisory authority has access to the full dataset or a validated reference distribution to conduct two-sample tests.
  • Computational Overhead: Optimal transport matching scales quadratically with dataset size ($N \times N$ pairwise distance matrix), limiting real-time applicability to massive datasets without batch approximations.
  • Scope: The primary focus is Disparate Impact on tabular data. While the authors demonstrate extensions to Equality of Odds and computer vision embeddings, exploring text modalities (e.g., BERT [CLS] embeddings) and large language models remains future work.

Summary updated

Abstract

Proving the compliance of AI algorithms has become an important challenge with the growing deployment of such algorithms for real-life applications. Inspecting possible biased behaviors is mandatory to satisfy the constraints of the regulations of the EU Artificial Intelligence’s Act. Regulation driven audits increasingly rely on global fairness metrics, with Disparate Impact being the most widely used. Yet such global measures depend highly on the distribution of the sample on which the measures are computed. We investigate first how to manipulate data samples to artificially satisfy fairness criteria, creating minimally perturbed datasets that remain statistically indistinguishable from the original distribution while satisfying prescribed fairness constraints. Then we study how to detect such manipulation. Our analysis (i) introduces mathematically sound methods for modifying empirical distributions under fairness constraints using entropic or optimal transport projections, (ii) examines how an auditee could potentially circumvent fairness inspections, and (iii) offers recommendations to help auditors detect such data manipulations. These results are validated through experiments on classical tabular datasets in bias detection. The code is available at https://anonymous.4open.science/r/Inspection-76D6/.
BibTeX
@misc{lafargue2025exposing,
  author = {Valentin Lafargue and Adriana Laurindo Monteiro and Emmanuelle Claeys and Laurent Risser and Jean-Michel Loubes},
  title = {{Exposing the Illusion of Fairness: Auditing Vulnerabilities to Distributional Manipulation Attacks}},
  year = {2025},
  eprint = {2507.20708},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.20708},
}
Figure