PISG: Constraint-Aligned Signal Amplification for Diffusion-Based Combinatorial Optimization

Yuming Zhang, Xianchen Zhou, Hongxia Wang

TL;DR

PISG (Perturbed Instance-Structure Guidance) is a training-free method that improves diffusion-based solvers for combinatorial optimization (CO) by better aligning model predictions with hard constraints. By perturbing internal "edge gating" mechanisms and extrapolating away from the degraded signal, PISG amplifies the model's inherent structural awareness, leading to significantly higher-quality solutions for problems like TSP and MIS.

What Problem Does This Paper Address?

In recent years, diffusion models have emerged as powerful solvers for Neural Combinatorial Optimization (NCO). When solving a problem like the Travelling Salesman Problem (TSP) or Maximum Independent Set (MIS), these models don't output a final solution directly. Instead, they produce "prediction scores" for every possible edge or vertex. A greedy decoder then ranks these candidates and picks the best ones that don't violate hard constraints (e.g., in TSP, a node can't have more than two edges).

The bottleneck is prediction–constraint alignment. If a model ranks a constraint-violating edge very highly, the decoder is forced to "skip" it and settle for a lower-ranked, likely worse, alternative. These "decoder skips" are a clear symptom of a model that understands what a good solution looks like but doesn't quite grasp the feasibility boundaries. While existing methods try to fix this via expensive search or post-processing, PISG aims to fix the signal at the source during the denoising process.

Methods

The authors introduce Perturbed Instance-Structure Guidance (PISG), a training-free inference-time intervention. It is inspired by "guidance" techniques in image generation (like Classifier-Free Guidance) but adapted for the discrete, graph-based world of CO.

The core mechanism relies on a clever observation: trained denoisers (specifically those using Anisotropic Gated Graph Neural Networks) already have internal "edge gates" that filter information based on graph structure. PISG exploits this by running two parallel branches at each denoising step:

  1. Normal Branch: The standard forward pass with learned edge gates.
  2. Perturbed Branch: A "structure-degraded" pass where the edge gates are replaced with uniform or averaged values, effectively "blinding" the model to specific structural nuances.

By subtracting the perturbed prediction from the normal one and extrapolating in that direction, PISG amplifies the structural signals the model has already learned. Mathematically, it follows the form: $$p_{guided} = p_{normal} + s(p_{normal} - p_{perturbed})$$ where $s$ is a guidance scale. This "sharpens" the model's focus on candidates that are both promising and likely to be feasible.

Datasets

The authors evaluated PISG across several standard NCO benchmarks:

  • TSP (Travelling Salesman Problem): Synthetic Euclidean instances at scales of 50, 100, 500, and 1,000 nodes.
  • MIS (Maximum Independent Set): Evaluated on ER (Erdős–Rényi) graphs (700–800 nodes) and RB-model graphs (200–300 nodes).
  • TSPLIB: A classic library of real-world TSP instances used to test the method's ability to generalize beyond synthetic training data.

Key Insights and Ideas

  • The "Skip" Metric: The paper formalizes "decoder skips" as a primary metric for alignment. They show a monotonic relationship: fewer skips almost always result in shorter tours (TSP) or larger sets (MIS).
  • Constraint-Boundary Discriminability: PISG doesn't just boost all high scores. Signal analysis shows it specifically amplifies the difference between candidates at the "feasibility boundary"—for example, reinforcing the top two edges for a TSP node while suppressing the third-ranked edge.
  • Training-Free but Not Tuning-Free: While you don't need to retrain the massive diffusion models, PISG does require a small validation sweep to find the optimal guidance scale ($s$) and which layers to perturb.
  • Generality: Although designed for edge-gated AGNNs (like DIFUSCO and T2T), the authors successfully applied a version of PISG to GenSCO, a Transformer-based solver, by perturbing its attention-bias pathway.

Key Results

PISG delivered consistent gains across the board without requiring any downstream refinement:

  • TSP: Improved all 16 tested solver–scale pairs. For example, on TSP-100, the optimality gap for DIFUSCO dropped from 1.39% to 0.57%, and for T2T from 1.62% to 0.76%.
  • MIS: Achieved solved-cost gains of up to +4.8% on ER graphs.
  • Efficiency: Because the two branches can be batched together, the wall-clock overhead is relatively low, ranging from 3% to 26% depending on the solver and task.
  • Complementarity: PISG works well alongside existing refinement methods like 2-opt, though the relative gains are smaller since refinement often "fixes" the errors that PISG prevents.

Limitations and Future Work

  • Hyperparameter Sensitivity: The optimal configuration (scale, layers, schedule) can vary between tasks. A "frozen" configuration that works for TSP-100 might not be optimal for TSP-1000.
  • Memory Overhead: Running two branches simultaneously increases peak GPU memory usage, which could be a constraint for very large graphs.
  • Architectural Specificity: The current implementation is tightly coupled to edge-gated architectures. While the preliminary Transformer results are promising, more work is needed to generalize the "structure-degrading" perturbation to other architectures.
  • Local vs. Global: The authors note that PISG currently excels at local constraints (like node degrees) but doesn't explicitly capture global constraints (like subtour elimination in TSP).

For more details, the code is available at https://github.com/Ming-321/PISG.

Summary updated

Abstract

Diffusion-based solvers have become a prominent approach to neural combinatorial optimization. At inference time, they assign each decision variable a prediction score. A greedy decoder ranks candidates by these scores and checks hard constraints to ensure feasibility. Top-ranked candidates should be both promising and jointly feasible, making prediction-constraint alignment critical. When this alignment is weak, greedy decoding skips constraint-violating candidates and falls back to lower-ranked alternatives, degrading solution quality. Existing test-time methods improve search, sampling, or decoding, but do not directly strengthen this alignment before decoding. We observe that trained denoisers already carry constraint-aligned structural signals. Building on this observation, we propose Perturbed Instance-Structure Guidance (PISG), a training-free method that amplifies these signals at test time. At each denoising step, PISG constructs a structure-degraded prediction and extrapolates the unperturbed prediction away from it. The resulting guided prediction improves candidate rankings before constrained decoding. Signal analysis shows that this guidance concentrates on constraint-critical variables rather than uniformly rescaling scores. Under greedy decoding and without downstream refinement, PISG improves all 16 TSP solver-scale pairs across DIFUSCO, T2T, FastT2T, and StruDiCO, and all four MIS-ER solvers, with MIS-ER solved-cost gains up to +4.8%. The gains persist on most large-scale settings after 2-opt, and a preliminary study extends PISG to a Transformer-based solver. These results identify prediction-constraint alignment as an effective test-time enhancement direction for diffusion-based combinatorial optimization. Code is available at https://github.com/Ming-321/PISG.
BibTeX
@inproceedings{zhang2026pisg,
  author = {Yuming Zhang and Xianchen Zhou and Hongxia Wang},
  title = {{PISG: Constraint-Aligned Signal Amplification for Diffusion-Based Combinatorial Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5G4RbpOCB8},
}
Figure