Papers
Topics
Authors
Recent
Search
2000 character limit reached

Optimal Transport for Fairness

Updated 9 April 2026
  • Optimal transport for fairness is a framework leveraging probability geometry to diagnose and repair bias in data and algorithms.
  • It uses mathematical tools like Wasserstein barycenters and OT maps for minimal-distortion transformations towards fair outcomes.
  • The approach supports nuanced fairness criteria (group, individual, intersectional) and ensures compliance with regulatory standards.

Optimal Transport for Fairness

Optimal transport (OT) for fairness refers to a family of mathematical and algorithmic frameworks that use OT theory to measure, diagnose, and enforce fairness properties in machine learning, decision-making, and resource allocation. By leveraging the geometry of probability distributions and their optimal coupling, OT offers a precise and flexible toolkit for both the diagnosis of bias and the quantifiable repair of unfairness in data, models, and algorithmic outcomes.

1. Mathematical Principles and Formalization

At its core, OT for fairness is grounded in the classical Kantorovich formulation: given two probability measures μ, ν on a space X (e.g., score distributions across groups), and a cost function c(x, y) (e.g., squared Euclidean distance), the optimal transport cost is

Wcp(μ,ν)=minπΠ(μ,ν)X×Xc(x,y)dπ(x,y),W^p_c(\mu, \nu) = \min_{\pi \in \Pi(\mu, \nu)} \int_{X \times X} c(x, y) d\pi(x, y),

where Π(μ,ν)\Pi(\mu, \nu) is the set of couplings with marginals μ, ν. In fairness contexts:

  • μ, ν represent distributions of outcomes (e.g., scores) for disadvantaged and advantaged groups.
  • c(x, y) encodes the "price" (e.g., monotonicity, Euclidean distance) of shifting individuals' outcomes.

For enforcing fairness, the approach determines an OT map or transport plan T that moves a group's original distribution μ towards a fair target (e.g., a barycenter ν) with minimal perturbation, according to fairness constraints.

Fairness objectives addressed include:

  • Group fairness (statistical parity): Enforce that group-conditional distributions coincide: ν1=ν2==νG\nu_1 = \nu_2 = \cdots = \nu_G.
  • Individual fairness: Ensure that “similar” individuals are treated similarly, often operationalized as Lipschitz or least-squares distortion bounds between original and mapped outcomes.
  • Intersectional fairness: Simultaneous handling of multi-attribute sensitive groups via higher-dimensional group indices or group-specific parameters (Zehlike et al., 2017).

2. Methods: Barycentric Repair and Continuous Interpolation

A key contribution is the use of Wasserstein barycenters to define a “consensus” or fair target distribution. Given group-conditional laws μk\mu_k and weights wkw_k, the barycenter ν\nu^* solves:

ν=argminρk=1GwkW22(μk,ρ)\nu^* = \arg \min_{\rho} \sum_{k=1}^G w_k W_2^2 (\mu_k, \rho)

The optimal transport map TkT_k^* from each group to the barycenter provides a monotonic, minimal-distortion correction.

To interpolate between "what you see is what you get" (θ=0\theta=0; preserve raw scores) and "we're all equal" (θ=1\theta=1; enforce perfect parity), displacement interpolation is used:

Π(μ,ν)\Pi(\mu, \nu)0

with Π(μ,ν)\Pi(\mu, \nu)1 defining a geodesic between unchanged and fully-repaired outcomes (Zehlike et al., 2017).

This formalism extends to settings with multiple sensitive attributes (intersectionality) via group-specific interpolation parameters and sequential or jointly-computed barycenters (Machado et al., 12 Mar 2025).

3. Extensions: Testing, Diagnostics, and Fairness Beyond Scores

OT-based fairness frameworks are deployed not only for post-processing of outcomes but also for auditing and recourse:

  • Statistical auditing: Project the empirical data distribution onto the nearest fair set under OT to construct interpretable and statistically rigorous tests of group fairness (demographic parity, equalized odds, etc.), characterizing minimal covariate adjustments that would restore fairness (Si et al., 2021).
  • Individual and structural bias quantification: The OT map Π(μ,ν)\Pi(\mu, \nu)2 directly measures per-individual displacement. Subgroup-level and group-level distances recover classical fairness metrics as special cases (e.g., Wasserstein distance zero if and only if demographic parity holds) (Kwegyir-Aggrey et al., 2021).
  • Recourse: The OT map suggests the minimal actionable shifts needed for individuals to achieve parity with reference distributions, with further projections onto feasible action sets as needed.

OT's geometry enables detection of subtle biases, such as distributional mismatches invisible to mean or quantile-based fairness criteria. OT-based explainability localizes bias-inducing features, as in image domains by mapping local transport corrections to saliency heatmaps (Ratz et al., 2023).

4. Efficient Algorithms and Distributed Solvers

