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

Distributed constrained combinatorial optimization leveraging hypergraph neural networks

Nasimeh Heydaribeni, Xinrui Zhan, Ruisi Zhang, Tina Eliassi-Rad, Farinaz Koushanfar

Abstract

Combinatorial Optimization (CO) is fundamental to numerous domains, yet many CO problems are NP-hard and struggle to scale with traditional solvers. We present HypOp, a novel framework that leverages Hypergraph Neural Networks (HyperGNNs) to address high-dimensional CO problems. By modeling complex multi-variable constraints as hyperedges and employing a distributed training architecture, HypOp achieves near-optimal solutions with linear runtime scaling. Our results demonstrate significant performance gains over traditional solvers and standard GNN-based approaches on massive real-world datasets.

Introduction

Finding optimal solutions within finite sets—Combinatorial Optimization—is critical for applications ranging from logistics to drug discovery. However, classic problems like MaxCut or 3SAT are computationally expensive as problem size increases. While Graph Neural Networks (GNNs) have emerged as a promising tool for CO, they are often limited by their ability to represent only pairwise relationships. Real-world constraints frequently involve multiple variables simultaneously, a structure naturally captured by hypergraphs but poorly approximated by standard graphs. Furthermore, existing GNN solvers often hit memory bottlenecks on single-GPU systems when processing large-scale graphs.

Methodology

HypOp introduces a comprehensive pipeline for solving constrained CO problems by integrating hypergraph theory with deep learning and distributed systems.

Hypergraph Modeling

Unlike standard GNNs that use simple edges, HypOp utilizes hypergraphs where a single "hyperedge" can connect an arbitrary number of nodes. This allows the model to directly represent higher-order constraints without loss of information or artificial complexity.

Unsupervised Learning and Mapping

HypOp treats the HyperGNN as a learnable transformation function. The framework relaxes discrete variables into continuous values, allowing the network to be trained using the optimization objective itself as an unsupervised loss function. To recover discrete solutions, HypOp employs Simulated Annealing (SA) to map the continuous outputs back to high-quality discrete values.

Scalable Distributed Architecture

To overcome the memory limitations of single-GPU training, HypOp supports a distributed training mode. The hypergraph is partitioned across multiple servers, each maintaining a local view of the problem.

This architecture allows the system to scale to "web-scale" problems that exceed the capacity of any single machine. Additionally, a parallel multi-GPU mode shuffles constraints across devices to accelerate training on smaller but still complex datasets.

Experimental Evaluation

The framework was evaluated on a diverse set of benchmarks, including synthetic hypergraphs, real-world authorship data (APS), scientific discovery datasets (NDC drug-substance hypergraph), and standard benchmarks like OGB-Arxiv and SATLIB.

Key Results

  • Linear Scaling: While traditional solvers like Simulated Annealing often exhibit quadratic runtime growth, HypOp scales linearly with the number of nodes, making it viable for massive datasets.
  • Performance Gains: HypOp achieved up to an 8x speedup over bipartite GNN baselines. On the NDC dataset, it found superior "cut sizes" (28,849 vs 28,472) in less than half the time required by standalone SA.
  • Scalability: HypOp successfully solved the OGB-Arxiv graph (169k nodes, 1.1M edges), which caused out-of-memory errors for standard single-GPU GNN solvers.
  • Transfer Learning: The authors demonstrated that models pre-trained on one CO problem could be effectively transferred to others on the same graph, significantly reducing training time.

Discussion and Insights

A key finding is the "density limit" for GNN effectiveness. When graphs become too dense ($p > \ln(N)/N$), node embeddings tend to "oversmooth," losing discriminative power. HypOp mitigates this through graph sparsification.

While HypOp is a powerful general-purpose solver, specialized heuristics may still outperform it on specific, well-studied problems like 3SAT. However, HypOp’s strength lies in its generality and scalability for complex, multi-variable problems where custom heuristics do not exist. Future work will focus on refining distributed communication and further exploring hypergraph oversmoothing.

Summary updated

BibTeX
@article{heydaribeni2024distributed,
  author = {Nasimeh Heydaribeni and Xinrui Zhan and Ruisi Zhang and Tina Eliassi-Rad and Farinaz Koushanfar},
  title = {{Distributed constrained combinatorial optimization leveraging hypergraph neural networks}},
  journal = {Nat. Mac. Intell.},
  year = {2024},
  doi = {10.1038/s42256-024-00833-7},
}
Figure