Deep Symbolic Optimization for Combinatorial Optimization: Accelerating Node Selection by Discovering Potential Heuristics

Hongyu Liu, Haoyang Liu, Yufei Kuang, Jie Wang, Bin Li

Introduction

Combinatorial Optimization (CO) problems, such as logistics routing, chip design, and resource allocation, are fundamental to modern industry but remain computationally daunting due to their NP-hard nature. Modern solvers typically employ the Branch-and-Bound (B&B) algorithm, which systematically explores a search tree of potential solutions. A pivotal decision point in this process is node selection: determining which unexplored branch of the tree should be prioritized to find the optimal solution faster.

Historically, solvers have relied on hand-crafted heuristics—mathematical formulas designed by experts through years of manual tuning. While fast and reliable, these heuristics lack the flexibility to adapt to specific problem distributions. Recently, Deep Learning (DL) models, particularly Graph Neural Networks (GNNs), have emerged as powerful alternatives. However, DL models often act as "black boxes" and require significant GPU resources for inference. In many cases, the computational overhead of running a complex neural network at every node selection step can negate the gains made in search efficiency, especially on standard CPU-based hardware used in production environments.

This paper introduces Dso4NS (Deep Symbolic Optimization for Node Selection), a framework designed to bridge this gap. Dso4NS automatically discovers simple, human-readable mathematical formulas that achieve the performance of complex neural networks while maintaining the lightning-fast inference speed of traditional heuristics.

Methodology

Dso4NS treats the discovery of node selection heuristics as a search problem within the space of mathematical expressions. The framework utilizes a symbolic optimization approach to evolve formulas that mimic the behavior of an optimal "expert" policy.

The Dso4NS framework pipeline, illustrating the symbolic expression generation, RL training, and deployment phases.

The architecture consists of several key components:

  • Symbolic Expression Generator: A Recurrent Neural Network (RNN) serves as an agent that samples tokens—including operators ($+$, $\times$, $\log$), constants, and input features—from a predefined library to construct a symbolic expression tree.
  • Reinforcement Learning (RL) with Risk-Seeking Objective: The RNN is trained using Proximal Policy Optimization (PPO). Crucially, the authors employ a "risk-seeking" objective. Rather than optimizing for average performance across a batch, the model focuses on identifying the single best-performing formula, which is significantly more effective for symbolic regression tasks.
  • Fitness Evaluation via Behavioral Cloning: To evaluate the quality of a generated formula, the framework measures how accurately it replicates the decisions of an "expert" oracle (an optimal plunger policy).
  • Deployment: Once an optimal formula is discovered, the neural network is discarded. The solver then utilizes the raw mathematical expression, allowing for near-instantaneous execution on standard CPU hardware without the need for specialized accelerators.

Experimental Setup

The framework was rigorously evaluated on three representative NP-hard benchmarks:

  1. FCMCNF (Fixed Charge Multicommodity Network Flow): A complex problem in logistics and network design.
  2. Facilities (Capacitated Facility Location): A standard resource allocation challenge.
  3. Setcover (Set Covering): A foundational problem in logic and scheduling.

For each benchmark, the model was trained on "Easy" instances. Performance was then tested on "Medium" and "Hard" instances to evaluate the generalization capabilities of the discovered heuristics on larger, unseen problems.

Results and Analysis

The experimental results demonstrate that Dso4NS is highly competitive with, and often superior to, existing state-of-the-art methods.

Performance comparison of Dso4NS against expert, traditional, and deep learning-based models across three benchmarks.

Key findings include:

  • Solving Efficiency: Dso4NS consistently achieved the lowest or second-lowest number of explored nodes and total solving time across all benchmarks. Notably, it frequently outperformed GPU-intensive GNN models in total time due to reduced overhead.
  • Inference Speed: The decision-making time for Dso4NS formulas is approximately 20-30 times faster than GNN-based approaches (0.07-0.14 ms compared to 2.5-3.3 ms). This efficiency is critical for maintaining high solver throughput.
  • Robust Generalization: Heuristics discovered on small, "Easy" training instances remained highly effective when applied to "Hard" instances, indicating that the framework captures fundamental mathematical patterns inherent to the problem types.

Discussion and Conclusion

Dso4NS represents a significant step toward "the best of both worlds" in combinatorial optimization: the data-driven adaptability of machine learning combined with the speed and interpretability of symbolic heuristics. By producing simple formulas, the framework allows researchers to inspect and understand the logic behind the selection policy, potentially leading to new theoretical insights into CO problems.

Furthermore, by avoiding the "inference bottleneck" associated with deep neural networks, Dso4NS is uniquely suited for deployment in industrial settings where CPU-based solvers are the standard. Future work will explore automating feature engineering and extending symbolic optimization to other B&B components, such as variable branching and primal heuristics.

Summary updated

BibTeX
@inproceedings{liu2024deep,
  author = {Hongyu Liu and Haoyang Liu and Yufei Kuang and Jie Wang and Bin Li},
  title = {{Deep Symbolic Optimization for Combinatorial Optimization: Accelerating Node Selection by Discovering Potential Heuristics}},
  booktitle = {GECCO Companion},
  year = {2024},
}
Figure