TL;DR
Diffusion models are surprisingly good at solving classic routing puzzles like the Traveling Salesman Problem, except for one major catch: a model trained on a 100-city map completely falls apart when handed a 10,000-city map. SeqDiCO fixes this scale problem by teaching a diffusion model to denoise local subpaths rather than entire maps at once. Trained solely on tiny 100-node problems, this reusable local operator snaps together to solve massive 10,000-node routing challenges faster and more accurately than state-of-the-art neural solvers.
What Problem Does This Paper Address?
Classic routing problems—like finding the shortest loop through a set of cities (the Traveling Salesman Problem, or TSP) or managing delivery fleets with cargo limits (the Capacitated Vehicle Routing Problem, or CVRP)—are NP-hard. Exact mathematical solvers grind to a halt as the map grows, prompting researchers to train neural networks to intuit good routes instead.
Neural solvers generally fall into two camps. Autoregressive solvers pick one city at a time; they adapt easily to bigger maps, but stepping through 10,000 cities sequentially is painfully slow. Diffusion-based solvers work in parallel, starting with a noisy, scrambled matrix of all possible road connections and progressively denoising it into a clean tour.
Here’s the catch: standard diffusion operates on the entire map's $n \times n$ connection matrix. As $n$ grows, both the matrix dimensions and the web of dependencies between edges shift dramatically. A diffusion solver trained on 100 nodes is Coupled to that exact scale—hand it 10,000 nodes, and it either runs out of memory or produces terrible routes. Since generating optimal training labels for giant maps is computationally prohibitive, we need a way to train on small maps and generalize to huge ones.
Methods
The authors' core insight is a shift in granularity: instead of denoising a whole tour of size $n \times n$, SeqDiCO denoises a local, fixed-endpoint sequence of size $L \times L$ (where $L \ll n$).
Here is how the pieces fit together:
- Fixed-Endpoint Subpath Diffusion: During training, the authors slice short, contiguous path segments (length $L$, ranging from 30 to 100 nodes) out of optimal 100-node tours. They lock the two boundary endpoints in place, shuffle the intermediate nodes so the model can't cheat using input order, and mask out a fraction of the true path edges. A Transformer encoder-decoder is then trained to predict the missing edges in parallel, progressively reconstructing the clean open path connecting the two endpoints.
- Unified Construction and Refinement: At test time on a giant map, this exact same local denoiser wears two hats:
- Construction (Building from scratch): Starting at one node, SeqDiCO grabs a local cluster of nearby unvisited nodes, runs the denoiser to envision a local path, and commits only the very first step before re-evaluating (a receding-horizon strategy).
- Refinement (Polishing): Given a complete tour, SeqDiCO grabs a contiguous segment, fixes its endpoints, scrambles the middle, and asks the denoiser for a better route between those endpoints—keeping the new subpath if it shortens the trip.
Datasets
No new datasets are introduced; the authors test cross-scale transfer using standard synthetic and real-world benchmarks:
- Training: Exclusively 100-node synthetic TSP and CVRP instances (with ground-truth labels generated by classical solvers Concorde and HGS).
- Evaluation: Zero-shot testing on synthetic 100-, 1K-, and 10K-node TSP and CVRP instances, plus real-world geographic distributions from TSPLIB and CVRPLIB (up to 1,000 nodes).
Key Insights and Ideas
- Decoupling scale unlocks generalization: When the authors tested an identical model architecture trained on global full-instance matrices, its optimality gap exploded from 0.000% on TSP100 to 39.53% on TSP1K (and crashed on TSP10K). Switching to local sequences kept the TSP1K gap at a tiny 0.281%. Local geometry looks remarkably similar whether it's embedded in a 100-node map or a 10,000-node map.
- Diffusion still matters locally: Is local framing doing all the work? No. When comparing SeqDiCO against a non-diffusion variant that predicts the clean local path in one shot (without iterative corruption-denoising), the non-diffusion model's error ballooned to 16.15% on TSP10K (versus SeqDiCO's 1.97%). Iterative denoising and local representation are genuinely complementary.
- Moderate length extrapolation: Even though SeqDiCO only ever saw subpaths of 30–100 nodes during training, feeding it subproblems of 140–180 nodes at test time actually improved solution quality by giving the denoiser richer local context before difficulty eventually degraded performance.
Key Results
Trained only on 100-node instances, SeqDiCO outperforms autoregressive, decomposition, and diffusion baselines across scales without any fine-tuning:
- Synthetic TSP: Achieves a 0.281% optimality gap on TSP1K (in 4.4 minutes) and 1.967% on TSP10K (in 4.64 minutes for the full test set), beating strong neural competitors like DIFUSCO (2.58% in 47m) and L2C-Insert (2.08% in 16.6m).
- Synthetic CVRP: Cuts the CVRP10K optimality gap roughly in half compared to the next best neural solver—achieving 4.25% in just 3.7 minutes, versus L2C-Insert's 8.65% (34.7m) and LEHD's 9.92% (8.1 hours).
- Real-World Benchmarks: Achieves the lowest overall optimality gaps on TSPLIB (0.125%) and CVRPLIB (1.99%), roughly halving the error of prior state-of-the-art neural methods.
Limitations and Future Work
While there is no dedicated limitations section in the main text, two trade-offs emerge directly from the authors' ablations:
- Subproblem Length Ceiling: While the local operator extrapolates well up to ~180 nodes, pushing the local window size too far beyond the training distribution eventually degrades accuracy as the reconstruction puzzle becomes too complex.
- Construction Speed vs. Quality: Committing just one node per denoising pass yields the sharpest routes (2.10% gap on TSP1K), whereas committing 20 steps at once speeds up construction nearly $4\times$ at the cost of a wider optimality gap (3.47%). Future work isn't explicitly detailed in the main paper, though the authors point to sequence-level reconstruction as a broad, promising foundation for scalable diffusion solvers.
Summary updated