Federated Distributionally Robust Neural Combinatorial Optimization with Convergence Guarantees

Ryunosuke Hamada, Daisuke Hatano, Yuichi TakanoNeurIPS 2026

TL;DR

Neural networks can learn to solve complex routing problems in milliseconds, but they fall apart when deployed in new cities or logistics networks they weren't trained on. This paper introduces the first mathematically guaranteed framework for training these neural solvers across multiple private clients (Federated Learning) while ensuring no single client gets left behind (Distributionally Robust Optimization). Along the way, the authors uncover a fascinating geometric quirk in how reinforcement learning gradients behave across different routing maps.

What Problem Does This Paper Address?

Imagine sixteen independent delivery companies. Some operate in dense urban grids; others serve scattered rural clusters. Each wants a fast Neural Combinatorial Optimization (NCO) solver—a neural network trained to route vehicles—that works well everywhere. Because of strict confidentiality, they cannot pool their customer data.

Federated Learning (FL), where clients train a shared model by exchanging parameter updates rather than raw data, seems like the obvious fix. However, standard FL optimizes for the average client, meaning a minority company with an unusual map layout can end up with a terrible model. Group Distributionally Robust Optimization (Group DRO) fixes this by explicitly optimizing for the worst-off client.

Bringing Group DRO to federated NCO hits two major walls:

  1. Broken math for Reinforcement Learning: Modern NCO solvers don't use supervised labels; they learn by trial and error using the REINFORCE policy-gradient estimator. Prior federated DRO convergence proofs rely on smooth, Lipschitz-bounded losses—assumptions that shatter when gradients are formed by multiplying tour lengths by policy score functions.
  2. Weight collapse: Standard Group DRO dynamically increases the training weight of the highest-loss client. Over time, these weights accumulate exponentially onto a single struggling client, effectively deleting everyone else's data from the training loop.

Methods

To train a shared policy without weight collapse or broken variance assumptions, the authors adapt KL-regularized Group DRO to the federated policy-gradient setting. Instead of a hard, non-smooth "min-max" objective, they add a Kullback-Leibler (KL) divergence penalty controlled by a temperature parameter $\lambda$. This turns the inner maximization into a smooth softmax weighting over client losses: weights depend only on current losses rather than accumulated history, preventing runaway collapse while providing a formal mathematical upper bound on the worst-client cost.

Because clients in the real world only see their own local minibatches—not the exact global losses needed to compute those softmax weights—the authors introduce FedDRO-KL-EMA. Adapting machinery from supervised federated DRO to REINFORCE, each client maintains three local exponential moving averages (EMAs):

  • Running mean tour cost ($u_g$)
  • Local softmax numerator ($\tilde{v}_g$)
  • DRO-weighted policy gradient direction ($\hat{d}_g$)

A central server averages the model parameters and aggregates $\tilde{v}_g$ to broadcast a global normalization constant for the next round. Crucially, the authors establish new convergence proofs tailored specifically to REINFORCE by separating bounded route costs from explicit smoothness and score-function variance assumptions.

Datasets

The authors evaluate their framework on synthetic Capacitated Vehicle Routing Problem (CVRP) benchmarks across $G = 16$ clients, with problem sizes of $n = 50$ and $n = 100$ customers. Following established NCO spatial generators, clients hold private datasets drawn from distinct customer-location geometries—primarily pairing a majority cluster layout against minority explosion or grid layouts at varying minority ratios ($1/16$, $4/16$, $8/16$), alongside a supplementary six-distribution setup adding uniform, implosion, and expansion maps. No new external datasets are introduced; rather, existing generators are partitioned into heterogeneous federated splits.

