Minimax Optimality for Factored Optimal-Transport Distributionally-Robust Policy Learning in Contextual Bandits

Khang Luong, Trung Nguyen, Hoang Ta, Tuan Quang Dam, Hung The TranarXiv 2026

TL;DR

When you train a decision-making algorithm on historical logs—like clinical records or e-commerce clicks—the real world inevitably shifts by the time you deploy it. Existing methods that brace for these shifts typically demand that your historical data thoroughly explores every possible action, even terrible ones. This paper introduces a "pessimistic" offline bandit learner using Optimal Transport that achieves mathematically unbeatable (minimax-optimal) performance while only needing historical data to cover the actions an optimal robust policy actually uses.

What Problem Does This Paper Address?

In offline contextual bandits, we want to learn a decision policy (e.g., which treatment to give a patient) from logged historical data without running risky live experiments. The catch? Deployment rarely looks like the past. Both the population of incoming users (context shift) and how they respond to actions (reward shift) can change simultaneously and at different scales.

To handle this, researchers use factored Distributionally Robust Optimization (DRO), optimizing for the worst-case scenario across separate uncertainty bubbles ("ambiguity sets") around the historical context and reward distributions.

However, prior factored DRO guarantees suffer from a major practical bottleneck: they require uniform coverage. Your historical logging policy must have tried every action in every context with sufficient probability. In reality, historical logs rarely try obviously bad or irrelevant actions. In standard (non-robust) offline learning, pessimism—subtracting a penalty for uncertainty—lets algorithms ignore unvisited, suboptimal actions, requiring coverage only along the optimal policy. Extending this to factored DRO is tricky because an adversarial context shift might suddenly emphasize patient types that were rare in your logs. Can we learn robust policies at the optimal statistical rate without paying a penalty for unexplored, irrelevant actions?

Methods

The authors say yes, combining Optimal Transport (OT) with pessimistic lower confidence bounds. Unlike rigid divergence measures (like KL divergence), general OT costs let practitioners define exactly how severe a specific shift is—for instance, encoding whether two patient states are clinically similar or dangerously different.

The proposed algorithm works in three intuitive steps, requiring zero prior knowledge of the true context distribution or the historical logging probabilities:

  1. Pessimistic Cell Rewards: For every observed context-action pair, it estimates the worst-case reward within the OT reward ambiguity set, subtracts a finite-sample confidence penalty ($\beta_Y$), and clips the result at zero.
  2. Outer Context Evaluation: Plugging in those conservative reward estimates, it evaluates candidate policies against the worst-case context shift permitted by the OT context ambiguity set.
  3. Optimize: It picks the policy with the highest pessimistic value. (If policies are unconstrained across contexts, this reduces to simply picking the action with the highest pessimistic score in each context!)

Datasets

No new benchmarks are introduced; the authors test their theory on synthetic setups and two real-world offline datasets:

  • Synthetic Benchmarks: Custom reward distributions and Bernoulli bandit instances designed to stress-test confidence bounds, sample-size scaling, and rare suboptimal actions.
  • Open Bandit Dataset (OBD): Logged fashion recommendations from ZOZOTOWN (~0.45M–1.37M rows across men, women, and all campaigns), where items are actions and binary clicks are rewards.
  • International Stroke Trial (IST): Clinical trial data of 19,435 acute stroke patients randomized across six aspirin/heparin combinations, with 6-month survival and independence as the binary reward. Leaving out four countries (Australia, Austria, Czechia, Netherlands; 2,002 patients) for testing creates a natural geographic distribution shift.

Key Insights and Ideas

  • Dodging the Curse of Continuous Rewards: Prior Wasserstein-DRO bounds scaled poorly with the number of possible reward values, failing on continuous rewards. The authors notice that the functions inside the OT dual problem are neatly ordered as the dual parameter varies. Using this ordered structure, they derive a strictly sharper confidence bound that works for any bounded reward distribution—discrete or continuous.
  • Robust Optimal-Policy Coverage ($C_{\rm rob}^\star$): The authors introduce a new coverage coefficient that naturally generalizes non-robust single-policy coverage. Because an adversary can shift weight onto any context, your historical data must cover all contexts—but it still only needs to cover actions that the optimal robust policy actually chooses.
  • Free Context-Penalty Cancellation: The uncertainty penalty for estimating the context distribution ($\beta_X$) depends on the unknown true context distribution. Fortunately, because $\beta_X$ is identical for every policy, the algorithm doesn't even need to compute it to pick the winning policy, yet it cleanly folds into $C_{\rm rob}^\star$ during the theoretical regret analysis!
Comparison of regret bounds for offline contextual bandit learning under distributional shift.

Key Results

  • Minimax Optimality: The learner achieves a regret bound of $O\left(D C_{\rm rob}^\star \sqrt{\log(|\mathcal{X}||\mathcal{A}|/\delta)/n}\right)$, and a matching lower bound proves this rate cannot be beaten up to universal constants.
  • Tighter Synthetic Behavior: Across 1.16 million synthetic replications, the reward confidence bound had zero violations. When a suboptimal action's logging probability was slashed (driving worst-cell coverage factors from 64 up to 4,096 while keeping $C_{\rm rob}^\star = 64$ fixed), mean robust regret didn't blow up—it actually dropped by 3.8%–7.6%.
  • E-Commerce & Clinical Wins: On OBD, the learner achieved the highest test click-through estimates across all campaigns (e.g., 1.817% on all vs. 1.734% for Factored W-DRO and 1.436% for IPW). On the held-out IST countries under a heparin budget constraint, OT-DRO achieved the highest estimated 6-month independent survival rate at 43.36%, beating a non-robust pessimistic control by 7.06 percentage points and standard baselines (POEM, IPW, Joint KL-DRO) by 7.52 to 8.29 percentage points.

Limitations and Future Work

  • Finite Spaces: The theoretical guarantees rely on finite context and action sets ($\mathcal{X}$ and $\mathcal{A}$), since the learner tabulates counts per context-action cell. Extending the theory beyond finite contexts (e.g., to continuous state spaces with function approximation) is highlighted as a key next step.
  • Conservative Theoretical Constants: Synthetic tests showed the theoretical reward confidence radius was at least 2.79x larger than empirical 95th-percentile errors. On real recommendation data, scaling down this confidence penalty via cross-validation was helpful to reduce over-conservatism.

Summary updated

BibTeX
@misc{luong2026minimax,
  author = {Khang Luong and Trung Nguyen and Hoang Ta and Tuan Quang Dam and Hung The Tran},
  title = {{Minimax Optimality for Factored Optimal-Transport Distributionally-Robust Policy Learning in Contextual Bandits}},
  year = {2026},
  eprint = {2611.38654},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38654},
}
Figure