Geometry of Relaxed Fair Regression: A Unified Framework for Aware and Unaware Settings

Marie Generali Lince, Vincent Divol, Rémi Flamary, Solenne Gaucher, Patrick LoiseauNeurIPS 2026

TL;DR

How do you make a deployed regression model fairer when you aren't even allowed to see sensitive attributes like race or gender at test time—and when demanding 100% fairness would wreck your model's accuracy? By framing this accuracy-fairness tug-of-war through the geometry of Optimal Transport, the authors derive exact, closed-form adjustments for any black-box predictor. Along the way, they uncover a fascinating truth: your choice of mathematical penalty quietly dictates an entire ethical philosophy about who bears the cost of compromise.

What Problem Does This Paper Address?

Suppose you have a deployed machine learning model predicting a continuous outcome (like student GPAs or crime rates), and you want to satisfy Demographic Parity—ensuring predictions are statistically independent of a binary sensitive attribute (e.g., race). You want to do this via post-processing: retrofitting the model’s outputs without retraining it from scratch.

Two major real-world hurdles stand in the way:

  1. Unawareness: Due to privacy laws or missing data, you often don't have access to the sensitive attribute at inference time. A common workaround is a "plug-in" approach—guessing the sensitive attribute with a separate classifier and correcting based on that guess—but classification errors cause this heuristic to fail miserably at aligning group distributions.
  2. The Need for Relaxation: Enforcing exact fairness is often too rigid, tanking predictive accuracy. Practitioners need relaxed fairness—a smooth knob to dial in an acceptable trade-off.

While Optimal Transport (OT)—the mathematics of morphing one probability distribution into another at minimal cost—cleanly solves exact fairness, extending it to relaxed fairness in the unaware setting was an open puzzle. Existing state-of-the-art tools had to bypass exact math entirely, relying on clunky grid discretizations or unstable neural network training.

Methods

The authors introduce a unified post-processing framework and an algorithm called FAUST (Fairness for Aware and Unaware SeTtings) that solves relaxed fair regression analytically.

Instead of blindly guessing the missing sensitive attribute $S$, the method uses two standard base estimators on the input features $X$: the unconstrained predictor $\hat{\eta}(X)$ and a probabilistic classifier that estimates a signed group-membership score, $\hat{\Delta}(X)$ (essentially, how strongly $X$ signals belonging to one group versus the other).

Geometry of the OT maps in Aware vs. Unaware settings

While the aware setting simply aligns 1D prediction curves, the unaware setting maps 2D distributions of $(\eta(X), \Delta(X))$ onto 1D fair predictions. What is novel here is how the authors handle the relaxation penalty $\lambda$. By penalizing unfairness using either the squared Wasserstein-2 ($\mathcal{W}_2^2$) distance or Total Variation ($\text{TV}$) distance, they prove this 2D-to-1D problem reduces to a standard 2D-to-2D Optimal Transport problem with a custom, penalty-dependent ground cost.

Once an off-the-shelf OT solver pairs up points between the positive and negative $\Delta(X)$ groups, the optimal "almost-fair" predictions are computed via exact, pointwise closed-form formulas—no stochastic gradient descent required. Finally, a lightweight regressor is fit to these adjusted pseudo-labels to handle new, out-of-sample data.

Datasets

No new benchmarks are introduced; the authors follow standard evaluation protocols using synthetic data and three established real-world benchmarks (defining $S$ as White vs. Non-White for the real-world tasks):

  • Law School Admissions: 20,649 student records predicting standardized first-year GPA.
  • Communities and Crime: 1,994 U.S. communities predicting violent crime rates per 100,000 people.
  • Adult (Census Income): Evaluated in the supplementary material, alongside large-scale synthetic datasets (up to $N = 200,000$) used to stress-test computational scaling.

Key Insights and Ideas

  • Math encodes moral philosophy: Choosing a mathematical penalty isn't just a numerical convenience; it dictates how fairness is distributed across individuals.
  • $\mathcal{W}_2$ is Egalitarian: Because $\mathcal{W}_2$ penalizes the squared distance between quantiles, every individual's prediction shifts smoothly and proportionally toward the center as $\lambda$ increases. Inequality is treated as a shared burden across the entire population.
