Skip to main content
QUICK REVIEW

[Paper Review] On Learning Paradigms for the Travelling Salesman Problem

Chaitanya K. Joshi, Thomas Laurent|arXiv (Cornell University)|Oct 16, 2019
Reinforcement Learning in RoboticsComputer Science20 references21 citations
TL;DR

This paper compares supervised learning (SL) and reinforcement learning (RL) paradigms for training deep neural networks to solve the Travelling Salesman Problem (TSP). Using autoregressive graph attention models trained on fixed-size TSP instances (20–100 nodes), the study finds that while both methods achieve near-optimal performance on training sizes, RL generalizes significantly better to larger, unseen instances (up to 500 nodes), demonstrating superior zero-shot generalization due to sparse reward-based learning that captures broader structural patterns, making RL a key enabler for scale-invariant combinatorial solvers.

ABSTRACT

We explore the impact of learning paradigms on training deep neural networks for the Travelling Salesman Problem. We design controlled experiments to train supervised learning (SL) and reinforcement learning (RL) models on fixed graph sizes up to 100 nodes, and evaluate them on variable sized graphs up to 500 nodes. Beyond not needing labelled data, our results reveal favorable properties of RL over SL: RL training leads to better emergent generalization to variable graph sizes and is a key component for learning scale-invariant solvers for novel combinatorial problems.

Motivation & Objective

  • To investigate how learning paradigms—supervised learning (SL) versus reinforcement learning (RL)—impact generalization in deep learning models for the TSP.
  • To evaluate whether RL, despite being less sample-efficient, offers advantages in emergent generalization to variable and larger graph sizes.
  • To determine if RL-based training leads to more scale-invariant policies compared to SL, which may overfit to specific graph sizes.
  • To assess the stability and sample efficiency of RL versus SL in the context of autoregressive TSP solvers.

Proposed method

  • Trained two equivalent autoregressive Graph Attention Network models: one using REINFORCE with a rollout baseline (RL), and one using cross-entropy loss with optimal solutions (SL).
  • Used fixed-size training data (TSP20, TSP50, TSP100) and evaluated generalization on test sets from TSP20 to TSP500.
  • Employed three decoding strategies: greedy search, sampling (1,280 solutions), and beam search (beam width 1,280) to assess robustness.
  • Measured performance via average tour length and optimality gap (percentage deviation from optimal solution) on held-out test sets.
  • Conducted controlled experiments to isolate the effect of learning paradigm, holding model architecture, optimizer, and training hyperparameters constant.
  • Replaced the rollout baseline with a critic baseline and substituted the Graph Transformer encoder with a GCN encoder to test robustness of findings.

Experimental results

Research questions

  • RQ1Does reinforcement learning outperform supervised learning in zero-shot generalization to larger, unseen TSP instances beyond the training size?
  • RQ2Is the superior generalization of RL due to the learning paradigm itself, or dependent on specific model components like the graph encoder or baseline type?
  • RQ3How do different decoding strategies (greedy, sampling, beam search) affect the performance and stability of SL and RL models on variable-sized TSP instances?
  • RQ4Is RL training as stable and sample-efficient as SL when applied to TSP with autoregressive models?
  • RQ5Can RL-based training lead to scale-invariant solvers for combinatorial optimization problems without requiring labeled data?

Key findings

  • On fixed training sizes (TSP20–TSP100), both SL and RL models achieve near-optimal performance, with SL models achieving a 0.38% optimality gap on TSP100 using beam search.
  • In zero-shot generalization to larger instances (TSP150–TSP500), RL models consistently outperform SL models across all decoding strategies, with the largest performance gap observed in greedy search.
  • The optimality gap for the RL model on TSP500 was 2.85% under beam search, compared to 7.79% for the SL model, indicating significantly better generalization in RL.
  • Sampling-based decoding performed worse than greedy search on large instances, likely due to uniform probability distributions indicating low policy confidence.
  • Stability and sample efficiency of RL and SL were comparable, with both requiring approximately the same number of mini-batches to converge under the same learning rate.
  • The superior generalization of RL was robust across different baselines (rollout vs. critic) and graph encoders (Graph Transformer vs. GCN), confirming it is driven by the learning paradigm itself.

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.