Brenier Meets Adversarial Training: Optimal Transport Geometry for Robust Learning

Alireza Abdollahpoorrostam, Ehsan Sharifian, Buse Şen, marco cuturi, Daniel KuhnNeurIPS 2026

TL;DR

Standard adversarial training treats every data point like a solo hiker trying to climb the nearest peak of loss, completely ignoring what neighboring points are doing. By viewing adversarial robustness through optimal transport geometry, the authors show that these solo climbs cross paths and waste energy—missing out on the true worst-case scenarios. Enforcing a geometric "no-crossing" rule makes the training adversary much smarter, yielding models that survive nasty attacks and unexpected real-world shifts far better than before.

What Problem Does This Paper Address?

Machine learning models are notoriously fragile when the real world shifts away from their training data. Distributionally Robust Optimization (DRO) addresses this by pitting the learner against a fictitious adversary that morphs the entire training distribution to maximize loss, subject to a movement budget—often measured by the Wasserstein distance (the minimum "earth-moving" cost to reshape one distribution into another).

In practice, computing this worst-case distribution over nonconvex deep neural networks is intractable. Standard methods simplify this by applying a heavy movement penalty so that each training sample can be perturbed independently via local gradient ascent. Here is the catch: to make that math well-behaved, the penalty has to be so high that the adversary can barely budge the data, defeating the purpose of robust training. When you lower the penalty to give the adversary teeth, independent per-sample updates get trapped in poor local maxima and move probability mass inefficiently—leaving your model trained against a clumsy, suboptimal opponent.

Methods

The authors recast the adversary's job as finding an optimal transport map—a function pushing clean samples to adversarial ones. Drawing from optimal transport theory (specifically Brenier's theorem), they prove that an optimal adversarial map must be cyclically monotone. Intuitively, cyclical monotonicity is a geometric "no-crossing" rule: you shouldn't pay to ship sample A far to the right and sample B far to the left when swapping their destinations would achieve the exact same overall distribution at a fraction of the transport cost.

Because standard per-sample Particle Ascent (PA) violates this rule in dimensions two and above, the authors introduce two distinct remedies:

Standard Particle Ascent (PA) gets stuck in a local maximum (left), whereas Multi-Start Particle Ascent (MPA) shares candidate destinations across the batch to jump to the global maximum.
  • Multi-Start Particle Ascent (MPA) [Implicit]: Instead of keeping each sample isolated during gradient ascent, MPA periodically pauses and allows every sample in a training batch to jump to the best adversarial destination discovered by any sample in the pool (including many-to-one jumps). Alternating local ascent with batch-wide reassignment enforces cyclical monotonicity across the batch and helps samples escape local traps.
  • ICNN-DRO [Explicit]: Rather than optimizing points on the fly, this approach trains a neural network to act as a global adversarial map. Because any cyclically monotone map is the gradient of a convex function, the authors model a scalar potential using an Input-Convex Neural Network (ICNN) and take its gradient via automatic differentiation. This guarantees cyclical monotonicity by construction. To make notoriously finicky ICNNs train smoothly and fast, they restrict quadratic terms to the final layer and introduce a moment-matching initialization near the identity map.

Datasets

No new datasets are introduced; the authors evaluate on established benchmarks across classification and control:

  • CIFAR-10: Used both as frozen ResNet-50 features (for multi-class logistic regression) and raw $32 \times 32 \times 3$ pixels (for full deep network adversarial training).
  • CIFAR-10.1 & CIFAR-10.2: Unseen test sets capturing natural covariate shifts to test out-of-distribution generalization.
  • CIFAR-10-C: CIFAR-10 subjected to 15 algorithmic corruptions (noise, blur, weather) across five severity levels.
  • Cart-Pole Control: A classic reinforcement learning task where physical parameters (pole mass and length) are uncertain during training and shifted—including extrapolations outside the training box—during testing.

