Manuscript Offprint
arXiv:2609.07990HyCO: A Hybrid Neural Solver for Combinatorial Optimization
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Yuheng Li
Department of Data Science
College of William & Mary
Di Yang
Department of Data Science
College of William & Mary
Haipeng Chen
Department of Data Science
College of William & Mary
Yanhai Xiong
Department of Data Science
College of William & Mary
Abstract
Sequential reinforcement learning (RL) solvers and global diffusion model (DM) solvers for neural combinatorial optimization exhibit complementary failure modes under an optimization-regret view. The former enjoys small marginal regret in the early construction stage, but suffers from horizon-wise compounding errors with super-linear regret growth; the latter avoids horizon compounding but incurs linear or sublinear regret w.r.t. the dimension of the remaining unsolved subspace. We propose Hybrid Neural Solver for Combinatorial Optimization (HyCO), a hybrid inference algorithm that constructs a solution prefix with an RL solver and adaptively switches to a conditional DM to complete the remaining decisions. To characterize why such hybridization helps, when to trigger the handover, and how to realize it in practice, we first develop a unified error-scaling theoretical framework and prove that, under explicit error-scaling assumptions, i) the hybrid structure achieves strictly lower expected regret than either backbone alone, and ii) there exists a unique optimal trigger step that minimizes the hybrid regret. We then design a lightweight adaptive trigger that combines policy entropy and RL–DM disagreement to detect trajectory-level signals of the regime shift as a practical proxy, since the optimal trigger step is defined at the expected-regret level and is not directly computable on individual trajectories. Experimental results on diverse benchmarks demonstrate that HyCO achieves consistent improvements over both backbones and support the empirical effectiveness of adaptive triggering.
1 Introduction
Combinatorial optimization (CO) problems, such as the Traveling Salesman Problem (TSP), are fundamental to operations research but notoriously difficult to solve at scale due to their NP-hard nature [1, 2]. While traditional exact solvers like Concorde [3] provide optimality, their exponential complexity limits scalability. This has spurred the design of neural solvers that learn heuristics directly from data. Among recent neural approaches, two representative solver classes have emerged: sequential construction solvers based on reinforcement learning (RL) [4–6], and global generative solvers based on diffusion models (DMs) [7, 8].
Both classes aim to produce high-quality solutions, but they rely on fundamentally different inference mechanisms and exhibit complementary error trends under an optimization-regret view:
Preprint.

