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

Learning to Solve Combinatorial Graph Partitioning Problems via Efficient Exploration

Thomas D. Barrett, Christopher W. F. Parsonson, Alexandre LaterrearXiv 2022 · DOI

Introduction

Combinatorial optimization (CO) problems on graphs, such as Max-Cut, are fundamental to fields ranging from logistics to bioinformatics. While these problems are typically NP-hard, recent advances in Reinforcement Learning (RL) have enabled the training of Graph Neural Networks (GNNs) to learn effective heuristics. However, a significant "GNN bottleneck" persists: state-of-the-art methods often re-run a GNN at every decision step to update node representations. This leads to poor scalability, as GNN computation time grows significantly with graph size and edge density, making them impractical for large-scale real-world applications.

The ECORD Framework

To address this bottleneck, we introduce ECORD (Exploratory Combinatorial Optimisation with Recurrent Decoding). ECORD decouples structural understanding from search trajectory management, allowing for high-quality reasoning at a fraction of the computational cost.

The framework operates in two distinct phases:

  1. Static Structural Encoding ($t=0$): A Gated Graph Convolutional Network (GCN) is executed once at the beginning of an episode. It produces fixed vertex embeddings ($x_i$) that capture the global geometric structure of the graph.
  2. Fast Recurrent Decoding ($t>0$): Instead of re-evaluating the entire graph, ECORD uses a Gated Recurrent Unit (GRU) to maintain a state ($h^{(t)}$) representing the search history. At each step, the agent evaluates potential actions (flipping a node's partition label) using the static embeddings, local observations, and "peeks"—computationally cheap one-step look-aheads.
The ECORD architecture splits the process into a one-time GNN encoding phase and a recurrent decoding phase for efficient action selection.

Training and Exploration

ECORD is trained using Munchausen DQN (M-DQN). This variant of Deep Q-Learning incorporates a KL-divergence term into the loss function, which stabilizes learning and encourages more robust exploration in the large action spaces typical of graph problems. By leveraging "peeks"—the immediate change in the objective function—the agent learns to combine greedy-like local improvements with long-term strategic search.

Experimental Results

The model was evaluated on synthetic Erdős-Rényi and Barabási-Albert graphs, as well as the standard GSet benchmark for Max-Cut. Notably, the model was trained on small graphs (40 vertices) but demonstrated exceptional zero-shot generalization to graphs with up to 10,000 vertices.

Performance and Scalability

ECORD significantly outperforms previous RL-based methods like ECO-DQN. On 500-vertex graphs, it reduced the optimality gap by up to 73%. More importantly, ECORD achieves a massive increase in throughput. As shown in the figure below, while the action selection time for ECO-DQN grows exponentially with graph size, ECORD maintains nearly constant-time performance.

Comparison of action selection time between ECORD and ECO-DQN. ECORD maintains near-constant time as graph size increases, enabling scalability to 10,000+ nodes.

On a 10,000-node graph, the initial GNN preprocessing takes approximately 2ms, after which the recurrent decoding phase proceeds with minimal overhead. This represents a 300x speedup over traditional RL-GNN approaches on large-scale benchmarks.

Conclusion

ECORD demonstrates that expensive geometric reasoning via GNNs can be restricted to a single preprocessing step without sacrificing solution quality. By shifting the burden of search trajectory management to a fast RNN, ECORD enables RL to scale to combinatorial problems of unprecedented size. Future work will explore extending this approach to problems with global constraints, such as the Traveling Salesperson Problem, where local "peeks" are less straightforward to compute.

Summary updated

BibTeX
@misc{barrett2022learning,
  author = {Thomas D. Barrett and Christopher W. F. Parsonson and Alexandre Laterre},
  title = {{Learning to Solve Combinatorial Graph Partitioning Problems via Efficient Exploration}},
  year = {2022},
  eprint = {2205.14105},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.14105},
}
Figure