NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Combinatorial Optimization with Graph Convolutional Networks and Guided Tree Search

Zhuwen Li, Qifeng Chen, Vladlen Koltun

Presented at NeurIPS 2018, this paper introduces a hybrid framework that combines the pattern-recognition strengths of Graph Convolutional Networks (GCNs) with the rigorous exploration of classical tree search to tackle NP-hard combinatorial optimization problems. By predicting optimal solution components and generating diverse candidates, the approach outperforms previous deep learning methods and matches state-of-the-art heuristic solvers on massive real-world graphs.

The Challenge: Multimodality and Scalability

Many critical problems in computer science—such as scheduling, circuit design, and social network analysis—are NP-hard. This means we cannot find exact solutions for large instances in a reasonable timeframe. Traditionally, researchers have relied on hand-crafted heuristics or approximation algorithms to find "good enough" solutions.

Recent attempts to use Deep Learning (DL) for these optimization problems have faced two major hurdles:

  1. Multimodality: A single graph often has many equally "optimal" solutions. A standard neural network trained to find "the" solution often produces a blurry, average result that is actually invalid.
  2. Scalability and Generalization: Models trained on small, synthetic graphs often fail dramatically when applied to large, real-world networks.
Illustration of multimodality in graph problems, showing two equally valid optimal solutions.

Methodology: A Hybrid Framework

The authors propose a learning-based approach primarily applied to the Maximal Independent Set (MIS) problem (and other problems that can be reduced to it). Their framework consists of four main components working in tandem:

The complete proposed pipeline combining Graph Reduction, GCNs, Guided Tree Search, and Local Search.
  1. Graph Convolutional Network (GCN): The model takes a graph as input and outputs a probability map indicating how likely each vertex is to be part of the optimal solution.
  2. Diversity via Hindsight Loss: To solve the multimodality problem, the GCN is designed to output $M$ different probability maps simultaneously. They use a novel "hindsight loss" function, which only penalizes the best of the $M$ predictions for a given training sample. This encourages the network to "spread its bets" and learn different valid solution strategies rather than averaging them out.
  3. Guided Tree Search: Instead of a simple greedy selection, the $M$ probability maps guide a parallelized, breadth-first tree search. This allows the algorithm to quickly explore multiple promising regions of the solution space.
  4. Classic Heuristic Boosts: The framework incorporates two "old school" techniques to maximize efficiency: Graph Reduction (removing easy-to-solve nodes before running the GCN) and Local Search (iteratively tweaking the final solution to ensure it reaches a local optimum).

Datasets and Generalization

The model was trained on the SATLIB benchmark, consisting of 40,000 synthetic 3-SAT instances. Crucially, to test its ability to generalize, it was evaluated on entirely different types of data:

  • SAT Competition 2017: Harder versions of the training task.
  • BUAA-MC: A dataset of "hidden" Maximum Clique instances specifically designed to be difficult for standard solvers.
  • SNAP Social Networks: Large-scale real-world graphs (Facebook, Twitter, etc.) with up to 100,000 nodes.
  • Citation Networks: Academic paper graphs (Citeseer, Cora, Pubmed).

Key Insights and Results

The paper reveals several fascinating insights about applying deep learning to combinatorial optimization:

  • Supervised Learning > Reinforcement Learning (RL): While many recent papers use RL for optimization, this work demonstrates that supervised learning—when combined with a diversity-promoting loss—can be more stable and highly effective.
  • The Power of Diversity: The "hindsight loss" is the secret sauce. By allowing the network to produce multiple distinct hypotheses, the system avoids the "blurry average" problem and provides the tree search with high-quality, varied starting points.
  • Universal Motifs: Perhaps the most surprising finding is that a model trained on small, synthetic logic problems (SAT) generalizes to massive social networks. This suggests the GCN is learning "universal motifs"—local graph structures that signal a node's importance regardless of the overall graph's size or origin.

Performance Highlights

  • Superiority over DL Baselines: On the SATLIB test set, the proposed method solved 100% of instances, whereas the previous state-of-the-art DL method (S2V-DQN) solved 0%.
  • Competitive with SOTA Heuristics: On the challenging BUAA-MC dataset, the approach solved 62.5% of problems, significantly outperforming the specialized ReduMIS solver (25%) and the commercial Gurobi optimizer (0%).
  • Massive Scaling: The system successfully processed graphs with 100,000 nodes and 10 million edges, maintaining strong performance even though it was trained on graphs with only ~1,200 nodes.

Limitations and Future Work

While highly effective, the approach has limitations. The authors solve Maximum Clique and Vertex Cover by reducing them to the MIS problem. While mathematically sound, for very dense graphs (like those in the SNAP collection), this reduction can become memory-intensive or slow.

Furthermore, while the model generalizes remarkably well across graph sizes and origins, it isn't a "universal" solver. A model trained for MIS might not be the best choice for a fundamentally different problem like the Traveling Salesman Problem (TSP) without retraining. Future directions suggested by the authors include exploring how to apply this "diverse prediction + search" architecture directly to other NP-hard problems without relying on intermediate reductions.

Summary updated

BibTeX
@inproceedings{li2018combinatorial,
  author = {Zhuwen Li and Qifeng Chen and Vladlen Koltun},
  title = {{Combinatorial Optimization with Graph Convolutional Networks and Guided Tree Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure