Skip to main content
QUICK REVIEW

[Paper Review] Coloring Big Graphs with AlphaGoZero

Jiayi Huang, Md. Mostofa Ali Patwary|arXiv (Cornell University)|Feb 26, 2019
Graph Theory and AlgorithmsComputer Science27 references40 citations
TL;DR

The paper adapts AlphaGoZero with graph embeddings to learn fast, scalable heuristics for graph coloring, introducing FastColorNet to handle graphs with up to tens of millions of nodes and achieving state-of-the-art improvements.

ABSTRACT

We show that recent innovations in deep reinforcement learning can effectively color very large graphs -- a well-known NP-hard problem with clear commercial applications. Because the Monte Carlo Tree Search with Upper Confidence Bound algorithm used in AlphaGoZero can improve the performance of a given heuristic, our approach allows deep neural networks trained using high performance computing (HPC) technologies to transform computation into improved heuristics with zero prior knowledge. Key to our approach is the introduction of a novel deep neural network architecture (FastColorNet) that has access to the full graph context and requires $O(V)$ time and space to color a graph with $V$ vertices, which enables scaling to very large graphs that arise in real applications like parallel computing, compilers, numerical solvers, and design automation, among others. As a result, we are able to learn new state of the art heuristics for graph coloring.

Motivation & Objective

  • Develop a deep reinforcement learning framework to learn graph coloring heuristics without prior knowledge.
  • Adapt AlphaGoZero with graph embeddings to handle large, diverse graphs.
  • Create a scalable neural network (FastColorNet) with full graph context for efficient coloring.
  • Demonstrate improvements over state-of-the-art heuristics across multiple graph families.

Proposed method

  • Formulate graph coloring as a Markov Decision Process and apply AlphaGoZero-style self-play with MCTS+UCB.
  • Use a zero-sum-like reward based on the number of colors in solutions obtained via self-play.
  • Introduce FastColorNet, a scalable neural network that uses graph embeddings and a dynamic, size-flexible output for color actions.
  • Implement graph embeddings via a learned transfer function over loopy belief-propagation inspired message passing with truncated backpropagation.
  • Train with a high-performance HPC system using data-parallel training and MCTS that reuses search trees across moves.
  • Incorporate limited-run-ahead and move-sampling to scale self-play to graphs with millions of nodes.

Experimental results

Research questions

  • RQ1Can AlphaGoZero-style self-play and MCTS learn improved graph coloring heuristics without domain-specific priors?
  • RQ2How can graph embeddings and a scalable network architecture enable coloring of very large graphs efficiently?
  • RQ3What is the impact of self-play reward design on learning effective graph-coloring heuristics?
  • RQ4How well do learned heuristics generalize across graph families and sizes?

Key findings

  • FastColorNet improves state-of-the-art coloring heuristics by up to about 10%.
  • The framework can color graphs with tens of millions of nodes by achieving linear-time per-vertex processing in practice.
  • Learning policies via MCTS+UCB with self-play yields faster convergence to strong heuristics on various graph models (ER, WS) and real-world SuiteSparse graphs.
  • Generalization: FCN-test shows improvements over heuristics on new graphs from the same domain, and FCN-gen demonstrates gains on random graphs with room for further improvement.
  • Training on diverse graph sets leads to consistent performance gains across datasets.
  • The approach scales with HPC infrastructure and demonstrates practical potential for production tools.

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.