Key Insights and Ideas

  • Wasted transport directly weakens learning: The authors prove that an adversary's suboptimality is bounded below by its Monge gap—a direct measure of how much transport cost a map wastes by violating cyclical monotonicity. A sloppy adversary leaves the learner vulnerable.
  • Coupled problems share an escape hatch: Even though finding worst-case perturbations for $B$ samples involves $B$ nasty nonconvex problems, they all share the exact same loss landscape—differing only in their starting anchor points. MPA exploits this by letting samples share discovered basins of attraction, asymptotically guaranteeing global optimality as batch size grows.
  • Geometry preserves clean accuracy: Unconstrained neural network adversaries (like MLPs) violate optimal transport geometry and end up hurting performance on unperturbed data. Enforcing Brenier's convex-gradient structure acts as a natural geometric regularizer, achieving high robustness without sacrificing clean accuracy.

Key Results

Across all tasks, ICNN-DRO takes the crown, with MPA consistently finishing second ahead of standard baselines (ERM, RO, PA, Sinkhorn DRO, and Wasserstein-Fisher-Rao DRO):

  • Adversarial Image Classification: On CIFAR-10 ($\ell_2$ budget $\varepsilon=0.5$), ICNN-DRO hits 57.71% accuracy under AutoAttack (vs. 48.86% for PA and 50.37% for WFR) while maintaining 91.41% clean accuracy (just 1.71% shy of standard non-robust ERM). The tiny 0.4% gap between PGD and AutoAttack confirms genuine robustness rather than gradient masking.
  • Natural Shifts & Corruptions: ICNN-DRO leads on unseen domains (82.56% on CIFAR-10.1; 80.12% on CIFAR-10.2). On CIFAR-10-C, both MPA (83.23%) and ICNN-DRO (82.77%) even beat clean ERM (81.92%).
  • Geometric Purity & Speed: ICNN-DRO shrinks the empirical Monge gap to 1.01e-7 (nearly four orders of magnitude smaller than baselines) and trains in 4,037s—faster than every other DRO baseline except basic first-order PA/RO.
  • Robust Control: In Cart-Pole, ICNN-DRO and MPA maintain near-perfect 1,000-step episodes even when tested on "Heavy", "Short", and "Strong Gravity" physics that extrapolate outside the training uncertainty box.

Limitations and Future Work

The primary trade-off is compute overhead compared to bare-bones single-step adversarial training. MPA requires an $\mathcal{O}(B^2)$ pairwise evaluation per round to reassign batches, while ICNN-DRO requires storing and updating an auxiliary neural network alongside the main model. Future work isn't explicitly mapped out, though the authors note their transport-based adversaries are modular and can be combined with existing state-of-the-art robust regularization pipelines.

Summary updated

Abstract

Distributionally robust optimization (DRO) provides a principled framework for learning under distribution shift, but its practical use is hindered by the difficulty of evaluating worst-case risks for nonconvex loss functions. We study a penalized DRO formulation in which the adversary may choose any distribution but incurs a Wasserstein penalty for deviating from the empirical distribution. We show that the adversary’s problem can be reformulated as an optimization problem over transport maps that push empirical samples to adversarial ones, and we prove that optimal maps are cyclically monotone. We also show that standard adversarial training---based on per-sample local optimization---violates cyclical monotonicity and wastes transport costs unless the adversary is severely restricted. We propose two remedies. First, we introduce multi-start particle ascent, which alternates parallel gradient ascent with reassignment to enforce cyclical monotonicity across samples. Second, we parameterize adversarial maps as gradients of input-convex neural networks, which guarantees cyclical monotonicity by construction. Experiments on robust regression, image classification, and robust control show that our methods consistently outperform standard adversarial training and state-of-the-art baselines, achieving improved robustness and better generalization under distribution shift.
BibTeX
@inproceedings{abdollahpoorrostam2026brenier,
  author = {Alireza Abdollahpoorrostam and Ehsan Sharifian and Buse Şen and marco cuturi and Daniel Kuhn},
  title = {{Brenier Meets Adversarial Training: Optimal Transport Geometry for Robust Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QzN8ycFg2x},
}
Figure