(a) Regret Dynamics (Motivation)
(b) HyCO Inference Framework
Figure 1: Motivation and Method. (a) Schematic illustration of the unified error dynamics. The marginal regret of RL increases as the trajectory lengthens, while that of a conditional DM is constant as the solution prefix grows. Their intersection defines the optimal trigger step . (b) The HyCO framework, which constructs a prefix with a RL solver, detects the regime shift via a lightweight adaptive trigger, and hands over to a conditional DM for dual-track completion.
RL-based sequential solvers typically construct solutions in an autoregressive manner. At early decision steps, the marginal regret is typically small as the solver operates within the high-density regions of the ground-truth state distribution. However, such solvers are inherently vulnerable to horizon-wise compounding errors [9, 10]: as the decision horizon extends, even small local deviations steer the state trajectory away from the training state distribution, causing decision errors to propagate and accumulate super-linearly w.r.t. the horizon [11–13].
In contrast, DM-based global solvers exhibit a different error profile. Unlike RL solvers, which compound errors over sequential decision steps, DMs incur a solution-space-governed regret that can scale linearly (or sub-linearly) with the effective dimension of the solution space [14]. While generating a full high-dimensional solution from scratch incurs high regret due to the vast search space, the marginal regret of a conditional DM remains constant or may even decrease as the solution prefix grows. As the constraints from the prefix tighten, the remaining subspace shrinks, simplifying the generative task. This inverse relationship implies a structural crossing point where the optimal strategy shifts from RL's construction to DM's generation, as visualized in Figure 1(a).
This crossing point motivates a principled hybrid integration: leveraging an RL solver to construct a partial solution prefix and subsequently handing over the remaining decisions to a conditional DM for global generation. Three critical questions arise from this hybrid structure: why it is beneficial, when to trigger the handover, and how to implement it on individual trajectories without oracle access.
For the first two, we develop a unified error-scaling framework that aligns the regret dynamics of both paradigms under a common metric. The analysis shows that, under explicit assumptions, a single RL-to-DM handover can achieve strictly lower expected regret than either backbone alone, and that the regret-minimizing trigger is unique, occurring at the marginal-regret balance between the two solvers. For the third, since the optimal trigger is defined at the expected-regret level and cannot be directly evaluated along a single trajectory, we propose HyCO (Figure 1(b)), a plug-and-play hybrid inference algorithm. HyCO combines a single-trigger pipeline with dual-track solution generation and employs a lightweight adaptive trigger based on two complementary proxies: policy entropy, which captures local uncertainty of the RL policy, and RL-DM disagreement, which detects a mismatch between RL's local preference and the DM-induced global prior.
Our contributions are summarized as follows: 1) A unified marginal-regret framework proving that a single RL-to-DM handover achieves strictly lower expected regret than either backbone alone, with a unique regret-minimizing trigger. 2) HyCO, a hybrid inference algorithm with an adaptive dual-signal trigger for detecting the regime shift at the trajectory level. 3) Experiments on TSP, Maximum Independent Set (MIS), and Orienteering Problem (OP) show that HyCO consistently improves over both backbones, while oracle validation and ablations support the effectiveness of the adaptive trigger.
Heatmap and Diffusion Models for CO. To overcome the sequential limitations of RL solvers, another line of research has focused on non-autoregressive, global DM methods that generate a solution in a single shot, often by producing a “heatmap” of edge or node probabilities [31, 32]. [33] used Graph Convolutional Networks (GCNs) to predict edge inclusion probabilities for TSP. More recently, diffusion models have been adapted for CO. [7] mapped TSP instances to images to be solved by a standard image diffusion model. A more direct approach, DIFUSCO [8], introduced a graph-based diffusion framework that operates on the problem’s native graph structure, casting it as a discrete vector generation task. This paradigm has been explored for TSP and extended to other routing problems like VRP [34], while related score-based generative models have been proposed for a broader class of CO problems. While global solvers avoid horizon compounding by capturing global dependencies, they incur a subspace-governed regret that scales with the full solution space dimensionality [14]. Consequently, generating solutions from scratch in high-dimensional settings leads to significant marginal regret, limiting precision unless the effective dimensionality is reduced.
3 Preliminaries
3.1 Sequential Inference with RL Solvers
RL-based solvers formulate CO problems as sequential decision-making processes, where a solution is constructed step by step according to a learned policy. Let denote the state at step , and let be an RL policy that outputs a distribution over feasible actions . At each step, an action is selected according to the policy, for example via greedy decoding:
This sequential construction enables highly efficient inference, requiring only a linear number of forward passes with respect to the solution length. However, decisions made at early steps constrain all subsequent choices. As a result, local errors introduced during the construction process propagate through the remaining horizon, leading to compounding errors and potentially suboptimal solutions.
3.2 Global Inference with Diffusion Models
A DM is a non-autoregressive, generative model that learns to produce a complete solution holistically. For CO problems like TSP, where a solution can be represented by a binary adjacency matrix , the model uses a discrete diffusion process. It consists of a denoising network, , trained to reverse a noising process that gradually corrupts the solution by flipping its binary entries. Notably, this process can be conditioned on prior information, such as a given prefix of a tour in a TSP, to guide the generation.
Inference (sampling) starts with a matrix of pure random noise, , and iteratively refines it over total steps to produce a clean solution, . At each denoising step (different from the step in the episode for RL), the denoising network predicts the original clean solution based on the current noisy matrix and a conditioning prefix . This prediction is then used to sample a slightly less noisy matrix . The reverse step is generally formulated as:
where denotes the learned reverse transition distribution. This iterative process allows the model to capture complex global dependencies, leading to high-quality results.
4 Unified Regret Framework and Optimal Trigger Analysis
This section develops a unified theoretical framework for analyzing our RL-to-DM hybrid structure. We begin by aligning RL and DM under a unified regret metric (Definition 4.1), then characterize their contrasting error-scaling behaviors: the DM's regret scales sublinearly with the unsolved dimension (Lemma 4.4), while the RL's regret grows super-linearly with the decision horizon (Lemma 4.5). Building on these lemmas, we prove that under the boundary conditions, there exists a unique optimal trigger step at which the handover from RL to DM minimizes the total hybrid regret (Theorem 4.6). This optimal step satisfies the marginal-regret balance , and the resulting hybrid strategy is provably superior to either backbone alone.
Definition 4.1 (Unified Regret Metric). Let denote the objective function to be minimized, where is the -dimensional discrete decision space. We define the regret of a solver's output distribution relative to an optimal target distribution as the difference in their expected objectives:
For the RL solver, is the Dirac measure at the global optimum . The regret simplifies to the absolute optimality gap: . For the conditional DM, given a prefix denotes the conditional distribution of the optimal completion. The regret instantiated as , quantifying the expected suboptimality of the model's output distribution relative to .
To analyze , we require a mild regularity condition on the relaxed objective, i.e. Lipschitz continuity, a condition that is essentially automatic for standard CO problems like TSP and MIS.
Assumption 4.2 (Regularity of Objective Landscape). The continuous relaxation of the objective function is -Lipschitz continuous.
Remark 1. Any function on the compact domain is necessarily Lipschitz by the Extreme Value Theorem. In Appendix A.1, we verify that standard CO objectives such as TSP and MIS satisfy this condition under their continuous relaxations.
With this regularity in hand, we can connect the Kullback-Leibler (KL) divergence minimized during DM training to the optimization regret.
Lemma 4.3 (The Geometry-Statistics Bridge). Under Assumption 4.2, the regret is upper-bounded by the KL divergence:
where is a constant determined by the transport properties of the target distribution (e.g., its concentration or the domain's diameter).
The proof is in Appendix A.2. Now turn to the regret scaling of the conditional DM. Since the prefix fixes a subset of decision variables, the model only generates over the remaining unsolved subspace. We show that the regret scales with the square root of the dimension of the unsolved subspace.
Lemma 4.4 (Dimension-Dependent Regret of Conditional DM). Given a prefix , let and be the generated distribution of a conditional DM and the ground-truth optimal conditional distribution, respectively. Let denote the dimension of the unsolved subspace, i.e., the number of decision variables not fixed by the prefix . Suppose the DM achieves a per-dimension score-matching error on the unsolved subspace, then the regret under Assumption 4.2 satisfies:
where is the Lipschitz constant of the relaxed objective .
The proof is in Appendix A.3. We next analyze the regret behavior of the RL solver.
Lemma 4.5 (Super-linear horizon scaling of RL Regret). For an RL policy , the error accumulation relative to the decision horizon within a single episode typically exhibits super-linear scaling:
This scaling captures horizon-wise error accumulation in sequential construction and is motivated by standard finite-horizon RL regret bounds; see Appendix A.4 for details. Having established that the DM's regret scales as and the RL's regret as , we observe that under the hybrid inference framework, the two solvers partition the same problem: the RL covers steps, leaving variables for the conditional DM. This trade-off naturally gives rise to an optimal handover problem—determining the critical step at which to trigger the conditional DM to minimize the total hybrid regret of the overall CO problem.
Theorem 4.6 (Existence and Uniqueness of the Optimal Trigger Step ). Given a RL solver and a conditional DM with fixed and , let and denote the marginal regret of the RL solver and the DM at decision step in the overall problem construction, respectively. Define the hybrid regret . Under Lemma 4.4 and Lemma 4.5, there exists a unique optimal trigger step that minimizes :
if the boundary conditions and are satisfied.
Remark 2. The condition ensures that RL is initially more efficient than invoking a high-dimensional DM, while implies that the compounding error of RL eventually exceeds the marginal precision gain of the DM as the unsolved dimensionality vanishes.
A direct consequence of Theorem 4.6 (Proof in Appendix A.5) is that the hybrid framework achieves strictly lower expected regret than either pure RL or pure DM alone. However, is defined at the expected-regret level and is not directly observable on a single trajectory, which motivates designing a practical lightweight trigger to estimate the regime transition in Section 5.
5 HyCO: Single-Trigger Hybrid Inference Algorithm
The theoretical analysis in Section 4 yields two insights for algorithm design: (i) a single handover from RL to DM is sufficient to achieve strictly lower regret than either backbone alone, and (ii) the optimal trigger step occurs where the marginal regret of RL equals that of DM. HyCO operationalizes these insights through two components: a single-trigger inference pipeline that executes exactly one handover from RL to DM (Section 5.1), and a lightweight adaptive trigger that detects trajectory-level symptoms of the regime transition as a practical proxy for the theoretical optimum (Section 5.2).
5.1 Single-Trigger inference pipeline
Given a CO instance, HyCO starts with a fast sequential RL solver that constructs a partial solution (prefix) autoregressively. At step , the RL policy outputs a distribution over feasible actions , and a greedy action is selected to extend the prefix. HyCO continuously rolls out the RL solver until a trigger decision is made by a lightweight trigger (Section 5.2). Once the trigger fires at some step , HyCO invokes the conditional diffusion solver once and starts a dual-track generation.
Dual-track solution generation and final selection. At the triggering step , HyCO adopts a dual-track generation strategy to improve candidate diversity under a fixed compute budget: (i) hybrid path correction and (ii) full diffusion proposal generation.
For the hybrid path correction track, the diffusion model is used to correct the immediate next action for the hybrid path . Instead of the RL model's greedy choice , we select a corrected action at step from the best solution in the DM candidate pool . This corrected action is appended to the tour, and the fast RL policy then autoregressively completes the remaining steps.
In parallel, HyCO uses the conditional DM to generate a set of complete, high-quality candidate solutions . Specifically, we take high-probability candidate actions from the RL policy at step , form prefixes with each candidate, and run conditional diffusion completion to obtain full tours.
Finally, HyCO returns the best solution among the hybrid output and the diffusion proposals:
The motivation for dual-track generation is practical robustness: Even if the trigger is slightly early or late, the hybrid track provides a low-cost corrected continuation, while the proposal pool increases the probability of recovering a high-quality completion. This parallel RL-based track also serves as a reliability anchor: if the DM fails to produce a feasible or high-quality completion, the hybrid path ensures that the system still returns a valid solution constructed by RL.
5.2 Lightweight trigger as a trigger proxy
HyCO uses a lightweight trigger to decide when to invoke conditional global completion. The principle follows from Theorem 4.6: the regret-minimizing handover occurs when the marginal regret of extending the solution prefix with the RL solver matches the marginal regret of invoking the conditional DM for the remaining subproblem; beyond this point, further RL construction is expected to introduce more regret than DM completion. Since this comparison is defined at the expected-regret level and cannot be evaluated directly along a single trajectory, HyCO uses two observable trajectory-level proxies: policy entropy and RL-DM disagreement. Policy entropy serves as an internal reliability signal for RL: high entropy indicates that no feasible action is clearly dominant, making RL's decision less trustworthy. Model disagreement serves as an external alignment signal: large disagreement indicates that the RL policy assigns high probability to candidate next actions that the DM probe considers less consistent with globally coherent solution structure. When either signal becomes large, further RL construction is likely to be less favorable, and HyCO therefore triggers conditional DM completion.
Signal 1: RL policy uncertainty (internal). The first signal measures the RL policy's internal uncertainty via entropy:
High entropy indicates that the policy distribution is flat and no single action is clearly dominant, suggesting a critical decision stage where greedy continuation is more likely to be unstable.
Signal 2: Model disagreement (external). The second signal measures disagreement between the RL policy and a DM-induced global prior. To obtain the diffusion prior efficiently (without running a full sampling trajectory at every step), we probe the conditional diffusion model on a fixed Top-M candidate set proposed by RL. Let be the Top-M actions under , and let be its one-step-extended prefixes. We define an energy score from a single-step denoising probe that measures diffusion consistency with the proposed prefix structure:
where is the set of edges in the partial tour , is the sigmoid function, and is the model's predicted logit for edge . Crucially, this summation acts as a mask: it specifically measures the diffusion model's confidence that the proposed structural connections are valid parts of a global solution, ignoring non-connected pairs. We then convert energy values into a diffusion prior via a Boltzmann distribution:
We then compute the KL divergence between the RL distribution restricted to the same Top-M support and the diffusion prior:
A large divergence suggests that the RL policy's locally preferred action conflicts with the DM's global preference—a regime where invoking conditional global completion often yields gains.
Triggering rule. In practice, HyCO adopts a simple and robust or rule of triggering conditional DM once either the RL policy becomes uncertain or the RL-DM disagreement becomes significant:
Algorithm 1 HyCO: Hybrid Inference for CO
Require: RL policy , conditional DM denoiser , thresholds , , Top-P threshold 1: Initialize hybrid path , DM proposals , state , triggered false 2: for do 3: if not triggered then 4: via Eq. (9) 5: Select Top-M actions from 6: Derive diffusion prior via Eq. (10, 11) 7: via Eq. (12) 8: if or then 9: Select action set by cumulative probability threshold 10: for all selected actions do 11: Form candidate prefix 12: Get full tour 13: 14: end for 15: triggered true 16: Select from the best as the RL action: 17: else 18: 19: end if 20: else 21: 22: end if 23: Append to hybrid path and update to 24: end for 25: return
The rule is easy to tune and empirically stable: high entropy indicates a locally ambiguous decision stage, while a large KL divergence signals a confident but globally inconsistent choice where conditional completion is likely to help.
In all cases, HyCO executes at most one trigger: after the conditional diffusion completion is invoked at , no further triggering is allowed, ensuring a predictable compute budget and consistency with the single-trigger structure. Algorithm 1 summarizes the full HyCO inference procedure.
6 Experiments
We evaluate HyCO on standard benchmarks with a primary focus on the 2D Euclidean TSP, MIS problem, and Orienteering Problem (OP) at multiple scales. Our experiments are designed to validate two aspects: (i) Does HyCO consistently improve solution quality over both RL and DM backbones (Section 6.2)? and (ii) Is the trigger step statistically aligned with near-optimal triggering regimes as measured by oracle grid search (Section 6.3)?
6.1 Experimental Settings
Datasets and Baselines. We use standard public datasets for TSP with 50, 100, 500, and 1000 nodes. Problem instances are generated by sampling node coordinates uniformly from the unit square . We use the Concorde solver [3] to obtain optimal solutions for training our conditional DM and for calculating optimality gaps. We compare our algorithm with a comprehensive set of methods: exact solver Concorde, heuristic solver LKH-3 [35], and state-of-the-art learning-based approaches, including RL models (AM [5], POMO [16], LEHD [25]), and DM solvers (DIFUSCO [8], T2T [36]).
Implementation Details. HyCO uses official pre-trained RL checkpoints and a conditional DM, termed Prefix-Difusco, adapted from DIFUSCO's GNN architecture and trained with masked loss and curriculum learning for prefix-conditioned completion. Full details are provided in Appendix D.
Evaluation Metrics. We report three key metrics: the average tour length (Len), the percentage optimality gap to the exact solver's solutions (Gap), and the average solution time (Time).
6.2 Performance Gains over Backbone Solvers
Small-scale TSP. Table 1 reports the performance on TSP-50 and TSP-100. HyCO achieves near-optimal solutions, consistently outperforming both its RL and conditional DM backbones. Compared to RL solvers, HyCO reduces the optimality gap by over 95% (from 1.76% / 0.64% to 0.03% on TSP-50). Similarly, HyCO also improves upon the standalone Prefix_Difusco, reducing the gap from 0.27% to 0.03%. Moreover, HyCO outperforms Prefix_Difusco (S), which requires 16 parallel samples, with 4x fewer inference passes—confirming that a well-timed trigger is more effective than brute-force over-sampling. Notably, HyCO surpasses strong full-diffusion baselines like DIFUSCO and remains highly competitive with T2T.
Large-scale TSP. Table 2 evaluates HyCO on TSP-500 and TSP-1000, where long-horizon sequential construction becomes substantially more challenging. With POMO as the RL backbone, HyCO substantially improves over the standalone POMO solver, reducing its optimality gap by 12.06 percentage points on TSP-500 and 10.80 percentage points on TSP-1000, corresponding to relative reductions of 77.2% and 70.2%, respectively. HyCO also reduces the gap of the Prefix_Difusco baseline by more than half on both scales, showing that the gain comes from combining an informative RL prefix with conditional diffusion completion rather than from either component alone. The benefit further persists with LEHD, a stronger backbone designed for large-scale neural CO: although the gains are more modest, HyCO
still achieves the best overall gaps in the table. These results suggest that HyCO can enhance different RL backbone regimes, including cases where both standalone RL and standalone conditional DM remain far from optimal. Additional 2-opt results in Appendix B.1 show that HyCO maintains its relative advantage after local refinement.
Table 1: Results with Greedy Decoding on TSP-50 and TSP-100. * denotes results that are quoted from previous works. The “Prefix_Difusco (S)” represents the best result obtained by running our Prefix_Difusco model sampling 16 times in parallel.
| ALGORITHM | TYPE | TSP-50 | TSP-100 | ||
|---|---|---|---|---|---|
| Len ↓ | Gap ↓ | Len ↓ | Gap ↓ | ||
| Concorde | Exact | 5.69 | 0.00% | 7.76 | 0.00% |
| AM* | RL | 5.80 | 1.76% | 8.12 | 4.53% |
| POMO* | RL | 5.73 | 0.64% | 7.84 | 1.07% |
| DIFUSCO () | DM | 5.71 | 0.45% | 7.85 | 1.21% |
| T2T () | DM | 5.69 | 0.07% | 7.77 | 0.20% |
| Prefix_Difusco | DM | 5.70 | 0.27% | 7.81 | 0.62% |
| Prefix_Difusco (S) | DM | 5.69 | 0.04% | 7.76 | 0.04% |
| HyCO (AM) | Hy | 5.69 | 0.03% | 7.76 | 0.02% |
| HyCO (POMO) | Hy | 5.69 | 0.03% | 7.76 | 0.02% |
Table 2: Results on large-scale TSP problems. RL, SL, G, and S denote Reinforcement Learning, Supervised Learning, Greedy decoding, and Sample decoding, respectively. * indicates the baseline for computing the performance gap. The TIME reports the average inference time per instance.
| ALGORITHM | TYPE | TSP-500 | TSP-1000 | ||||
|---|---|---|---|---|---|---|---|
| Len↓ | Gap↓ | Time↓ | Len↓ | Gap↓ | Time↓ | ||
| Concorde | Exact | 16.55* | 0.00% | 37.66m | 23.53* | 0.00% | 6.65h |
| Gurobi | Exact | 16.55 | 0.00% | 45.63h | 23.53 | 0.00% | 48h |
| LKH-3 (default) | Heuristics | 16.55 | 0.00% | 46.28m | 23.53 | 0.00% | 2.57h |
| AM | RL+G | 20.02 | 20.99% | 0.47s | 28.52 | 21.21% | 1.09s |
| GCN | SL+G | 29.72 | 79.61% | 6.67m | 43.15 | 83.38% | 28.52m |
| POMO | RL+G | 19.13 | 15.62% | 0.49s | 27.15 | 15.38% | 0.94s |
| DIMES | RL+G | 18.93 | 14.38% | 0.97m | 27.23 | 15.73% | 2.08m |
| LEHD | RL/SL+G | 16.82 | 1.64% | 1.82s | 24.29 | 3.23% | 3.84s |
| DIFUSCO | SL+G | 18.11 | 9.41% | 5.70m | 25.68 | 9.14% | 11.5m |
| T2T | SL+G | 17.39 | 5.09% | 4.90m | 25.17 | 8.87% | 15.66m |
| Prefix_Difusco | SL+G | 17.92 | 8.23% | 0.14m | 25.86 | 9.91% | 0.35m |
| Prefix_Difusco(S) | SL+S | 17.31 | 4.58% | 2.10m | 24.96 | 6.07% | 5.94m |
| HyCO(POMO) | RL+SL+G | 17.24 | 3.56% | 1.20m | 24.61 | 4.58% | 2.43m |
| HyCO(LEHD) | RL+SL+G | 16.81 | 1.57% | 0.35m | 24.24 | 3.04% | 0.36m |
Beyond TSP, Table 7 shows that HyCO also transfers to MIS. Averaged over RB-LARGE, ER-700-800, and SATLIB, HyCO reduces the optimality gap by 6.12% over the RL baseline LWD. Under the
Table 3: Performance comparison across RB-LARGE, ER-700-800, and SATLIB benchmarks for the MIS problem. Obj. denotes the average node number of independent sets (higher is better). Gap is the percentage deviation from the optimal solution (lower is better). Time is the average inference time in seconds. S: Sample Decoding. is the candidate number of full DM proposals .
| METHOD | RB-LARGE | ER-700-800 | SATLIB | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Obj.↑ | Gap↓ | Time↓ | Obj.↑ | Gap↓ | Time↓ | Obj.↑ | Gap↓ | Time↓ | |
| KaMIS | 43.00 | 0.00% | 56.97s | 44.97 | 0.00% | 60.75s | 425.95 | 0.00% | 24.37s |
| Gurobi | 42.19 | 1.83% | 33.84s | 38.78 | 13.75% | 60.49s | 425.92 | 0.01% | 13.47s |
| LWD (RL) | 36.67 | 15.31% | 0.85s | 39.05 | 13.16% | 0.64s | 421.80 | 1.04% | 0.66s |
| prefix_Coexpander (Greedy) | 40.05 | 6.84% | 1.15s | 40.18 | 10.65% | 0.71s | 421.84 | 0.96% | 0.25s |
| prefix_Coexpander (s=5) | 40.06 | 6.83% | 1.22s | 40.85 | 9.16% | 0.96s | 424.17 | 0.42% | 0.91s |
| prefix_Coexpander(s=64) | 40.58 | 5.63% | 4.48s | 40.91 | 9.03% | 4.03s | 424.78 | 0.27% | 4.27s |
| HyCO () | 40.73 | 5.28% | 2.69s | 42.38 | 5.76% | 4.69s | 425.40 | 0.12% | 6.31s |
same small candidate budget, it also improves over prefix_Coexpander by an average of 1.75%, and remains better than the heavier prefix_Coexpander (s=64) baseline. A more detailed per-benchmark analysis of MIS is provided in Appendix B.2. OP results in Appendix B.3 show a similar trend on another routing problem: averaged over OP-50/100/200, HyCO reduces the optimality gap by 8.21% over AM and by 3.53% over the DM backbone. Together, these results support that the single-trigger hybrid principle extends beyond TSP to both graph-structured MIS and another routing problem OP.
6.3 Oracle Trigger Validation: Adaptive vs. Instance-wise Best Fixed
To evaluate whether the adaptive trigger can approximate a near-optimal switching time in practice, we compare it with an instance-wise oracle trigger obtained by grid search. We run the same HyCO pipeline over a grid of fixed trigger steps and define the best-performing one as the oracle trigger. Let and denote the solutions generated by the oracle and adaptive triggers, respectively. We compare them using the solution gap and the trigger-step distance . To account for different problem sizes, we also report the normalized distance , where is the problem size.
Results Analysis. Table 4 shows that the adaptive trigger closely tracks the instance-wise oracle in trigger location, with normalized step distances below 2.5% across all benchmarks. The resulting solution quality is also close to the oracle: the relative cost difference is only 0.036% on TSP-100, 2.057% on TSP-500, 0.089% on SATLIB, and 2.330% on ER-700-800. The slightly larger deviations on TSP-500 and ER-
Table 4: Oracle trigger validation on TSP/MIS.
| Dataset | ||||
|---|---|---|---|---|
| TSP-100 | 0.0028 | 0.036% | 1.48 | 1.48% |
| TSP-500 | 0.3424 | 2.057% | 3.23 | 0.65% |
| SATLIB | 0.3812 | 0.089% | 22.60 | 1.77% |
| ER 700-800 | 1.0460 | 2.330% | 18.62 | 2.48% |
700–800 suggest that larger or structurally more complex instances can be more sensitive to small trigger-step shifts, even when the normalized trigger distance remains small. These results indicate that the adaptive trigger identifies a near-oracle switching region in practice, supporting entropy and RL–DM disagreement as effective trajectory-level proxies for adaptive triggering.
Complementary experiments in Appendix C further support this conclusion: adaptive triggering consistently outperforms validation-selected fixed-time schedules, while ablations verify the benefit of the dual-signal trigger and analyze the sensitivity to energy-probe and decoding hyperparameters.
7 Conclusion
We introduced HyCO, a hybrid neural solver that combines sequential RL construction with conditional DM completion for CO. Motivated by the complementary regret behavior of RL and DM backbones, our unified regret analysis shows that a single RL-to-DM handover can achieve strictly lower expected regret than either backbone alone, and that the regret-minimizing handover occurs at the marginal-regret balance between the two solvers. Since this marginal-regret balance is not directly observable on individual trajectories, HyCO uses policy entropy and model disagreement as lightweight trajectory-level proxies for detecting the corresponding regime transition in practice. Experiments on TSP, MIS, and OP demonstrate consistent improvements over both backbones, while oracle validation and ablations support the effectiveness of the adaptive dual-signal trigger. While our theoretical analysis focuses on RL and DM backbones, the core insight—complementary error scaling between sequential and global solvers—may generalize to other solver pairings with analogous properties, which we leave for future work.
References
[1] M.R. Garey and D.S. Johnson. Computers and Intractability: A Guide to the Theory of NP-completeness. Mathematical Sciences Series. W. H. Freeman, 1979.
[2] Christos H Papadimitriou and Kenneth Steiglitz. Combinatorial optimization: algorithms and complexity. Courier Corporation, 1998.
[3] David Applegate, Robert Bixby, Vasek Chvatal, and William Cook. Concorde tsp solver. https://www.math.uwaterloo.ca/tsp/concorde/index.html, 2006.
[4] Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. In ICLR, 2017.
[5] Wouter Kool, Herke van Hoof, and Max Welling. Attention, learn to solve routing problems! In ICLR, 2019.
[6] Nina Mazyavkina, Sergey Sviridov, Sergei Ivanov, and Evgeny Burnaev. Reinforcement learning for combinatorial optimization: A survey. Computers & Operations Research, 134:105400, 2021.
[7] Alexandros Graikos, Nikolay Malkin, Nebojsa Jojic, and Dimitris Samaras. Diffusion models as plug-and-play priors. In NeurIPS, pages 14715–14728, 2022.
[8] Zhiqing Sun and Yiming Yang. DIFUSCO: Graph-based diffusion solvers for combinatorial optimization. In NeurIPS, pages 3706–3731, 2023.
[9] Stéphane Ross and Drew Bagnell. Efficient reductions for imitation learning. In AISTATS, pages 661–668, 2010.
[10] Stephane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In AISTATS, pages 627–635, 2011.
[11] Chi Jin, Zeyuan Allen-Zhu, Sebastien Bubeck, and Michael Jordan. Is q-learning provably efficient? In NeurIPS, volume 31, 2018.
[12] Chi Jin, Zhuoran Yang, Zhaoran Wang, and Michael I Jordan. Provably efficient reinforcement learning with linear function approximation. In COLT, pages 2137–2143, 2020.
[13] Grigoris Velegkas, Zhuoran Yang, and Amin Karbasi. Reinforcement learning with logarithmic regret and policy switches. In NeurIPS, pages 36040–36053, 2022.
[14] Joe Benton, Valentin De Bortoli, Arnaud Doucet, and George Deligiannidis. Nearly d-linear convergence bounds for diffusion models via stochastic localization. In ICLR, 2024.
[15] Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In NeurIPS, 2015.
[16] Yeong-Dae Kwon, Juhan Choo, Bumm Kim, Iljoo Yoon, Young-Joon Gwon, and Seung-won Min. POMO: Policy optimization with multiple optima for reinforcement learning. In NeurIPS, pages 21188–21198, 2020.
[17] Minsu Kim, Jinkyoo Park, et al. Sym-NCO: Leveraging symmetricity for neural combinatorial optimization. In NeurIPS, pages 1936–1949, 2022.
[18] Yubin Xiao, Di Wang, Boyang Li, Huanhuan Chen, Wei Pang, Xuan Wu, Hao Li, Dong Xu, Yanchun Liang, and You Zhou. Reinforcement learning-based nonautoregressive solver for traveling salesman problems. IEEE Transactions on Neural Networks and Learning Systems, 36(7):13402–13416, 2025.
[19] Yoshua Bengio, Andrea Lodi, and Antoine Prouvost. Machine learning for combinatorial optimization: a methodological tour d'horizon. European Journal of Operational Research, 290(2):405–421, 2021.
[20] Haipeng Chen, Wei Qiu, Han-Ching Ou, Bo An, and Milind Tambe. Contingency-aware influence maximization: A reinforcement learning approach. In UAI, pages 1535–1545, 2021.
[21] Felix Chalumeau, Shikha Surana, Clément Bonnet, Nathan Grinsztajn, Arnu Pretorius, Alexandre Laterre, and Tom Barrett. Combinatorial optimization with policy adaptation using latent space search. In NeurIPS, pages 7947–7959, 2023.
[22] Xinsong Feng, Zihan Yu, Yanhai Xiong, and Haipeng Chen. Sequential stochastic combinatorial optimization using hierarchical reinforcement learning. In ICLR, 2025.
[23] Mingjun Pan, Guanquan Lin, You-Wei Luo, Bin Zhu, Zhien Dai, Lijun Sun, and Chun Yuan. Preference optimization for combinatorial optimization problems. In ICML, 2025.
[24] Yuheng Li, Panpan Wang, and Haipeng Chen. Can reinforcement learning solve asymmetric combinatorial-continuous zero-sum games? In ICLR, 2025.
[25] Fu Luo, Xi Lin, Fei Liu, Qingfu Zhang, and Zhenkun Wang. Neural combinatorial optimization with heavy decoder: Toward large scale generalization. In NeurIPS, pages 8845–8864, 2023.
[26] Hyeonah Kim, Sanghyeok Choi, Jiwoo Son, Jinkyoo Park, and Changhyun Kwon. Neural genetic search in discrete spaces. In ICML, 2025.
[27] Minsu Kim, Sanghyeok Choi, Hyeonah Kim, Jiwoo Son, Jinkyoo Park, and Yoshua Bengio. Ant colony sampling with gflownets for combinatorial optimization. In AISTATS, pages 469–477, 2025.
[28] Han Fang, Zhihao Song, Paul Weng, and Yutong Ban. Invit: A generalizable routing problem solver with invariant nested view transformer. In ICML, pages 12973–12992, 2024.
[29] Zhi Zheng, Changliang Zhou, Tong Xialiang, Mingxuan Yuan, and Zhenkun Wang. Udc: A unified neural divide-and-conquer framework for large-scale combinatorial optimization problems. In NeurIPS, pages 6081–6125, 2024.
[30] Darko Drakulic, Sofia Michel, Florian Mai, Arnaud Sors, and Jean-Marc Andreoli. BQ-NCO: Bisimulation quotienting for efficient neural combinatorial optimization. In NeurIPS, pages 77416–77429, 2023.
[31] Zhuwen Li, Qifeng Chen, and Vladlen Koltun. Combinatorial optimization with graph convolutional networks and guided tree search. In NeurIPS, pages 562–572, 2018.
[32] Zhang-Hua Fu, Kai-Bin Qiu, and Hongyuan Zha. Generalize a small pre-trained model to arbitrarily large tsp instances. In AAAI, pages 7474–7482, 2021.
[33] Chaitanya K. Joshi, Thomas Laurent, and Xavier Bresson. An efficient graph convolutional network technique for the travelling salesman problem. In INFORMS, 2019.
[34] Jiale Ma, Wenzheng Pan, Yang Li, and Junchi Yan. COExpander: Adaptive solution expansion for combinatorial optimization. In ICML, 2025.
[35] Keld Helsgaun. An extension of the lin-kernighan-helsgaun tsp solver for constrained traveling salesman and vehicle routing problems. Roskilde: Roskilde University, 12:966–980, 2017.
[36] Yang Li, Jinpei Guo, Runzhong Wang, and Junchi Yan. T2t: From distribution learning in training to gradient search in testing for combinatorial optimization. In NeurIPS, pages 50020–50040, 2023.
[37] G. A. Croes. A method for solving traveling-salesman problems. Operations Research, 6(6):791–812, 1958.
[38] Xavier Bresson and Thomas Laurent. The transformer network for the traveling salesman problem. arXiv preprint arXiv:2103.03012, 2021.
[39] Federico Berto, Chuanbo Hua, Junyoung Park, Laurin Luttmann, Yining Ma, Fanchen Bu, Jiarui Wang, Haoran Ye, Minsu Kim, Sanghyeok Choi, et al. RI4co: an extensive reinforcement learning for combinatorial optimization benchmark. In KDD, pages 5278–5289, 2025.
Technical Appendices and Supplementary Material
A Theoretical Proof 14
A.1 On the Validity and Applicability of Assumption 4.2 ..... 14
A.2 Proof of Lemma 4.3 ..... 14
A.3 Proof of Lemma 4.4: Dimension-Dependent Regret of Conditional DM ..... 15
A.4 Justification of Lemma 4.5: Super-linear RL Horizon Scaling ..... 16
A.5 Proof of Theorem 4.6: Existence and Uniqueness of the Optimal Trigger Step ..... 16
B Additional Experimental Results 17
B.1 TSP Performance Results ..... 17
B.2 MIS Performance Results ..... 19
B.3 OP Performance Results ..... 19
B.4 Adaptive Trigger vs. Fixed-time Triggering ..... 20
B.5 Cross-Dataset Trigger Statistics ..... 20
C Ablation Study of HyCO 21
C.1 Hyperparameter Sensitivity of Triggering and DM Exploration ..... 21
C.2 Necessity of Dual-Signal Trigger Design ..... 22
D Implementation Details of Prefix_Difusco and RL models 23
D.1 Model Architecture ..... 23
D.2 Training Procedure ..... 23
D.3 Decoding Algorithms ..... 25
D.4 Hyperparameters ..... 25
E Limitations and Broader Impacts 25
A Theoretical Proof
A.1 On the Validity and Applicability of Assumption 4.2
To bridge the gap between discrete combinatorial structures and the continuous dynamics of Diffusion Models (DMs), we justify the -Lipschitz continuity of the objective function under its continuous relaxation. This regularity is a fundamental requirement for the subsequent regret analysis.
In DMs, the discrete objective function is extended to the continuous unit hypercube . For any combinatorial problem, there exists a canonical multilinear extension defined as:
where denotes a discrete candidate solution (e.g., a specific subset of edges in TSP), and represents the marginal probability of element being included in the solution, often represented as a probabilistic “heatmap”. Mathematically, represents the expected objective value under independent Bernoulli sampling. Since is a polynomial in , it is continuously differentiable () on the compact set .
By the Extreme Value Theorem, any continuously differentiable function on a compact set has a bounded gradient. Let . Then, for any , the Mean Value Theorem implies:
This confirms that the relaxed objective is -Lipschitz continuous. We specifically highlight its applicability to the benchmarks considered:
-
Linear Objectives (e.g., TSP): The objective is . The gradient is a constant edge-weight matrix, thus is finite and independent of .
-
Quadratic Objectives (e.g., MIS): Formulated as , the gradient is linear in . On the bounded domain , the spectral properties of the graph matrix ensure the gradient remains bounded, satisfying the -Lipschitz condition.
The -Lipschitz property is the minimal requirement to satisfy the Kantorovich-Rubinstein duality. It allows us to bound the optimization regret by the Wasserstein-1 distance (), which is subsequently connected to the KL divergence matching the DM training objective via Talagrand's inequality in Lemma 4.3.
A.2 Proof of Lemma 4.3
Proof. We establish this bound by decomposing the optimization regret into a geometric component (landscape regularity) and a statistical component (transportation cost).
The regret is defined as the difference in expected values of the objective under distributions and . Given that the continuous relaxation is -Lipschitz (Assumption 4.2), we invoke the Kantorovich-Rubinstein duality for the distance:
where denotes the set of all functions with Lipschitz constant at most . By the definition of the distance, the supremum on the right-hand side is exactly . This step translates the optimization gap into a geometric distance between distributions.
Then, to relate the geometric distance to the information-theoretic divergence , we consider two distinct regimes to ensure the universality of the lemma:
- General Case (Pinsker's Inequality): On a compact solution manifold with diameter , the distance is bounded by the Total Variation (TV) distance:
. By Pinsker's inequality, , yielding:
This bound holds for any arbitrary target distribution on a bounded domain, justifying the lemma's applicability to general NCO tasks beyond diffusion-based priors.
- Regular Case (Talagrand's Inequality): For target distributions that exhibit stronger concentration (e.g., Gaussian-smoothed Gibbs measures used in DM), we assume satisfies a Log-Sobolev Inequality with constant . This implies the Talagrand's inequality: .
By defining (or more generally, treating as a constant capturing the domain diameter or concentration radius), we obtain:
□
A.3 Proof of Lemma 4.4: Dimension-Dependent Regret of Conditional DM
Proof. This proof establishes that the optimization regret of a conditional DM is governed by the intrinsic dimensionality of the unsolved decision space. We provide a rigorous derivation by projecting the dynamics onto the free subspace and utilizing the conditional covariance dissipation identity.
In our task, the conditioning restricts the generative process to an affine manifold , where is the prefix (partial solution). Let be the orthogonal projection onto the unsolved (free) subspace. We decompose the state as . Since is fixed to the constant vector , the forward SDE (e.g., Variance Preserving or Variance Exploding) admits a degenerate transition kernel , where and .
The conditional score function is only well-defined on the subspace , and its components in vanish. Consequently, the reverse SDE is strictly confined to :
where the stochastic evolution and score estimation error are restricted to degrees of freedom, effectively reducing the ambient complexity from to .
To bound the KL divergence on the manifold, we extend the nearly -linear framework [14] to the conditional case. Like Assumption 1 in [14], we assume the model achieves a per-dimension error specifically on the unsolved manifold .
A critical pillar of this proof is the Conditional Covariance Dissipation Identity. Let be the conditional posterior covariance. Following the Tweedie relation, the score function's Hessian is related to . For a general class of linear SDEs (not limited to OU), the expected covariance evolves as:
where is the noise schedule. While [14] derived this for the unconditional case, the identity holds on the subspace due to the orthogonality of and . Since , the trace —which governs the discretization drift—scales linearly with .
To avoid the score singularity at , we consider the divergence between the generated distribution and the Gaussian-smoothed target at early-stopping time . Integrating over the time horizon , the KL divergence scales as:
The initialization and discretization error components are fundamentally linear in the number of unsolved variables .
Finally, we invoke Lemma 4.3 (The Geometry-Statistics Bridge). Given the -Lipschitz continuity of the objective , the regret is bounded by the distance, which is in turn controlled by the KL divergence via the transportation-cost inequality. Substituting the -linear KL bound into the bridge inequality yields:
where we treat the discrepancy between and as a negligible additive bias for .
A.4 Justification of Lemma 4.5: Super-linear RL Horizon Scaling
Lemma 4.5 models the accumulated regret of an autoregressive RL construction policy as super-linear in the decision horizon. This scaling is motivated by standard regret bounds in finite-horizon RL. In tabular episodic MDPs, Q-learning with UCB exploration achieves a regret bound of the form
where is the episode horizon, and are the numbers of states and actions, and is the total number of interaction steps [11]. For RL with linear function approximation, related analyses obtain regret bounds of the form
where denotes the feature dimension [12, 13]. In both cases, the dependence on the horizon contains an factor, which is super-linear in . More broadly, super-linear horizon dependence is a common feature of finite-horizon RL regret analyses. These bounds provide theoretical support for the horizon-scaling model in Lemma 4.5, although they do not directly characterize neural CO solvers.
Autoregressive neural CO solvers such as AM and POMO instantiate sequential construction policies: a solution is produced through a sequence of decisions whose horizon grows with the problem size. Existing finite-horizon RL bounds do not directly characterize these neural policy-gradient solvers, but they provide a principled motivation for modeling accumulated RL regret as super-linear in the construction horizon. This modeling choice is also consistent with the empirical behavior of autoregressive RL solvers on large-scale CO instances, where solution quality often degrades as the number of construction steps increases.
A.5 Proof of Theorem 4.6: Existence and Uniqueness of the Optimal Trigger Step
Proof. This proof analyzes the hybrid regret to establish the uniqueness and global optimality of the trigger step .
Based on the definition of , we can get that the derivative of the hybrid regret with respect to the trigger step is:
According to Lemma 4.5, with , which is strictly increasing in , i.e. .
For the regret of DM, it satisfies by Lemma 4.4, where means the regret of DM (fixed distribution p and q so we ignore its signal in the regret) with d-dimensional decision variables. Since is concave in d, exhibits diminishing marginal returns as the problem size d increases. In the hybrid framework, the regret of conditional DM facing a problem of size is calculated by . Due to the decreasing marginal regret of , we can get is non-increasing.
Since is strictly increasing and is non-increasing, their difference is strictly increasing. The boundary conditions and imply and . Since is continuous and strictly increasing, the Intermediate Value Theorem guarantees exactly one such that , i.e., . Since for and for , this is the unique global minimum of .
Specially, since is strictly increasing with and , is strictly decreasing on and strictly increasing on . This implies and , i.e., the hybrid framework achieves strictly lower expected regret than either pure RL or pure DM alone.
B Additional Experimental Results
B.1 TSP Performance Results
For TSP-50/100, we omit wall-clock time because several baselines are quoted from prior work under heterogeneous hardware settings, while greedy inference for small instances is already in the millisecond-scale regime and can be dominated by hardware, batching, and implementation overhead. We therefore focus time reporting on large-scale TSP, where computational differences are more meaningful.
Table 5: Results with Greedy Decoding on TSP-50 and TSP-100. RL: Reinforcement Learning, SL: Supervised Learning, G: Greedy Decoding, S: Sample Decoding. * denotes results that are quoted from previous works. The “Prefix_Difusco (S)” represents the best result obtained by running our Prefix_Difusco model sampling 16 times in parallel.
| ALGORITHM | TYPE | TSP-50 | TSP-100 | ||
|---|---|---|---|---|---|
| Len ↓ | Gap ↓ | Len ↓ | Gap ↓ | ||
| Concorde [3] | Exact | 5.69 | 0.00% | 7.76 | 0.00% |
| 2Opt [37] | Heuristics | 5.86 | 2.95% | 8.03 | 3.54% |
| AM* [5] | RL+G | 5.80 | 1.76% | 8.12 | 4.53% |
| GCN* [33] | SL+G | 5.87 | 3.10% | 8.41 | 8.38% |
| Transformer* [38] | RL+G | 5.71 | 0.31% | 7.88 | 1.42% |
| POMO* [16] | RL+G | 5.73 | 0.64% | 7.84 | 1.07% |
| Sym-NCO* [17] | RL+G | 5.73 | 0.64% | 7.84 | 0.94% |
| Image Diffusion* [7] | SL+G | 5.76 | 1.23% | 7.92 | 2.11% |
| DIFUSCO () [8] | SL+G | 5.71 | 0.45% | 7.85 | 1.21% |
| T2T () [36] | SL+G | 5.69 | 0.07% | 7.77 | 0.20% |
| Prefix_Difusco | SL+G | 5.70 | 0.27% | 7.81 | 0.62% |
| Prefix_Difusco (S) | SL+S | 5.69 | 0.04% | 7.76 | 0.04% |
| HyCO (AM) | RL+SL+G | 5.69 | 0.03% | 7.76 | 0.02% |
| HyCO (POMO) | RL+SL+G | 5.69 | 0.03% | 7.76 | 0.02% |
| AM | RL+G+2OPT | 5.77 | 1.41% | 8.02 | 3.32% |
| GCN | SL+G+2OPT | 5.77 | 1.40% | 8.01 | 3.21% |
| Transformer | RL+G+2OPT | 5.70 | 1.06% | 7.96 | 1.89% |
| POMO | SL+G+2OPT | 5.73 | 0.63% | 7.91 | 1.62% |
| Sym-NCO | SL+G+2OPT | 5.73 | 0.64% | 7.90 | 0.76% |
| DIFUSCO | SL+G+2OPT | 5.69 | 0.09% | 7.78 | 0.22% |
| T2T | SL+G+2OPT | 5.69 | 0.02% | 7.76 | 0.06% |
| HyCO (POMO) | RL+SL+G+2OPT | 5.69 | 0.03% | 7.76 | 0.01% |
Impact of Local Search (2-opt). To investigate whether the improvements of HyCO stem merely from local refinements or from a fundamentally better global solution structure, we evaluated the performance when a 2-opt local search post-processing step [37] is applied. As indicated in our experimental logs, while 2-opt consistently improves the objective values for all constructive methods, the relative advantage of HyCO persists. On large-scale instances (TSP-1000), even after exhaustive 2-opt refinement, the standard RL baselines (e.g., POMO+2opt) typically fail to reach the solution quality of HyCO. This observation implies that the baseline solvers often get trapped in poor local basins due to early-stage compounding errors, which local search cannot rectify. In contrast, HyCO utilizes the diffusion model to bridge the critical regime shift, producing a globally superior solution skeleton that is more amenable to local refinement. This confirms that HyCO contributes to global consistency rather than just local smoothness.
Sample Efficiency and Inference Budget. A critical comparison in our results lies between HyCO and the brute-force conditional baseline, Prefix_Difusco (S). The latter represents a standard sampling approach where the model generates 16 independent completions for a fixed prefix and selects the best one. Remarkably, HyCO achieves solution quality that is comparable to or better than this baseline despite using a single guided completion (S = 4). For instance, on TSP-100, HyCO (0.02% gap) outperforms the 16-sample baseline (0.04% gap). This result reinforces the core premise of our theory: the triggering step is more consequential than the quantity of samples. By adaptively identifying the optimal triggering time window, HyCO eliminates the need for wasteful over-sampling, achieving superior efficiency with 4× fewer inference passes. This structural advantage suggests that HyCO effectively locates the optimal low-regret subspace, whereas blind over-sampling struggles to compensate for a suboptimal triggering time.
Plug-and-Play Versatility. To validate the universality of our framework, we extended our evaluation by pairing HyCO with three distinct sequential architectures: the standard autoregressive AM, the symmetry-enhanced POMO, and the divide-and-conquer LEHD. HyCO yields consistent performance gains across all backbones, regardless of their intrinsic strength. For weaker solvers like AM, HyCO acts as a revitalizing mechanism, reducing the optimality gap on TSP-1000 from over 20% to about 5% by correcting severe horizon-wise error accumulation. Conversely, for state-of-the-art constructive solvers like LEHD, HyCO provides further refinement, pushing the limits of solution quality. This consistent improvement confirms that HyCO serves as a general-purpose, test-time inference wrapper that addresses the fundamental uncertainty accumulation inherent to sequential construction, rather than being tailored to the idiosyncrasies of a specific policy.
Table 6: Results on large-scale TSP problems. RL, SL, AS, G, and S denote Reinforcement Learning, Supervised Learning, Active Search, Greedy decoding, and Sample decoding, respectively. Len means the average tour length. * indicates the baseline for computing the performance gap. The Time column reports the average inference time per instance.
| ALGORITHM | TYPE | TSP-500 | TSP-1000 | ||||
|---|---|---|---|---|---|---|---|
| Len↓ | Gap↓ | Time↓ | Len↓ | Gap↓ | Time↓ | ||
| Concorde | Exact | 16.55* | 0.00% | 37.66m | 23.53* | 0.00% | 6.65h |
| Gurobi | Exact | 16.55 | 0.00% | 45.63h | 23.53 | 0.00% | 48h |
| LKH-3 (default) | Heuristics | 16.55 | 0.00% | 46.28m | 23.53 | 0.00% | 2.57h |
| AM | RL+G | 20.02 | 20.99% | 0.47s | 28.52 | 21.21% | 1.09s |
| GCN | SL+G | 29.72 | 79.61% | 6.67m | 43.15 | 83.38% | 28.52m |
| POMO | RL+G | 19.13 | 15.62% | 0.49s | 27.15 | 15.38% | 0.94s |
| POMO(S) | RL+S | 18.59 | 12.32% | 2.97m | 28.34 | 20.44% | 3.25m |
| DIMES | RL+G | 18.93 | 14.38% | 0.97m | 27.23 | 15.73% | 2.08m |
| DIMES | RL+AS+G | 17.81 | 7.61% | 2.10h | 25.11 | 6.72% | 4.49h |
| LEHD | RL/SL+G | 16.82 | 1.64% | 1.82s | 24.29 | 3.23% | 3.84s |
| DIFUSCO | SL+G | 18.11 | 9.41% | 5.70m | 25.68 | 9.14% | 11.5m |
| T2T | SL+G | 17.39 | 5.09% | 4.90m | 25.17 | 8.87% | 15.66m |
| Prefix_Difusco | SL+G | 17.92 | 8.23% | 0.14m | 25.86 | 9.91% | 0.35m |
| Prefix_Difusco(16 samples) | SL+S | 17.31 | 4.58% | 2.10m | 24.96 | 6.07% | 5.94m |
| HyCO(POMO) | RL+SL+G | 17.24 | 3.56% | 1.20m | 24.61 | 4.58% | 2.43m |
| HyCO(LEHD) | RL+SL+G | 16.81 | 1.57% | 0.35m | 24.24 | 3.04% | 0.36m |
| POMO | RL+G+2OPT | 17.77 | 7.37% | 0.58s | 25.10 | 6.67% | 1.05s |
| DIMES | RL+G+2OPT | 17.65 | 6.62% | 1.01m | 24.83 | 7.38% | 2.29m |
| DIMES | RL+AS+G+2OPT | 17.31 | 4.57% | 2.10h | 24.33 | 5.22% | 4.49h |
| LEHD | RL/SL+G+2OPT | 16.77 | 1.40% | 1.83s | 24.06 | 2.29% | 3.85s |
| DIFUSCO | SL+G+2OPT | 16.83 | 1.68% | 5.75m | 23.92 | 1.66% | 17.52m |
| T2T | SL+G+2OPT | 16.86 | 1.92% | 2.42m | 23.86 | 1.42% | 15.90m |
| HyCO(POMO) | RL+SL+G+2OPT | 16.82 | 1.63% | 2.32m | 23.92 | 1.66% | 4.40m |
| HyCO(LEHD) | RL+SL+G+2OPT | 16.74 | 1.2% | 0.36m | 23.64 | 0.46% | 0.36m |
B.2 MIS Performance Results
To validate the versatility of HyCO beyond routing tasks, we extended our evaluation to the MIS problem, a fundamental graph covering challenge. It is crucial to clarify the definition of the sampling budget to appreciate the efficiency gains fully. For the baseline, denotes the number of independent trajectories generated from scratch; for HyCO, represents the number of top-ranked RL candidates selected at the trigger step for diffusion completion. As detailed in Table 7, we benchmarked HyCO against the specialized RL baseline (LWD) and the Diffusion backbone (prefix_COExpander) under an identical inference budget (). This setup allows us to rigorously assess whether the performance gains stem from our adaptive trigger and hybrid mechanism rather than simply increased computational resources.
The results demonstrate a strong synergy similar to our findings in TSP. HyCO consistently outperforms both learning-based baselines across all datasets, with the advantage being most pronounced on the challenging ER-700-800 benchmark. While the standalone RL policy suffers a significant 13.16% optimality gap and the pure Diffusion model plateaus at 9.16%, HyCO effectively combines their strengths to achieve a much lower gap of 5.76%. Similarly, on RB-Large, HyCO reduces the RL error by nearly two-thirds (from 15.31% to 5.28%).
Notably, HyCO () not only surpasses the baseline at the same budget but also remains competitive with or superior to baselines using significantly larger budgets (e.g., , as observed in typical diffusion evaluations). This indicates that the performance gain is attributable to the quality of the trigger-guided subspace exploration rather than the quantity of blind sampling, a phenomenon consistent with our observations in the TSP experiments.
Table 7: Performance comparison across RB-LARGE, ER-700-800, and SATLIB benchmarks for the Maximum Independent Set (MIS) problem. Obj. denotes the average node number of independent sets (higher is better). Gap indicates the percentage deviation from the optimal solution (lower is better). Time is the average inference time in seconds. S: Sample Decoding. is the candidate number of full DM proposals .
| METHOD | RB-LARGE | ER-700-800 | SATLIB | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Obj.↑ | Gap↓ | Time↓ | Obj.↑ | Gap↓ | Time↓ | Obj.↑ | Gap↓ | Time↓ | |
| KaMIS | 43.00 | 0.00% | 56.97s | 44.97 | 0.00% | 60.75s | 425.95 | 0.00% | 24.37s |
| Gurobi | 42.19 | 1.83% | 33.84s | 38.78 | 13.75% | 60.49s | 425.92 | 0.01% | 13.47s |
| LWD (RL) | 36.67 | 15.31% | 0.85s | 39.05 | 13.16% | 0.64s | 421.80 | 1.04% | 0.66s |
| prefix_Coexpander (Greedy) | 40.05 | 6.84% | 1.15s | 40.18 | 10.65% | 0.71s | 421.84 | 0.96% | 0.25s |
| prefix_Coexpander (s=5) | 40.06 | 6.83% | 1.22s | 40.85 | 9.16% | 0.96s | 424.17 | 0.42% | 0.91s |
| prefix_Coexpander(s=64) | 40.58 | 5.63% | 4.48s | 40.91 | 9.03% | 4.03s | 424.78 | 0.27% | 4.27s |
| HyCO () | 40.73 | 5.28% | 2.69s | 42.38 | 5.76% | 4.69s | 425.40 | 0.12% | 6.31s |
B.3 OP Performance Results
While our primary analysis focuses on TSP and MIS, we further evaluate HyCO on the Orienteering Problem (OP) to assess its generality on a different routing problem. We consider OP-50, OP-100, and OP-200, and compare HyCO against both the standalone RL backbone AM and the diffusion backbone prefix_Coexpander under different sampling budgets, as summarized in Table 8. Across all scales, HyCO consistently achieves the best performance among learning-based methods, improving over both the RL and diffusion baselines.
The advantage becomes more pronounced as the problem size increases. On OP-200, AM obtains an optimality gap of 13.05%, while prefix_Coexpander with the same sampling budget reduces the gap to 4.15%. HyCO further lowers the gap to 1.08%, corresponding to a 91.7% relative reduction over AM, and a 74.0% relative reduction over prefix_Coexpander (). Notably, HyCO also outperforms the much stronger prefix_Coexpander () baseline, which attains a gap of 2.77% on OP-200. This suggests that the improvement is not merely due to increasing the number of diffusion samples, but rather comes from using an informative RL prefix and an adaptive handover to guide diffusion generation toward a more favorable subspace.
HyCO achieves these gains with moderate computational overhead. For OP-200, HyCO takes 2.70s per instance, which is comparable to prefix_Coexpander () and substantially faster than the Gurobi-300 reference. These results demonstrate that HyCO can serve as a plug-and-play hybrid inference mechanism beyond TSP, effectively combining weaker individual components into a stronger solver through adaptive RL-to-DM handover.
Table 8: Performance comparison across OP-50, OP-100, and OP-200 benchmarks. Obj. denotes the average collected prize (higher is better). Gap indicates the percentage deviation from the optimal solution (lower is better). Time is the average inference time in seconds. S: Sample Decoding. is the candidate number of full DM proposals .
| Method | OP-50 | OP-100 | OP-200 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Obj. ↑ | Gap ↓ | Time ↓ | Obj. ↑ | Gap ↓ | Time ↓ | Obj. ↑ | Gap ↓ | Time ↓ | |
| Gurobi-300 | 14.37 | 0.00% | 300.0s | 32.10 | 0.00% | 300.0s | 44.38 | 0.00% | 300.0s |
| Gurobi-30 | 14.31 | 0.40% | 30.0s | 31.13 | 3.02% | 30.0s | 31.37 | 29.31% | 30.0s |
| AM (RL) | 11.92 | 17.04% | 0.03s | 28.37 | 11.62% | 0.03s | 38.59 | 13.05% | 0.09s |
| prefix_Coexpander (Greedy) | 12.27 | 14.61% | 0.09s | 28.64 | 10.77% | 0.15s | 41.36 | 6.80% | 0.19s |
| prefix_Coexpander (s=8) | 12.42 | 14.01% | 0.12s | 29.05 | 9.49% | 0.21s | 42.54 | 4.15% | 0.47s |
| prefix_Coexpander (s=64) | 12.51 | 12.94% | 1.08s | 29.20 | 9.03% | 0.89s | 43.15 | 2.77% | 2.67s |
| HyCO () | 13.23 | 7.93% | 0.55s | 29.51 | 8.06% | 0.41s | 43.90 | 1.08% | 2.70s |
B.4 Adaptive Trigger vs. Fixed-time Triggering
To validate the effectiveness of our adaptive trigger, we compare HyCO against a fixed-time trigger baseline. Specifically, we sweep over fixed triggering steps on a validation split and report the best-performing schedule (Best Fixed). This provides a strong reference for quantifying the benefit of adaptive triggering.
Figure 2 reports the percentage optimality gap to the exact solver's solution for both TSP and MIS. Across all datasets, HyCO with adaptive triggering consistently outperforms the best fixed-time baseline. On TSP benchmarks, adaptive triggering yields improvements over a hindsight-selected schedule, reducing the gap from 0.026% to 0.020% on TSP-100 and from 5.66% to 3.56% on TSP-500.
A similar trend holds on MIS benchmarks. On SATLIB, adaptive triggering reduces the gap from 1.20% to 0.12% (1.08% absolute improvement), bringing HyCO close to the exact reference. On ER-700–800, where instances vary significantly due to random graph generation, adaptive triggering still improves over the best fixed schedule by 3.22%. Overall, these results support that HyCO's trigger functions as a statistically effective triggering proxy: it reliably identifies a regime where conditional global completion provides net gains, without requiring any fixed schedule tuned per dataset or attempting to approximate the expectation-level optimal trigger step on each instance.
B.5 Cross-Dataset Trigger Statistics
Here we report the average trigger step across different problem classes and scales in Table 9. Under the experimental settings used in this paper, the handover timing varies substantially across tasks and scales rather than following a fixed early-trigger pattern. While TSP-100 tends to trigger very early, larger TSP instances already exhibit later handovers. On MIS and OP benchmarks, the trigger can occur substantially later, suggesting that the RL solver can remain active for a nontrivial prefix before the conditional DM is invoked.

Figure 2: Adaptive trigger vs. best fixed-time trigger across tasks. Best Fixed is selected by validation sweeping over fixed triggering steps. We report the percentage optimality gap to the exact solver's solution for TSP and MIS. Lower is better.
Table 9: Average trigger step across datasets. The handover timing varies substantially across problem classes and scales, indicating that HyCO uses an adaptive trigger rather than a fixed early handover.
| Scale / Benchmark | TSP | MIS | OP | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 100 | 500 | 1000 | RB-LARGE | ER-700-800 | SATLIB | 50 | 100 | 200 | |
| Avg. Trigger Step | 0.52 | 6.00 | 8.11 | 56.14 | 10.09 | 81.77 | 3.46 | 1.79 | 20.06 |
C Ablation Study of HyCO
This section provides additional ablation studies to analyze the robustness and design choices of HyCO. We first compare adaptive triggering with validation-selected fixed-time schedules, showing that instance-dependent triggering consistently improves over a fixed handover time. We then study the sensitivity of the trigger and decoding hyperparameters, including the DM energy-probe timestep, the RL candidate pool size used for KL estimation, and the candidate selection threshold for DM exploration. Finally, we ablate the trigger signals and show that combining policy entropy with RL–DM disagreement yields better performance than either signal alone.
C.1 Hyperparameter Sensitivity of Triggering and DM Exploration
To empirically validate the theoretical framework established in Section 4, we conduct extensive ablation studies on the TSP-100 benchmark. These experiments aim to bridge the gap between our expectation-level theory and trajectory-level inference by scrutinizing how HyCO's core components navigate the regime shift between sequential construction and global generation. We specifically focus on the effectiveness of the dual-signal trigger and the structural robustness of the framework across varying hyperparameter settings.
Table 10 examines the sensitivity of our framework to the DM energy probe's timestep (dm_probe_timestep). The results demonstrate remarkable robustness: across a wide range of timesteps from 100 to 900, the optimality gap remains stable at 0.02%. This is a significant practical advantage, as it indicates that the single-step energy probe is a reliable signal that does not require meticulous hyperparameter tuning.
Table 11 investigates the impact of the RL candidate pool size (probe_r1_top_m) used for the KL divergence calculation. This experiment highlights the importance of providing a sufficiently large set of candidate actions for the probe. With too few candidates (e.g., 5), the KL divergence is not a reliable indicator, resulting in a poor optimality gap (1.30%) and a low trigger rate (43.0%). Our
Table 10: Sensitivity analysis on the DM energy probe timestep, dm_probe_timestep.
| Energy Probe Ts | Gap (%) ↓ | Time (s) | Ave. trigger step (Trig. Rates) |
|---|---|---|---|
| 100 | 0.02 | 1.762s | 0.66 (100.0%) |
| 300 | 0.02 | 1.768s | 0.66 (100.0%) |
| 500 | 0.02 | 1.749s | 0.52 (100.0%) |
| 700 | 0.02 | 1.755s | 0.51 (100.0%) |
| 900 | 0.02 | 1.753s | 0.51 (100.0%) |
default setting of 15 ensures that the divergence metric is calculated over a meaningful distribution, allowing for effective detection of critical junctures.
Table 11: Sensitivity analysis on the RL candidate pool size, probe_rl_top_m, used for KL divergence calculation.
| Probe_RL_Top_M | Gap (%) ↓ | Time (s) | Ave. trigger step (Trig. Rates) |
|---|---|---|---|
| 5 | 1.30 | 0.761s | 4.05 (43.0%) |
| 10 | 0.15 | 1.278s | 5.20 (97.1%) |
| 15 | 0.02 | 1.749s | 0.52 (100.0%) |
| 20 | 0.01 | 2.364s | 0.00 (100.0%) |
Finally, Table 12 analyzes the effect of the candidate selection threshold for DM exploration (TopN_cum_Th). This parameter controls the breadth of the DM's search once it is triggered. The results show a clear trade-off: a small threshold (e.g., 0.2) is faster but often fails to find a high-quality solution, yielding a suboptimal 0.12% gap. Increasing the exploration breadth is crucial for capitalizing on the DM's generative power. Our default value of 0.8 allows the DM to explore a diverse set of high-probability candidates, which is vital for discovering the near-optimal paths that lead to our state-of-the-art 0.02% gap.
Table 12: Ablation study on the candidate selection strategy for DM exploration, n_cumulative_threshold.
| TopN_cum_Th | Gap (%) ↓ | Time (s) | Ave. trigger step (Trig. Rates) |
|---|---|---|---|
| 0.2 | 0.12 | 0.158s | 0.52 (100.0%) |
| 0.4 | 0.12 | 0.570s | 0.52 (100.0%) |
| 0.5 | 0.08 | 0.723s | 0.52 (100.0%) |
| 0.6 | 0.05 | 0.942s | 0.52 (100.0%) |
| 0.8 | 0.02 | 1.749s | 0.52 (100.0%) |
C.2 Necessity of Dual-Signal Trigger Design
Table 13 provides a comprehensive analysis of our core trigger mechanism. The results clearly show that the dual-criteria trigger, which combines both RL policy entropy and KL divergence, is essential for top performance. Relying solely on the KL-divergence or entropy trigger leads to significantly worse optimality gaps (0.09% and 0.05%, respectively). This confirms our hypothesis that RL policy uncertainty (entropy) and model disagreement (KL) are complementary signals. The former identifies when the RL agent is indecisive, while the latter detects when it is confidently wrong. Together, they form a robust and effective condition for invoking the diffusion model.
Table 13: Complete Ablation study on the core components of HyCO, evaluated on the TSP-100 dataset. Gap (%) is the optimality gap compared to the Concorde solver. Time (s) is the average inference time per instance. Avg. Trigger Step Index indicates the average step number in the tour construction at which the Diffusion Model was first invoked. Trigger Rate denotes the percentage of instances where the DM was triggered at least once. The best-performing model is highlighted in bold.
| Model / Method | Description: Triggers on | Gap (%) ↓ | Time (s) | Ave. trigger step (Trig. Rates) |
|---|---|---|---|---|
| Trigger Mechanism Ablation | ||||
| HyCO (Entropy) | policy entropy only | 0.05 | 1.903s | 2.36 (99.8%) |
| HyCO (KL) | KL divergence only | 0.09 | 1.305s | 1.35 (97.0%) |
| HyCO (Full Model) | Full Model (Entropy + KL) | 0.02 | 1.749s | 0.52 (100.0%) |
D Implementation Details of Prefix_Difusco and RL models
Here we provide detailed specifications for our backbone conditional diffusion model, Prefix_Difusco, used in the experiments. About the RL model, we uniformly use the code and environment provided by the RL4CO [39] package for training¹. The detailed hyperparameters are listed in D.4.
D.1 Model Architecture
The core of Prefix_Difusco modifies the GNN architecture from DIFUSCO[8] for the conditional generation task. The key components are:
-
Node Feature Embedding: Node coordinates are first converted into high-dimensional features using a sinusoidal positional embedding. A binary feature indicating whether a node is part of the prefix is concatenated to this embedding. A final linear layer projects this combined feature vector to the GNN's expected input dimension ().
-
PrefixEncoder: An LSTM-based encoder takes the sequence of node features corresponding to the prefix tour and outputs a single global conditioning vector (). This vector summarizes the properties of the given partial tour.
-
DifuscoGNNEncoder: This is the main denoising network. It is a 12-layer GNN that processes a graph where nodes have the features described above. At each layer, the GNN's message passing is conditioned by both the global prefix vector from the Prefix_Encoder and a sinusoidal embedding of the current timestep .
-
Output Head: The GNN outputs a logit for each potential edge in the graph, representing the probability of that edge being part of the optimal tour.
D.2 Training Procedure
The model is trained to predict the ground-truth adjacency matrix from a noised version and a conditional prefix.
-
Dataset and Conditioning: The training dataset consists of TSP instances and their optimal tours. For each sample, we derive a training instance by randomly selecting a prefix of length from the optimal tour.
-
Diffusion Process: We use a discrete diffusion process over steps with a cosine noise schedule to corrupt the ground-truth adjacency matrix into a noisy matrix .
-
Masked Loss Function: The model's objective is to minimize the Binary Cross-Entropy (BCE) loss between the predicted adjacency matrix and the ground truth . Crucially, the loss is only computed on the "suffix" edges—that is, all edges except those whose both endpoints are within the given prefix. This forces the model to learn how to best complete the tour.
¹https://github.com/ai4co/rl4co
- Curriculum Learning: To improve convergence and performance, we employ a multi-stage curriculum. The training starts with a distribution of long prefixes (e.g., ), making the completion task easier. As training progresses, the distribution of shifts towards shorter, more difficult prefixes (e.g., ), allowing the model to gradually master the full conditional generation task.
D.2.1 Training for TSP-50
The Prefix_Difusco model for TSP-50 was trained from scratch. We employed a 5-stage curriculum learning strategy designed to gradually increase the task difficulty. Each stage was trained for 10 epochs, initializing from the best checkpoint of the previous stage.
-
Stage 1 (Easy): Trained on long prefixes with lengths .
-
Stage 2 (Medium): Trained on prefix lengths .
-
Stage 3 (Hard): Trained on the full range of prefix lengths .
-
Stage 4 (Short Focus): Focused on short prefixes with lengths .
-
Stage 5 (Very Short Focus): Further focused on very short prefixes with to enhance performance on early-step decisions.
D.2.2 Training for TSP-100
The model for TSP-100 was also trained from scratch following a similar multi-stage curriculum learning approach. The prefix length ranges for each stage were adjusted proportionally for the larger problem size to ensure a smooth learning progression from easy to hard completion tasks. The core hyperparameters, such as hidden dimensions and learning rate, were kept consistent with the TSP-50 model.
-
Stage 1 (Easy): Trained on long prefixes with lengths .
-
Stage 2 (Medium): Trained on prefix lengths .
-
Stage 3 (Hard): Trained on the full range of prefix lengths .
-
Stage 4 (Short Focus): Focused on short prefixes with lengths .
-
Stage 5 (Very Short Focus): Further focused on very short prefixes with to enhance performance on early-step decisions.
D.2.3 Training for TSP-500
Due to the significantly larger scale of TSP-500, we adopted a more advanced training strategy combining transfer learning and a tailored curriculum.
-
Transfer Learning: The TSP-500 model was not trained from scratch. Instead, it was initialized using the weights from our best-trained TSP-100 checkpoint. Weights were transferred for all layers with matching names and shapes (e.g., GNN layers, prefix encoder), providing a strong starting point and accelerating convergence.
-
Curriculum Learning: After initialization, the model was fine-tuned on TSP-500 data using a 5-stage curriculum similar to the one for TSP-50, but with ranges adjusted for (e.g., Stage 1: , Stage 2: , etc.). For the results reported in this paper, we ran an accelerated training schedule of approximately 20 epochs in total, focusing on the most critical curriculum stages to balance performance and computational cost.
D.2.4 Training for TSP-1000
For the largest scale, TSP-1000, we continued the strategy of combining transfer learning with a specialized curriculum to manage the increased complexity and computational demands.
-
Transfer Learning: The TSP-1000 model was initialized with the weights from our best-performing TSP-100 checkpoint. This transfer learning approach provided a robust feature foundation, significantly accelerating the training convergence on the larger graph size.
-
Curriculum Learning: Following initialization, the model was fine-tuned on the TSP-1000 dataset using a 4-stage curriculum over a total of 25 epochs. The training began with easier tasks (completing tours from long prefixes, with k up to 500) and progressively moved to more difficult scenarios, focusing on shorter prefixes (k down to 1) in later stages to refine the model's ability to make critical early decisions.
D.3 Decoding Algorithms
To convert the probabilistic heatmap output from our Prefix_Difusco model into a valid TSP tour, we employ a deterministic greedy decoding strategy inspired by DIFUSCO [8]. This approach ensures that given a heatmap, the resulting tour is always the same, which is crucial for the stability of the HyCO framework. The core decoding process follows a principled, multi-stage procedure designed to construct high-quality tours while respecting the prefix constraints.
The decoding algorithm proceeds as follows:
-
Edge Score Calculation: The raw adjacency probability matrix from the diffusion model is first symmetrized to ensure consistency (). To favor shorter edges, which are fundamental to good TSP solutions, we compute an edge score for each potential edge by dividing its symmetrized probability by its Euclidean distance: . All possible edges are then sorted in descending order based on these scores.
-
Enforce Prefix Constraint: Before any greedy selection, the decoder first enforces the given conditional prefix. All edges that form the given partial tour are mandatorily included in the solution set. A Union-Find data structure is initialized, and the degrees of the prefix nodes are updated accordingly to ensure these edges are fixed.
-
Greedy Spanning Path Construction: The algorithm iterates through the globally sorted list of edges. For each candidate edge, it performs three checks:
-
It is not an existing prefix edge.
-
Adding the edge will not result in any node having a degree greater than two.
-
Adding the edge will not form a premature cycle (verified using the Union-Find data structure).
If all conditions are met, the edge is added to the solution set, and the node degrees and Union-Find structure are updated. This process continues until a total of edges have been selected, forming a spanning path of all nodes.
- Tour Finalization: Once a spanning path of edges is formed, there will be exactly two nodes with a degree of one (the endpoints of the path). The final edge connecting these two endpoints is deterministically added to close the path and form a valid Hamiltonian cycle. The final list of edges is then converted into a sequential tour starting from the first node of the original prefix (or node 0 if no prefix was given).
D.4 Hyperparameters
This subsection provides a comprehensive summary of the hyperparameters for the core models employed in the HyCO framework: The configurations for our conditional diffusion model (Prefix_Difusco), the Attention Model (AM), and POMO [5, 16] are detailed in Table 14, Table 15, and Table 16, respectively. To ensure rigorous comparability, we strictly adopted the architectural configurations (e.g., layers, dimensions) from the original DIFUSCO and RL4CO implementations, thereby isolating the performance gains to the HyCO framework logic rather than backbone scaling. Besides, for inference-specific parameters such as DDIM sampling steps, values were selected based on a preliminary analysis of the speed-quality trade-off.
E Limitations and Broader Impacts
HyCO's theoretical analysis relies on explicit error-scaling and boundary assumptions on the RL and DM backbones. Extending the framework to other solver combinations may require re-examining these assumptions and adapting the trigger signals accordingly.
Table 14: Hyperparameters for Prefix_Difusco across different problem sizes.
| Parameter | TSP-50 | TSP-100 | TSP-500 | TSP-1000 |
|---|---|---|---|---|
| Model Architecture | ||||
| Node Count (N) | 50 | 100 | 500 | 1000 |
| sparse factor(K) | N.A | N.A | N.A | 100 |
| GNN Layers (L) | 12 | 12 | 12 | 12 |
| Hidden Dimension | 256 | 256 | 256 | 256 |
| Node Embedding Dim | 128 | 128 | 128 | 128 |
| Prefix Condition Dim | 256 | 256 | 256 | 256 |
| Diffusion Process | ||||
| Timesteps (T) | 1000 | 1000 | 1000 | 1000 |
| Beta Schedule | cosine | cosine | cosine | cosine |
| Inference Steps | 10 | 10 | 50 | 50 |
| Inference Sampler | DDIM | DDIM | DDIM | DDIM |
| Training | ||||
| Batch Size (per GPU) | 128 | 96 | 4 | 8 |
| Epoch | 50 | 50 | 20 | 25 |
| Training data (per epoch) | 1500000 | 1500000 | 128000 | 65000 |
| Learning Rate | 2e-4 | 2e-4 | 2e-5 | 1e-4 |
| Optimizer | Adam | Adam | Adam | Adam |
| Training Method | Curriculum | Curriculum | Transfer&Curriculum | Transfer&Curriculum |
| Environment | 2x NVIDIA A40 GPUs | |||
Table 15: Hyperparameters for Attention Model across different problem sizes. Need to notice, AM and POMO models for TSP-500 are trained on the tsp-200 instances and then generalized into the TSP 500.
| Parameter | TSP-50 | TSP-100 | TSP-500 |
|---|---|---|---|
| Model Architecture | |||
| GNN Layers (L) | 3 | 3 | 3 |
| Hidden Dimension | 512 | 512 | 512 |
| Node Embedding Dim | 128 | 128 | 128 |
| Attention heads | 8 | 8 | 8 |
| Baseline | rollout | rollout | critic |
| Training | |||
| Batch Size (per GPU) | 512 | 512 | 1024 |
| Training data (each epoch) | 1280000 | 1280000 | 1280000 |
| Epoch | 100 | 100 | 120 |
| Learning Rate | 1e-4 | 1e-4 | 1e-4 |
| LR Scheduler | multistep LR, gamma=0.1, milestone = [80, 95] | ||
| Normalization | batch | ||
| Environment | 1x NVIDIA A40 GPUs | ||
Table 16: Hyperparameters for POMO across different problem sizes.
| Parameter | TSP-50 | TSP-100 | TSP-500 |
|---|---|---|---|
| Model Architecture | |||
| GNN Layers (L) | 6 | 6 | 6 |
| Hidden Dimension | 512 | 512 | 512 |
| Node Embedding Dim | 128 | 128 | 128 |
| Attention heads | 8 | 8 | 8 |
| Augment | 8 | 8 | 8 |
| Training | |||
| Batch Size (per GPU) | 512 | 512 | 256 |
| Training data (each epoch) | 100000 | 100000 | 100000 |
| Epoch | 400 | 800 | 400 |
| Learning Rate | 1e-4 | 1e-4 | 1e-4 |
| LR Scheduler | multistep LR, gamma=0.1, milestone = [80, 95] | ||
| Normalization | instance | ||
| Environment | 1x NVIDIA A40 GPUs | 2x NVIDIA A40 GPUs | |
HyCO is a general neural combinatorial optimization method and is not tied to a specific high-stakes deployment. Its potential positive impact lies in improving the efficiency and quality of optimization systems, with possible applications in routing, scheduling, logistics, and resource allocation. Potential negative impacts could arise if such tools are deployed in sensitive domains where suboptimal objectives or incorrect solutions affect access to resources or services. In such settings, deployment should include domain-specific constraints, validation, and human oversight.