COMBHelper: A Neural Approach to Reduce Search Space for Graph Combinatorial Problems

Hao Tian, Sourav Medya, Wei Ye

Abstract

Combinatorial Optimization (CO) problems over graphs appear routinely in many applications such as in optimizing traffic, viral marketing in social networks, and matching for job allocation. Due to their combinatorial nature, these problems are often NP-hard. Existing approximation algorithms and heuristics rely on the search space to find the solutions and become time-consuming when this space is large. In this paper, we design a neural method called COMBHelper to reduce this space and thus improve the efficiency of the traditional CO algorithms based on node selection. Specifically, it employs a Graph Neural Network (GNN) to identify promising nodes for the solution set. This pruned search space is then fed to the traditional CO algorithms. COMBHelper also uses a Knowledge Distillation (KD) module and a problem-specific boosting module to bring further efficiency and efficacy. Our extensive experiments show that the traditional CO algorithms with COMBHelper are at least 2 times faster than their original versions.

Introduction

Many real-world problems, from traffic optimization to social network marketing, are modeled as Graph Combinatorial Optimization (CO) problems. Because these problems (like finding the Minimum Vertex Cover or Maximum Independent Set) are NP-hard, practitioners typically rely on approximation algorithms and heuristics. However, as graphs scale to millions of nodes, even efficient heuristics become computationally prohibitive due to the sheer size of the search space. While direct machine learning approaches exist, they often function as "black boxes" that struggle with efficiency on massive graphs. COMBHelper addresses this gap by using AI to intelligently prune the input search space, allowing traditional solvers to operate on a high-quality subset of nodes.

Methods

The COMBHelper framework operates in three distinct phases to bridge the gap between neural networks and traditional CO solvers.

The three-phase COMBHelper framework: GCN Training, Distillation and Boosting, and Solution Generation.
  1. Phase 1: Teacher Training: A "Teacher" GCN ($GCN_t$) is trained on small graphs. Ground-truth labels for these graphs are generated using traditional solvers (e.g., Linear Programming), which is feasible at smaller scales.
  2. Phase 2: Distillation and Boosting: To ensure scalability, Knowledge Distillation (KD) transfers the teacher's expertise into a smaller, faster "Student" GCN ($GCN_s$). Simultaneously, a Problem-Specific Boosting Module adjusts node weights during training based on structural properties. For example, it prioritizes high-degree nodes for Minimum Vertex Cover (MVC) and low-degree nodes for Maximum Independent Set (MIS).
  3. Phase 3: Solution Generation: The Student GCN predicts "promising" nodes likely to be in the optimal solution. The search space is pruned to this subset, and traditional CO algorithms (Linear Programming, Greedy, or Local Search) are executed on this reduced graph.

Experimental Evaluation

The framework was evaluated on synthetic Barabási-Albert (BA) graphs (5,000 to 100,000 nodes) and eight real-world datasets, including social networks (Gowalla, Slashdot), citation networks (Pubmed, DBLP), and trust networks (Alpha, OTC), ranging from 4,000 to 200,000 nodes.

Key Results

  • Significant Speedup: COMBHelper consistently delivered solutions at least 2x faster than baseline algorithms. In extreme cases, such as Local Search for MIS, speedups reached 80x to 100x.
  • Maintained Solution Quality: Pruning acts as a precision tool, filtering "noise" for the solver. On the Pubmed dataset, COMBHelper found the optimal MVC solution where the standard solver was less efficient. Across most tests, solution quality remained within 99% of original baselines.
  • Scalability: Standard Linear Programming (LP) solvers often timeout (1-hour limit) on graphs with 50,000+ nodes. COMBHelper enabled these same solvers to find solutions in seconds.

Discussion and Conclusion

COMBHelper demonstrates that neural networks can effectively serve as pre-processors for traditional combinatorial solvers. By integrating structural priors through a boosting module and optimizing inference via knowledge distillation, the framework achieves significant speedups without sacrificing solution quality.

Future work may address current limitations, such as the slight coverage drop in MVC (though typically >99.8%) and the heavy reliance on node degree features. Extending the framework to edge-selection problems and developing more robust "confidence scores" for node selection remain promising avenues for research.

Summary updated

Abstract

Combinatorial Optimization (CO) problems over graphs appear routinely in many applications such as in optimizing traffic, viral marketing in social networks, and matching for job allocation. Due to their combinatorial nature, these problems are often NP-hard. Existing approximation algorithms and heuristics rely on the search space to find the solutions and become time-consuming when this space is large. In this paper, we design a neural method called COMBHelper to reduce this space and thus improve the efficiency of the traditional CO algorithms based on node selection. Specifically, it employs a Graph Neural Network (GNN) to identify promising nodes for the solution set. This pruned search space is then fed to the traditional CO algorithms. COMBHelper also uses a Knowledge Distillation (KD) module and a problem-specific boosting module to bring further efficiency and efficacy. Our extensive experiments show that the traditional CO algorithms with COMBHelper are at least 2 times faster than their original versions.
BibTeX
@inproceedings{tian2024combhelper,
  author = {Hao Tian and Sourav Medya and Wei Ye},
  title = {{COMBHelper: A Neural Approach to Reduce Search Space for Graph Combinatorial Problems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i18.30070},
}
Figure