Native Adaptive Solution Expansion for Diffusion-based Combinatorial Optimization

Yu Wang, Yang Li, Jiale Ma, Junchi Yan, Yi ChangICLR 2026

Solving NP-hard Combinatorial Optimization (CO) problems—such as the Traveling Salesperson Problem (TSP) or Vehicle Routing—using neural networks is notoriously difficult due to the presence of strict, hard constraints. This paper introduces NEXCO, a masked diffusion framework for Neural Combinatorial Optimization (NCO) that natively integrates "adaptive expansion" into its decoding process. By treating intermediate diffusion steps as valid, constraint-aware partial solutions rather than noisy global heatmaps, NEXCO achieves up to a 50% improvement in solution quality and 4x faster inference compared to state-of-the-art neural solvers.

The Challenge with Existing Paradigms

Historically, neural solvers for CO have fallen into two extreme paradigms:

  1. Local Construction (LC): Builds solutions autoregressively, one step at a time. While it guarantees feasibility, it is slow and suffers from myopic, localized decision-making.
  2. Global Prediction (GP): Predicts a full probability heatmap of the solution in one shot. It is fast and globally aware, but the raw outputs often violate hard constraints, requiring messy heuristic post-processing.

Recently, a middle-ground called Adaptive Expansion (AE) was proposed, which progressively grows partial solutions. However, current AE methods are implemented as clunky wrappers bolted onto external GP models. Consequently, their inference cost scales poorly due to repeated, expensive calls to the global predictor, and their performance remains bottlenecked by the underlying GP model. The authors aim to resolve this by making adaptive expansion the native decoding principle of a generative diffusion model, rather than an external afterthought.

The NEXCO Framework

The authors propose NEXCO (Native Adaptive Expansion for Combinatorial Optimization), which fundamentally reimagines diffusion for discrete graphs.

NEXCO Framework Overview
  • CO-Specific Masked Diffusion: Standard diffusion models use uniform bit-flipping (flipping 0s to 1s and vice versa), which creates noisy intermediate states that violate graph constraints (e.g., creating impossible sub-tours in TSP). NEXCO uses a one-way masking process where active variables (1s) are simply dropped to a background state (0s). This ensures every intermediate step in the diffusion trajectory is a mathematically valid "partial solution."
  • Time-Agnostic GNN Denoiser: Because the corruption level is obvious just by looking at the fraction of masked variables, the authors remove standard diffusion timestep conditioning. The Graph Neural Network (GNN) denoiser focuses entirely on the structural semantics of the partial solution.
  • Optimization Consistency Training: The model is trained to map any corrupted partial state directly to the final optimal solution, ensuring consistent predictions across the entire trajectory.
  • Native Adaptive Expansion (NAE) Decoding: During inference, the model doesn't just output a final heatmap. It iteratively predicts confidence scores for masked variables, selects the top candidates, runs a lightweight "feasibility projection" to ensure no constraints are broken, and permanently adds them to the partial solution.

Key Insights

  • Standard diffusion breaks CO constraints: Symmetrical bit-flipping forces the denoiser to learn how to fix impossible artifacts. By switching to a one-way mask, the model stays on the "feasible manifold" the entire time, making the learning signal much cleaner.
  • Timesteps are redundant for masked CO: Borrowing an insight from large language models, the authors prove that explicit timestep schedules are unnecessary for masked CO diffusion. The mask itself provides all the context the denoiser needs.
  • Adaptivity shouldn't be a wrapper: By making expansion native, the model monotonically builds up a partial solution. It commits early to high-confidence regions and defers uncertain choices to later steps, saving massive amounts of compute compared to wrapper methods that repeatedly reconstruct full solutions from scratch.

Key Results

The authors evaluated NEXCO across three canonical NP-hard tasks: TSP, Maximum Independent Set (MIS), and the Capacitated Vehicle Routing Problem (CVRP).

Performance comparison on TSP benchmarks
  • Speed and Quality: On TSP-500, NEXCO reached a 0.25% optimality gap in just 0.43 seconds. The prior state-of-the-art (Fast T2T) took 1.41 seconds to reach a worse 0.39% gap. This represents a ~3x speedup and a ~1.5x improvement in quality.
  • Cross-Scale Generalization: NEXCO models trained on TSP-500 generalized remarkably well to TSP-1000 (achieving a 0.58% gap), actually outperforming baseline models that were trained directly on the larger TSP-1000 dataset.
  • Handling Complex Constraints: Because GP-based diffusion solvers struggle with complex capacity constraints, they hadn't previously been extended to CVRP. NEXCO handles it natively, cutting the optimality gap on CVRP-100 from 4.16% (using the wrapper-based COExpander) to 1.40%, while running nearly 2x faster.

Limitations and Future Work

While the authors successfully tested NEXCO on large-scale graphs (TSP-10K), they note that scaling to massive, industrial-scale deployments will likely require replacing the GNN backbone with lightweight sparse-attention Transformers, or integrating NEXCO into divide-and-conquer frameworks. Additionally, the consistency loss relies on high-quality ground-truth labels, which are computationally expensive to generate for large graphs. Future work could leverage NEXCO's partial-state semantics to enable self-training, allowing the model to bootstrap itself from incomplete or heuristic labels.

Summary updated

BibTeX
@inproceedings{wang2026native,
  author = {Yu Wang and Yang Li and Jiale Ma and Junchi Yan and Yi Chang},
  title = {{Native Adaptive Solution Expansion for Diffusion-based Combinatorial Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=084SvT55yk},
}
Figure