Key Insights and Ideas

  • Why naive Group DRO self-destructs: The authors prove mathematically that if one client persistently has a slightly harder map (a positive loss gap), standard exponentiated-gradient Group DRO concentrates $100\%$ of the weight onto that client exponentially fast—starving the network of diverse training signals and Ironically worsening performance on the very client it tried to help.
  • The mystery of orthogonal gradients: Surprisingly, KL-DRO didn't beat standard Federated Averaging (ERM) on worst-group cost—it tied. Why didn't upweighting the struggling minority client help it? When the authors measured the cosine similarity between minority-client and majority-client REINFORCE gradients, they found it was nearly zero ($\approx -0.007$ to $+0.003$). Because the gradients are practically orthogonal, they don't point in opposing directions! Even when variance was slashed $100\times$ using multi-rollout POMO, orthogonality persisted, suggesting that scalar re-weighting alone cannot bridge geometric shifts in CVRP.
  • Federation rescues the "little guy": While majority clients have enough similar peers or data to get by, a data-scarce minority client training alone overfits its own niche ($-15\%$ local cost) and fails catastrophically on broader distributions ($+31\%$ cost).

Key Results

  • Convergence rate: Both the idealized algorithm (under partial client participation) and the practical EMA variant (under full participation, $K=1$ local step, and horizon-tuned parameters) achieve an $\mathcal{O}(1/\sqrt{T})$ convergence rate over $T$ communication rounds—the first such guarantee for REINFORCE-based federated DRO.
  • Preventing collapse: Aggressive unregularized Group DRO ($\eta_q = 0.01$) degrades worst-group routing costs by 5% to 26% across all 12 federated conditions (and by 3.3% even in a centralized setting).
  • Value of federation & certificates: Independent local training for a minority client results in 26% higher overall validation cost compared to federated models. FedDRO-KL matches standard FedAvg-ERM within $\pm 0.5\%$ average cost and shows no statistically significant worst-group degradation ($p > 0.28$), while uniquely supplying a formal mathematical upper-bound certificate on worst-group cost.

Limitations and Future Work

The authors are admirably transparent about the gap between clean theory and messy deep RL practice:

  • Theory-practice gap: The convergence proofs assume unclipped, baseline-free gradients and fixed temperatures, whereas the actual experiments use divisive logit centering (which induces a time-varying temperature), EMA baselines, gradient clipping, momentum, and training-mode BatchNorm. Furthermore, the EMA rate requires full client participation and $K=1$ local step.
  • Synthetic scope: Experiments are limited to synthetic CVRP up to $n = 100$ customers and 16 clients; real-world road networks, cross-device constraints, and varying vehicle capacities remain untested.
  • Beyond re-weighting: Because CVRP gradients across distributions are near-orthogonal, simply re-weighting client losses hits a ceiling. Future progress will likely require architectural or representation-level interventions alongside alternative risk objectives like CVaR.

Summary updated

Abstract

Neural combinatorial optimization (NCO) solvers generalize poorly under distribution shift, yet robustness across heterogeneous problem distributions is essential for real-world deployment where no single client should be left behind. Group distributionally robust optimization (Group DRO) offers a principled remedy, but requires pooling data that often cannot be shared due to confidentiality or regulatory constraints. Federated learning removes data-sharing requirements; however, existing federated DRO methods cannot accommodate the policy-gradient estimators used in modern NCO. Specifically, prior analyses rely on Lipschitz losses and bounded gradient variance. The REINFORCE policy-gradient estimator multiplies sampled costs by score functions, so bounded costs alone do not guarantee finite gradient variance. We address this gap with explicit smoothness, bounded-gradient, unbiasedness, and variance assumptions for the REINFORCE estimator. Under these assumptions, we establish the first federated Group DRO framework with an inverse-square-root convergence rate in the number of communication rounds. Our analysis applies to any REINFORCE-trained model under these assumptions, including NCO solvers as a special case. Experiments on capacitated vehicle routing demonstrate that an independently trained minority-client model has 26\% higher overall validation cost than federated models, illustrating the value of federation for cross-client generalization. We show that unregularized Group DRO can suffer weight collapse, while KL regularization prevents cumulative collapse of the weights; weights may nonetheless concentrate when loss differences are large relative to the temperature parameter. The KL-regularized Group DRO objective yields a formal worst-group upper bound, and results in the tested settings are comparable to standard federated averaging.
BibTeX
@inproceedings{hamada2026federated,
  author = {Ryunosuke Hamada and Daisuke Hatano and Yuichi Takano},
  title = {{Federated Distributionally Robust Neural Combinatorial Optimization with Convergence Guarantees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1JoBgRVNAk},
}
Figure