Abstract
Combinatorial optimization (CO) is fundamental to various industries, yet traditional Dynamic Programming (DP) methods often succumb to the "curse of dimensionality." This paper introduces Neural network approximated Dynamic Programming (NDP), a framework that replaces recursive Bellman calculations with a sequence of Deep Neural Networks (DNNs). By employing a two-phase training strategy—sequential pre-training and global fine-tuning—NDP achieves near-optimal performance with massive computational speedups. We demonstrate NDP's efficacy on the Traveling Salesman Problem (TSP), Linear Sum Assignment Problem (LSAP), and Talent Scheduling, showing it can solve NP-hard problems in milliseconds.
Introduction
Dynamic Programming is a cornerstone of CO, breaking complex problems into manageable subproblems. However, as problem size increases, the state space grows exponentially, rendering exact DP solvers impractical for large-scale or real-time applications. While deep learning has been applied to CO, many existing models are either overly specialized or require computationally expensive "active search" during inference. NDP addresses these challenges by approximating the DP decision-making process once, allowing for near-instantaneous inference on new problem instances.
Methodology
The NDP framework substitutes the traditional recursive steps of DP with a chain of DNNs. The authors explore two primary variants:
- Value-based NDP: DNNs estimate the expected total reward (value) for specific actions.
- Policy-based NDP: DNNs directly predict the optimal action as a classification task.
Two-Phase Training Strategy
The core innovation lies in the training process, which stabilizes the learning of multi-step decision chains:
- Phase 1: Pre-training: Networks are trained sequentially, starting from the smallest subproblem sizes. This curriculum-style approach allows the model to master base cases before tackling higher-order complexities.
- Phase 2: Fine-tuning: Once the chain is established, all networks are fine-tuned together. This step is critical for correcting "distribution shifts" that occur when networks operate in sequence during actual execution.
Experimental Results
NDP was evaluated across three distinct domains: LSAP, TSP, and Talent Scheduling.
Performance and Efficiency
A key finding is the significant reduction in computation time. For the NP-hard Talent Scheduling problem, NDP-Policy achieved solutions in 0.15 seconds for a 30-scene instance, compared to 1030.8 seconds for the exact EBB solver.
In the Traveling Salesman Problem (TSP) with 20 cities, NDP maintained a performance gap of only 2.54% while being approximately 90 times faster than Gurobi. For LSAP, NDP-Policy outperformed simple greedy heuristics, coming within 1.77% of the optimal Hungarian method on 50-job problems.
Discussion and Key Insights
- Policy vs. Value: Policy-based NDP generally outperformed the value-based variant, as identifying the best action is often simpler for a network than predicting precise numerical rewards.
- Reducibility: By leveraging the inherent subproblem structure of DP, NDP remains robust across different problem types without requiring problem-specific architectures like Graph Neural Networks.
- The Importance of Fine-tuning: Isolated pre-training is insufficient; global fine-tuning ensures that the networks learn to cooperate within the decision chain.
Conclusion
NDP offers a compelling alternative to traditional CO solvers, providing a favorable trade-off between optimality and speed. While training overhead remains a consideration, the near-instant inference capabilities make it ideal for time-critical tasks. Future research will explore more advanced architectures and parameter-sharing techniques to further enhance scalability and performance.
Summary updated