Smooth, egalitarian prediction paths under Wasserstein-2 relaxation
  • $\text{TV}$ is Sufficientarian: $\text{TV}$ only cares about overlapping probability mass, ignoring how far apart non-overlapping points are. Moving two predictions slightly closer yields zero reward unless they merge completely. Consequently, $\text{TV}$ acts as a hard threshold: it leaves extreme predictions untouched (horizontal paths) while abruptly snapping "affordable" middle-ground individuals into exact parity.
Abrupt, thresholded merging under Total Variation relaxation
  • Bypassing the curse of dimensionality: Even if your raw feature space $X$ has hundreds of dimensions, FAUST projects everything into a 2D space $(\eta(X), \Delta(X))$ before running Optimal Transport. This allows empirical OT maps to converge rapidly without choking on high-dimensional geometry.
  • $\mathcal{W}_2$ wins across the board: Surprisingly, models penalized with $\mathcal{W}_2$ empirically achieve better accuracy-fairness trade-offs than $\text{TV}$-penalized models—even when evaluated using the $\text{TV}$ metric.

Key Results

  • Outperforming Baselines: Across Law School and Communities & Crime, unaware FAUST (FAUST-U) consistently matches or outperforms state-of-the-art unaware baselines (FairReg and FRAPPÉ), closely tracking the theoretical upper bound of aware models that actually get to see $S$ at test time. Meanwhile, FRAPPÉ suffers from severe gradient-based optimization instability at high fairness levels, and naive Plug-In heuristics fail to close the fairness gap.
  • Speed & Scalability: Because FAUST uses network simplex solvers and closed-form maps rather than iterative stochastic optimization, it runs in seconds for $n \sim 10^4$—up to 28× faster than FairReg. Paired with mini-batch OT, it scales to $N = 200,000$ samples in seconds without losing accuracy or parity.
  • Model-Agnostic Robustness: FAUST maintains its trade-off curves regardless of the underlying base model (tested with Random Forests, Gradient Boosting, etc.) and remains resilient to miscalibrated base estimators.

Limitations and Future Work

  • Binary Groups Only: The mathematical trick powering the unawareness reduction relies on the Jordan decomposition of signed measures, which inherently assumes a binary sensitive attribute ($S \in \{+, -\}$). Extending this to intersectional or multi-group fairness will require generalizing the math to multi-marginal Optimal Transport.
  • Specific Penalties: Closed-form solutions are currently limited to $\mathcal{W}_2^2$ and $\text{TV}$ penalties; exploring general transport costs could unlock new fairness behaviors.
  • Base Estimator Dependence: As a post-processing method, FAUST is only as good as its inputs $\hat{\eta}$ and $\hat{\Delta}$. While empirically robust, proving formal, non-asymptotic statistical convergence rates for these plug-in OT maps remains an open theoretical frontier.

Summary updated

Abstract

Fairness-accuracy trade-offs are a central concern in the deployment of fairness-aware machine learning methods. When sensitive attributes are unavailable at inference time–the so called unawareness setting, principled methods for obtaining accurate predictions under relaxed fairness constraints are largely missing. In this work, we address this gap by formulating regression under a demographic parity penalty as an optimal transport problem. Our framework, unifies both the \emph{aware} and \emph{unaware} settings and characterizes optimal prediction functions via optimal transport maps, under both squared Wasserstein-2 and Total Variation penalties. These results reveal that the choice of penalty reflects fundamentally different fairness philosophies: the Wasserstein penalty induces a smooth, population-wide compromise, while Total Variation enforces parity for a subset of individuals. Building on these theoretical characterizations, we propose FAUST, an algorithm that is simple to implement, computationally efficient, and consistently matches or outperforms state-of-the-art baselines on real-world benchmarks.
BibTeX
@inproceedings{lince2026geometry,
  author = {Marie Generali Lince and Vincent Divol and Rémi Flamary and Solenne Gaucher and Patrick Loiseau},
  title = {{Geometry of Relaxed Fair Regression: A Unified Framework for Aware and Unaware Settings}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Kj8DbwITCM},
}
Figure