TL;DR
If you rotate a map on your desk, the shortest route through ten cities doesn't change—yet most neural networks solving routing problems have to relearn that route from scratch for every possible orientation. EDISCO bakes 2D geometric symmetry directly into a discrete diffusion model, guaranteeing that rotated, flipped, or shifted problems produce the exact same probability distribution of solutions. The result is a faster, more data-efficient solver that doesn't panic when city layouts or vehicle constraints suddenly look different from its training data.
What Problem Does This Paper Address?
Combinatorial optimization over 2D coordinates—like the Traveling Salesman Problem (TSP) or Capacitated Vehicle Routing Problem (CVRP)—is full of geometric symmetries. Shifting, rotating, or reflecting the coordinates (formally, the 2D Euclidean group, $E(2)$) changes all the raw $(x, y)$ numbers fed into a model, while the optimal node-to-node tour stays identical.
Recently, discrete diffusion models have become top-tier neural solvers for these problems, learning to denoise random graphs into near-optimal tours. However, existing diffusion solvers treat coordinates naively. They try to approximate geometric awareness by augmenting training data (randomly rotating maps) or adding soft penalty terms. Because a diffusion model outputs an entire probability distribution over solutions rather than a single guess, approximating symmetry isn't enough—every step of the pipeline must respect geometry, or the model wastes capacity memorizing coordinate frames and breaks down when tested on unfamiliar map layouts.
Methods
EDISCO achieves exact, end-to-end $E(2)$ invariance across its entire generative pipeline by combining three core pieces:
- Categorical CTMC Diffusion: Instead of relaxing discrete graph edges into continuous numbers, EDISCO models edges directly as binary states ("in the tour" or "not") using a Continuous-Time Markov Chain (CTMC). During training, clean tours are corrupted into noise using closed-form transition probabilities. For inference, the authors adapt multi-step ODE solvers (like DEIS and PNDM) to discrete states by smoothing predicted clean-edge probabilities across steps and sampling from the exact mathematical posterior—allowing flexible speed-vs.-quality trade-offs without retraining.
- $E(2)$-Equivariant Score Network: To denoise the graph, EDISCO uses an Equivariant Graph Neural Network (EGNN). Message passing between nodes relies only on invariant scalar distances ($\|x_i - x_j\|_2$), while coordinate updates move along relative vectors between cities. Because the final output layer only reads invariant edge features, edge probabilities remain completely unchanged under rotations, reflections, and translations. For CVRPs, vehicle capacity ratios modulate these scalar messages via FiLM layers, preserving exact symmetry.
- Native Edge Expansion (NEE): Standard post-processing often breaks symmetry or relies on slow external heuristics like 2-opt local search. NEE is a fast, deterministic, symmetry-preserving decoder. It ranks candidate edges using a simple ratio of predicted probability to Euclidean distance, iteratively adding the best edges while tracking node degrees, preventing premature subtours, and checking vehicle capacities.
Datasets
No new datasets are introduced; the authors evaluate EDISCO on established benchmarks while using only 33% to 50% of the training data required by competing diffusion models:
- Synthetic TSP & CVRP: Uniformly distributed coordinates for TSP (100 to 10,000 cities, labeled by Concorde/LKH-3) and CVRP (50 to 2,000 customers, labeled by HGS-CVRP).
- Out-of-Distribution (OOD) & Real-World Benchmarks: Cross-distribution TSP-100 sets (Cluster, Explosion, Implosion), standard real-world TSPLIB instances, and capacity-shifted CVRP-100 benchmarks spanning tight to near-TSP vehicle capacities ($Q \in \{10, \dots, 500\}$).
- Generality Checks: Euclidean Steiner Tree Problem (ESTP) and non-Euclidean Maximum Independent Set (MIS).
Key Insights and Ideas
- "Orbit-sharing" beats "orbit-sampling": Data augmentation tries to sample different orientations during training; EDISCO shares the exact same internal scalar representation across all rotated/shifted versions of a neighborhood. Mathematically, this shrinks the learning space onto a lower-dimensional manifold ($2n - 3$ dimensions instead of $2n$).
- Local geometry drives OOD generalization: Because internal features only see relative distances rather than global $(x, y)$ coordinates, a model trained strictly on uniform random maps naturally understands clustered or exploding city layouts without retraining.
- Learning from imperfect teachers: Even when trained on suboptimal heuristic tours (Farthest Insertion, which has a 7.5% optimality gap on TSP-50), EDISCO distills the underlying geometric patterns to produce tours with a 0.82% gap, outperforming non-equivariant diffusion baselines trained on the same noisy labels.
Key Results
- TSP Speed & Accuracy: EDISCO achieves 0.000% optimality gap on TSP-100 (in 0.075s), 0.018% on TSP-500 (0.28s), and 0.52% on TSP-1000 (1.28s)—leading modern diffusion and expansion solvers in both accuracy and wall-clock speed, without needing external 2-opt search.
- Spatial Shift Robustness: When trained on uniform maps and tested on OOD layouts (Cluster, Explosion, Implosion), EDISCO's optimality gap degrades by an average of just 4%, compared to 133% for DIFUSCO and 687% for T2T.
- CVRP & Constraint Shifts: EDISCO outperforms neural baselines across CVRP-50 to CVRP-500 (achieving a 0.26% gap on CVRP-100 in 0.10s, and 1.70% on CVRP-500). Under severe vehicle capacity shifts ($Q=10$ to $500$), a single capacity-conditioned EDISCO model stays between 0.26% and 0.78% gap across all regimes, nearly matching per-capacity specialist models.
- Exact Numerical Invariance: Under random rotations and shifts, EDISCO's edge probability predictions vary by just $1.2 \times 10^{-7}$ (floating-point precision floor), compared to $1.7 \times 10^{-2}$ for an augmented GNN.
Limitations and Future Work
EDISCO's geometric guarantees apply strictly to symmetric Euclidean problems. If a problem lives on an abstract, coordinate-free topology (like Maximum Independent Set), the EGNN brings no geometric advantage (though the CTMC diffusion engine still works with a standard GNN). More practically, real-world routing is often non-Euclidean and asymmetric—think one-way streets, elevation changes, traffic, or wind—where going from A to B costs more than B to A. Future work aims to bridge this sim-to-real gap by pairing EDISCO's diffusion framework with directional encoders or metric-learning techniques (like Finsler multidimensional scaling) to handle asymmetric network costs.
Summary updated