StruDiCO: Structured Denoising Diffusion with Gradient-free Inference-stage Boosting for Memory and Time Efficient Combinatorial Optimization

Yu Wang, Yang Li, Junchi Yan, Yi ChangNeurIPS 2025

TL;DR

StruDiCO is a new diffusion-based solver for combinatorial optimization (CO) that replaces opaque "black-box" denoising with a structured, step-wise construction process. By using a variable-absorption noising model and a gradient-free refinement strategy, it achieves state-of-the-art solution quality while being up to 3.5× faster and using 70% less GPU memory than previous diffusion solvers.

What Problem Does This Paper Address?

Combinatorial Optimization (CO)—finding the best solution from a finite set of possibilities, like the shortest route for a delivery truck (TSP)—is notoriously difficult (NP-hard). Recently, Neural Combinatorial Optimization (NCO) has emerged, using deep learning to find near-optimal solutions quickly.

Current NCO solvers generally fall into two camps:

  1. Autoregressive solvers: These build solutions step-by-step. They are interpretable but slow because they require many sequential passes through a neural network.
  2. Non-autoregressive (one-shot) solvers: These predict the whole solution at once. They are fast but often produce "opaque" intermediate states—you don't see a viable solution until the very last calculation.

Diffusion models, which have revolutionized image generation, are the latest tool in the NCO kit. However, standard diffusion solvers for CO are computationally expensive, memory-intensive, and suffer from the same "opacity" problem. We can't see how the variables are being determined during the process, making it hard to trust or refine the trajectory.

Methods

The authors introduce StruDiCO (Structured Denoising Diffusion), which features three main innovations:

Variable-Absorption Noising Model
  • Variable-Absorption Noising Model: Instead of adding random "noise" to a solution (which destroys its structure), the forward process gradually "deactivates" or absorbs variables (edges or nodes) until the solution is empty. The reverse process—the one used for solving—learns to incrementally "re-activate" these variables. This ensures that every intermediate step in the diffusion process represents a valid, interpretable partial solution.
  • Constrained Consistency Sampling (CCS): To make the reverse process more stable, the model uses a threshold to mask out low-confidence predictions. This narrows the search space to high-confidence regions, reducing "jitter" and improving the final solution's reliability.
  • Gradient-free Objective-aware Refinement: Most high-end solvers use "gradient-based" refinement, which requires expensive backpropagation to nudge a solution toward a better objective (like a shorter path). StruDiCO skips the math-heavy gradients. Instead, it perturbs a solution, runs it back through the denoising model, and uses a simple task-specific score (e.g., edge length for TSP) to guide the decoding.

Datasets

The model was evaluated on two classic CO benchmarks:

  • Traveling Salesman Problem (TSP): Tested on instances with 50, 100, 500, and 1,000 nodes.
  • Maximal Independent Set (MIS): Tested on RB graphs (200-300 nodes) and Erdos-Rényi (ER) graphs (700-800 nodes).
  • Real-world Data: The authors also tested on the TSPLIB benchmark (real-world TSP instances) to prove the model's practical utility.

Key Insights and Ideas

  • Structure is a Feature, Not a Bug: By forcing the diffusion process to respect the "absorption" logic, the authors turned a mathematical abstraction into a physical construction process. This makes the model's "thought process" visible to humans.
  • Consistency Models are the Secret Sauce: StruDiCO builds on "Consistency Models," which are designed to map any noisy input directly to a clean output in a single step. This allows StruDiCO to reach high-quality solutions in just 3 to 5 inference steps, whereas traditional diffusion might take hundreds.
  • Gradients are Overkill: The success of the gradient-free refinement suggests that for discrete problems like CO, a "perturb-and-denoise" approach guided by simple heuristics can be just as effective as complex, differentiable optimization—and much faster.

Key Results

StruDiCO significantly outperforms previous SOTA diffusion solvers like Fast T2T:

Performance Comparison Radar Charts
  • Efficiency: It is up to 3.5× faster and uses 70% less GPU memory. This is a massive win for scaling NCO to larger, real-world problems.
  • Solution Quality: On TSP-1000, it achieved a 37.7% reduction in the "optimality gap" (how far the solution is from the perfect answer). On MIS, it showed an average 38.1% improvement in solution quality.
  • Generalization: A model trained on 1,000-node TSP problems still performed exceptionally well on 50-node problems (only a 0.80% drop), showing that it learns the underlying "logic" of the problem rather than just memorizing sizes.

Limitations and Future Work

The authors acknowledge a few hurdles:

  • Supervised Learning Trap: The model currently requires a large dataset of "optimal" solutions (labels) to train. Generating these labels for very large problems is itself a difficult task.
  • Heuristic Hand-holding: While the diffusion process is structured, the final step still relies on a "greedy decoding" heuristic to ensure the solution is 100% feasible (e.g., ensuring a TSP route is one continuous loop).
  • Future Directions: The team aims to explore unsupervised learning or reinforcement learning to train the model without needing pre-solved examples, which would allow it to tackle problems where the "perfect" answer is currently unknown.

Summary updated

BibTeX
@inproceedings{wang2025strudico,
  author = {Yu Wang and Yang Li and Junchi Yan and Yi Chang},
  title = {{StruDiCO: Structured Denoising Diffusion with Gradient-free Inference-stage Boosting for Memory and Time Efficient Combinatorial Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=P69X3V4WwH},
}
Figure