Skip to main content
QUICK REVIEW

[Paper Review] A Bi-Level Framework for Learning to Solve Combinatorial Optimization on Graphs

Runzhong Wang, Zhigang Hua|arXiv (Cornell University)|Jun 9, 2021
Constraint Satisfaction and OptimizationComputer Science64 references16 citations
TL;DR

This paper proposes a bi-level reinforcement learning framework that optimizes graph structures via a policy network (upper-level) to improve solution quality for combinatorial optimization problems, while leveraging fast heuristic solvers (lower-level) on the modified graphs. The method outperforms both traditional heuristics and single-level learning baselines on DAG scheduling, graph edit distance, and Hamiltonian cycle problems, achieving superior solution quality with comparable inference cost.

ABSTRACT

Combinatorial Optimization (CO) has been a long-standing challenging research topic featured by its NP-hard nature. Traditionally such problems are approximately solved with heuristic algorithms which are usually fast but may sacrifice the solution quality. Currently, machine learning for combinatorial optimization (MLCO) has become a trending research topic, but most existing MLCO methods treat CO as a single-level optimization by directly learning the end-to-end solutions, which are hard to scale up and mostly limited by the capacity of ML models given the high complexity of CO. In this paper, we propose a hybrid approach to combine the best of the two worlds, in which a bi-level framework is developed with an upper-level learning method to optimize the graph (e.g. add, delete or modify edges in a graph), fused with a lower-level heuristic algorithm solving on the optimized graph. Such a bi-level approach simplifies the learning on the original hard CO and can effectively mitigate the demand for model capacity. The experiments and results on several popular CO problems like Directed Acyclic Graph scheduling, Graph Edit Distance and Hamiltonian Cycle Problem show its effectiveness over manually designed heuristics and single-level learning methods.

Motivation & Objective

  • To address the scalability and model capacity limitations of end-to-end deep learning in combinatorial optimization (CO) on graphs.
  • To reduce the complexity of training deep models by reformulating CO as a bi-level optimization problem.
  • To integrate traditional heuristic solvers with reinforcement learning for improved solution quality and training stability.
  • To develop a generalizable, label-free method that avoids expensive supervision or unstable RL training on large action spaces.
  • To demonstrate effectiveness across diverse CO problems including DAG scheduling, graph edit distance, and Hamiltonian cycle problems.

Proposed method

  • The framework uses a bi-level optimization: upper-level RL agent modifies graph structure (add/delete edges), while lower-level heuristic solves the CO task on the modified graph.
  • Graph convolutional networks (GCN) encode input graphs, and the policy network uses ResNet blocks and self-attention for state representation.
  • Proximal Policy Optimization (PPO) trains the upper-level agent with sparse rewards, which are less sparse than in single-level RL due to heuristic feedback.
  • The lower-level heuristic (e.g., LKH3, nearest neighbor) is embedded as part of the environment, enabling fast and stable training.
  • The method does not require ground-truth labels, relying only on heuristic outcomes and reward shaping via PPO.
  • Model components are standard: GCN for graph encoding, ResNet for policy and value networks, and attention for long-range dependencies.

Experimental results

Research questions

  • RQ1Can a bi-level framework reduce the burden on deep learning models in combinatorial optimization by offloading part of the solution to heuristics?
  • RQ2Does learning to modify graph structure via RL lead to better solution quality than end-to-end learning or fixed heuristics?
  • RQ3Can the proposed method generalize across different graph sizes and CO problem types without retraining?
  • RQ4How does the bi-level design mitigate the sparse reward problem common in RL-based CO methods?
  • RQ5What is the trade-off between solution quality and inference efficiency compared to single-level learning and traditional heuristics?

Key findings

  • On the FHCP benchmark, PPO-BiHyb found 25% of Hamiltonian cycles, outperforming LKH3-fast (0%) and PPO-Single (0%), despite using a faster lower-level heuristic.
  • PPO-BiHyb achieved a TSP objective of 6.7 ± 14.0 on FHCP-500/600, significantly better than PPO-Single (9.5 ± 45.6) and LKH3-accu (6.3 ± 13.0).
  • The method generalized well from training graphs of size 250–500 to test instances of size 500–600, showing strong zero-shot generalization.
  • Even with a 10× longer inference time, PPO-Single (beam width 12) underperformed PPO-BiHyb, indicating the bi-level design improves sample efficiency.
  • The Random-BiHyb baseline (random graph edits) already improved over LKH3-fast, showing that graph modification alone enhances heuristic performance.
  • The method achieved state-of-the-art results on DAG scheduling and graph edit distance, surpassing both handcrafted heuristics and single-level learning baselines.

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.