Computation of fair OT maps/barycenters is tractable:

  • Univariate distributions: Quantile-to-quantile matching in Π(μ,ν)\Pi(\mu, \nu)3.
  • High dimensions: Entropic-regularized Sinkhorn solvers and fixed-point barycenter iterations, with GPU acceleration and Π(μ,ν)\Pi(\mu, \nu)4 per iteration scaling (Zehlike et al., 2017).
  • Auction and flow-based algorithms: For discrete distributions, hybrid auction algorithms compute minimum-mean cycles, enabling efficient repair and interpolation rules (Extended Total Repair) with smooth input–output mappings for online or out-of-sample repair (Diego et al., 19 Mar 2025).
  • Distributed optimization: For resource allocation and dynamic scenarios, distributed ADMM methods decompose OT with fairness penalties into parallelizable subproblems, with convergence guarantees under convexity (Hughes et al., 2021).
  • Neural OT solvers: Deep convex neural networks parameterize monotone transport maps, scaling to high-dimensional, continuous covariate spaces and enabling decorrelation or group-independence (Algren et al., 2023).

5. Empirical Evaluation and Applications Across Domains

Most OT-for-fairness approaches demonstrate consistently strong empirical performance:

  • Risk assessment and recidivism prediction: OT repairing achieves near-perfect demographic parity and strong alignment on equalized odds with small (<2%) accuracy loss; Pareto improvements are observed, with protected group performance strictly improved or unchanged (Berk et al., 2021, Kwegyir-Aggrey et al., 2021).
  • Resource allocation and networks: Fair-dynamic-OT achieves large reductions (>50%) in Gini coefficients of resource shares with efficiency losses under 10% (Hughes et al., 2021).
  • Fairness in individualized treatment: OT-based post-processing for fair individualized treatment rules provides strict demographic parity at controlled value loss, with tunable trade-offs and tight theoretical loss bounds (Cui et al., 31 Jul 2025).
  • Recourse and diagnostics: Per-individual recourse suggestions and feature rankings via OT directly pinpoint the most actionable or impactful changes for meeting fairness requirements (Kwegyir-Aggrey et al., 2021, Black et al., 2019).
  • Fairness explainability in vision: OT post-processing both debiases predictions and, via OT-induced shift maps, identifies the visual features driving biased decisions (Ratz et al., 2023).
  • Complex graph/relational data: Fairness pre-processing for dyadic tasks such as link prediction achieves state-of-the-art improvement in dyadic disparate impact with moderate utility trade-off, using marginal-alignment OT (Yang et al., 2022).

6. Advanced Topics: Group Constraints, Partial Transport, and New Metrics

Recent advances extend OT fairness to more general and practical operational scenarios:

  • Exact group fairness in matching: Linear constraints on OT couplings (e.g., specifying matching quotas between group pairs), with FairSinkhorn extending Sinkhorn iteration for equality-constrained blocks. Relaxed versions include convex penalty regularization and cost-learning via bilevel optimization, with statistical Π(μ,ν)\Pi(\mu, \nu)5 generalization guarantees (Bleistein et al., 12 Jan 2026).
  • Partial, proportional, or region-specific fairness: Alignment of only a prescribed quantile (top-λ) of the disadvantaged group's scores, tuning the degree of intervention and the impact on global or partial-AUC metrics. This enables fine-grained control of fairness-performance trade-offs (Liu et al., 5 Aug 2025).
  • Group-blind or label-free repair: OT repair of marginal distributions without requiring individual group membership at repair time, producing projection maps that respect group parity in aggregate regardless of individual group-label availability (Zhou et al., 2023).
  • Representation-bias tolerant repair: Bayesian nonparametric stopping rules ensure that underrepresented subgroups receive sufficient modeling fidelity before OT-based repair, preventing bias propagation and enabling robust out-of-sample generalization (Langbridge et al., 2024).
  • Stochastic settings and mutual fairness: OT is used to define run-to-run fair outreach in social influence diffusion, by penalizing the expected absolute difference in coverage across groups in the realized diffusion law (Chowdhary et al., 2024).
  • Continuous OT and differentiable fairness constraints: Dual OT formulations yield smooth fairness regularizers, enabling scalable stochastic-gradient-based optimization with strong theoretical guarantees (Chiappa et al., 2021, Buyl et al., 2022).

7. Regulatory and Policy Implications

The flexibility and mathematical guarantees of OT-based fairness interventions align with legal and regulatory standards:

  • The continuous tuning of fairness parameters (e.g., θ in CFAθ) directly enables algorithmic compliance with regulatory thresholds such as the 80% rule in US disparate-impact doctrine (Zehlike et al., 2017).
  • Intersectionality handling allows for targeted “corrections” for multiply-disadvantaged groups, as required in some human-rights and data protection frameworks.
  • OT-based preprocessing fits within European proportionality tests for pre-ranking fairness adjustments and supports human-in-the-loop requirements (such as GDPR Art. 22).

References

Definition Search Book Streamline Icon: https://streamlinehq.com
References (19)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Optimal Transport for Fairness.