Skip to main content
QUICK REVIEW

[Paper Review] Generalization of Neural Combinatorial Solvers Through the Lens of Adversarial Robustness

Simon Geisler, Johanna Sommer|arXiv (Cornell University)|Oct 21, 2021
Computational Drug Discovery MethodsComputer Science10 references4 citations
TL;DR

This paper introduces a novel adversarial robustness framework to evaluate and improve generalization in neural combinatorial solvers for NP-hard problems like SAT and TSP. By designing sound, efficient perturbation models that preserve label correctness without requiring external solvers, the authors demonstrate that state-of-the-art neural solvers are highly non-robust to small instance perturbations, and show that adversarial training significantly improves robustness and generalization.

ABSTRACT

End-to-end (geometric) deep learning has seen first successes in approximating the solution of combinatorial optimization problems. However, generating data in the realm of NP-hard/-complete tasks brings practical and theoretical challenges, resulting in evaluation protocols that are too optimistic. Specifically, most datasets only capture a simpler subproblem and likely suffer from spurious features. We investigate these effects by studying adversarial robustness -a local generalization property- to reveal hard, model-specific instances and spurious features. For this purpose, we derive perturbation models for SAT and TSP. Unlike in other applications, where perturbation models are designed around subjective notions of imperceptibility, our perturbation models are efficient and sound, allowing us to determine the true label of perturbed samples without a solver. Surprisingly, with such perturbations, a sufficiently expressive neural solver does not suffer from the limitations of the accuracy-robustness trade-off common in supervised learning. Although such robust solvers exist, we show empirically that the assessed neural solvers do not generalize well w.r.t. small perturbations of the problem instance.

Motivation & Objective

  • To address the over-optimistic evaluation of neural combinatorial solvers due to incomplete or sparse training data generators.
  • To identify spurious features and model-specific hard instances in combinatorial optimization datasets using adversarial robustness as a diagnostic tool.
  • To develop sound, efficient perturbation models for SAT and TSP that allow exact label prediction without external solvers.
  • To investigate whether adversarial robustness can serve as a reliable generalization metric in neural combinatorial optimization.
  • To demonstrate that adversarial training improves both robustness and generalization of neural solvers on NP-hard problems.

Proposed method

  • Design perturbation models for SAT and TSP that are efficient and sound—ensuring the true label of a perturbed instance can be computed directly without solving it.
  • For SAT, perturbations involve flipping literals in clauses while preserving the logical structure and satisfiability of the formula.
  • For TSP, perturbations modify edge weights or node positions in a way that allows exact re-evaluation of the optimal tour using known geometric properties.
  • Use these perturbations to generate adversarial examples that expose model weaknesses in generalization beyond the training distribution.
  • Apply adversarial training to fine-tune neural solvers on adversarial instances, improving robustness and generalization performance.
  • Validate the framework on both DecisionTSP and ConvTSP models, comparing predictions on original and perturbed instances.

Experimental results

Research questions

  • RQ1Can adversarial robustness serve as a reliable proxy for generalization in neural combinatorial solvers?
  • RQ2Do commonly used data generators for SAT and TSP introduce spurious features that make models overfit to a simplified subproblem?
  • RQ3Can we design perturbation models for SAT and TSP that are both efficient and sound—enabling exact label prediction without external solvers?
  • RQ4To what extent are current neural solvers vulnerable to small, structured perturbations of problem instances?
  • RQ5Does adversarial training improve the robustness and generalization of neural combinatorial solvers on SAT and TSP?

Key findings

  • Neural solvers for SAT and TSP exhibit high vulnerability to small, structured perturbations of problem instances, indicating poor generalization.
  • The proposed perturbation models are efficient and sound, enabling exact label computation for perturbed SAT and TSP instances without relying on external solvers.
  • Unlike in standard vision tasks, the accuracy-robustness trade-off does not hold in combinatorial optimization; high-accuracy models can also be highly robust.
  • Adversarial training significantly improves the robustness of neural solvers on both SAT and TSP benchmarks, leading to better generalization on unseen, perturbed instances.
  • The framework successfully identifies hard, model-specific instances and spurious features in training data, revealing flaws in commonly used data generation pipelines.
  • Empirical results show that models trained on standard data generators fail to generalize under adversarial perturbations, even when they achieve high accuracy on clean data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.