Combinatorial Optimization by Graph Pointer Networks and Hierarchical Reinforcement Learning

Qiang Ma, Suwen Ge, Danyang He, Darshan Thaker, Iddo Drori
11/12/2019
242 citations
cs.LGstat.ML
rl

Official code: qiang-ma/graph-pointer-network (164 stars, Jupyter Notebook, last commit 2019-12-11).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

16445Jupyter Notebook, PythonNov 12, 20196 years ago

Similar Papers

Cite this paper

@article{ma2019combinatorial,
  title  = {Combinatorial Optimization by Graph Pointer Networks and Hierarchical Reinforcement Learning},
  author = {Qiang Ma and Suwen Ge and Danyang He and Darshan Thaker and Iddo Drori},
  year   = {2019},
  eprint = {1911.04936},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.04936}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.04936.svg)](https://codeofpaper.com/paper/1911.04936)

Discussion