[Paper Review] Combinatorial Optimization by Graph Pointer Networks and Hierarchical Reinforcement Learning
Introduces Graph Pointer Networks (GPNs) with graph embeddings for TSP, plus a hierarchical RL framework (HGPN) to handle constrained problems like TSP with Time Windows, showing generalization to large-scale instances and competitive feasibility.
In this work, we introduce Graph Pointer Networks (GPNs) trained using reinforcement learning (RL) for tackling the traveling salesman problem (TSP). GPNs build upon Pointer Networks by introducing a graph embedding layer on the input, which captures relationships between nodes. Furthermore, to approximate solutions to constrained combinatorial optimization problems such as the TSP with time windows, we train hierarchical GPNs (HGPNs) using RL, which learns a hierarchical policy to find an optimal city permutation under constraints. Each layer of the hierarchy is designed with a separate reward function, resulting in stable training. Our results demonstrate that GPNs trained on small-scale TSP50/100 problems generalize well to larger-scale TSP500/1000 problems, with shorter tour lengths and faster computational times. We verify that for constrained TSP problems such as the TSP with time windows, the feasible solutions found via hierarchical RL training outperform previous baselines. In the spirit of reproducible research we make our data, models, and code publicly available.
Motivation & Objective
- Motivate solving the Traveling Salesman Problem (TSP) and constrained variants with learning-based methods.
- Propose Graph Pointer Networks (GPNs) that incorporate graph embeddings to better capture city relationships.
- Introduce hierarchical reinforcement learning (HGPN) to handle constraints such as time windows.
- Demonstrate generalization from small to large TSP instances and evaluate on TSP with Time Windows (TSPTW).
- Provide reproducible code and data to foster benchmarking and further research.
Proposed method
- Develop Graph Pointer Networks (GPNs) with a point encoder and a graph embedding layer to capture inter-city relationships.
- Use a vector context (differences between city coordinates) to improve transferability to larger TSPs.
- Train GPNs with reinforcement learning using policy gradient and a central self-critic baseline.
- Introduce a two-layer hierarchical GPN (HGPN) for constrained problems like TSPTW to decompose the task and stabilize training.
- Train lower layers to enforce feasibility constraints and higher layers to optimize the objective, using layer-wise policy optimization.
- Provide a two-layer HGPN architecture where lower-layer feedback biases higher-layer decisions through latent variables.
Experimental results
Research questions
- RQ1Can Graph Pointer Networks generalize from small to large-scale TSP instances?
- RQ2Does incorporating graph embeddings and vector context improve performance over previous pointer-based models?
- RQ3Can hierarchical RL with layer-specific rewards effectively solve constrained TSP variants such as TSPTW?
- RQ4How does HGPN compare to classical solvers and other ML-based approaches on large-scale TSP and constrained variants?
Key findings
- GPNs with graph embeddings generalize from small TSP (e.g., TSP50) to larger instances (up to TSP1000) with competitive tour lengths and faster runtimes.
- GPNs with vector context outperform those with point context on larger-scale TSPs, improving generalization.
- HGPN outperforms baselines on TSP with Time Windows, achieving higher feasibility and lower costs in several settings.
- On large-scale TSP benchmarks, GPN-based methods with 2-opt refinement (GPN+2opt) can outperform some OR-Tools configurations and approach state-of-the-art in certain settings.
- Real-world TSPLIB evaluation shows GPN+2opt achieving competitive gaps with substantially lower running times than some exact solvers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.