Skip to main content
QUICK REVIEW

[Paper Review] Solving NP-Hard Problems on Graphs with Extended AlphaGo Zero

Kenshin Abe, Zijian Xu|arXiv (Cornell University)|May 28, 2019
Reinforcement Learning in RoboticsComputer Science32 references20 citations
TL;DR

This paper proposes CombOpt Zero, a reinforcement learning framework inspired by AlphaGo Zero to solve NP-hard graph problems more effectively than prior methods. By replacing Q-learning with Monte Carlo Tree Search (MCTS) and normalizing rewards via random sampling, it achieves superior generalization across diverse graph types and improved sample efficiency, outperforming S2V-DQN on problems like MaxCut and Minimum Vertex Cover.

ABSTRACT

There have been increasing challenges to solve combinatorial optimization problems by machine learning. Khalil et al. proposed an end-to-end reinforcement learning framework, S2V-DQN, which automatically learns graph embeddings to construct solutions to a wide range of problems. To improve the generalization ability of their Q-learning method, we propose a novel learning strategy based on AlphaGo Zero which is a Go engine that achieved a superhuman level without the domain knowledge of the game. Our framework is redesigned for combinatorial problems, where the final reward might take any real number instead of a binary response, win/lose. In experiments conducted for five kinds of NP-hard problems including {\sc MinimumVertexCover} and {\sc MaxCut}, our method is shown to generalize better to various graphs than S2V-DQN. Furthermore, our method can be combined with recently-developed graph neural network (GNN) models such as the \emph{Graph Isomorphism Network}, resulting in even better performance. This experiment also gives an interesting insight into a suitable choice of GNN models for each task.

Motivation & Objective

  • Address the poor generalization of S2V-DQN on graphs with different structures (e.g., real-world vs. synthetic) due to limited exploration in Q-learning.
  • Extend AlphaGo Zero’s MCTS-based training to combinatorial optimization problems with continuous or real-valued rewards, not just binary win/lose outcomes.
  • Improve sample efficiency and solution quality in NP-hard graph problems by leveraging self-play and tree search during training and inference.
  • Investigate the compatibility of CombOpt Zero with modern Graph Neural Network (GNN) architectures, such as Graph Isomorphism Networks.
  • Demonstrate that the method can learn effective heuristics, such as depth-first-like coloring for MaxCut on trees, from training on random graphs.

Proposed method

  • Replace S2V-DQN’s Q-learning with a novel training strategy based on AlphaGo Zero, using Monte Carlo Tree Search (MCTS) to generate self-play trajectories.
  • Normalize real-valued rewards using random sampling to adapt AlphaGo Zero’s binary win/lose framework to continuous reward settings common in combinatorial optimization.
  • Define states as current labeled graphs that evolve by selecting actions (e.g., node coloring or selection), with state transitions guided by problem constraints.
  • Use a GNN (e.g., S2V or Graph Isomorphism Network) to embed the current graph state and predict action probabilities and value estimates.
  • Train the policy and value networks via self-play and MCTS rollouts, updating the network using policy and value losses based on final rewards.
  • Enable inference with MCTS at test time to improve solution quality and guarantee better performance on certain problems.

Experimental results

Research questions

  • RQ1Can MCTS-based training in a deep reinforcement learning framework generalize better to unseen graph types than Q-learning-based methods like S2V-DQN?
  • RQ2How does the normalization of real-valued rewards affect the performance and stability of AlphaGo Zero-style training in combinatorial optimization?
  • RQ3To what extent does combining CombOpt Zero with advanced GNNs (e.g., Graph Isomorphism Network) improve solution quality and generalization?
  • RQ4Does the framework learn problem-specific heuristics (e.g., depth-first coloring for MaxCut on trees) implicitly through self-play on random graphs?
  • RQ5How does the sample efficiency of CombOpt Zero compare to S2V-DQN when training on the same hardware and time budget?

Key findings

  • CombOpt Zero generalizes significantly better than S2V-DQN across diverse graph types, including Erdős–Rényi, Barabási–Albert, and real-world graphs, due to enhanced exploration via MCTS.
  • Despite generating only 5,000 trajectories in 2 hours on four GPUs, CombOpt Zero achieved convergence with ~2,000 data samples, showing much higher sample efficiency than S2V-DQN, which required ~50,000 samples.
  • The method achieved performance comparable to state-of-the-art heuristic solvers on MaxCut, particularly excelling on trees by learning optimal two-coloring strategies similar to depth-first search.
  • CombOpt Zero’s MCTS inference significantly improves solution quality on certain problems, guaranteeing better results than greedy inference.
  • Combining CombOpt Zero with Graph Isomorphism Networks led to a notable performance boost, highlighting the importance of GNN architecture choice for specific tasks.
  • Visualization showed that CombOpt Zero learns to color neighbors with alternating colors and can skip neighbors by leveraging long-range message passing (5-hop receptive field), indicating adaptive and flexible strategy learning.

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.