TL;DR
This paper systematically evaluates Neural Combinatorial Optimization (NCO) approaches against traditional solvers for the Traveling Salesman Problem (TSP). The findings suggest that while NCO offers potential efficiency gains on small problems, traditional solvers still significantly outperform NCO in solution quality, stability, and scalability, especially for complex or large-scale instances.
What Problem Does This Paper Address?
Combinatorial Optimization (CO) problems, like the Traveling Salesman Problem (TSP), involve finding the best solution from a vast number of possibilities. Traditionally, these problems are tackled by human experts who design sophisticated algorithms. Recently, Deep Reinforcement Learning (DRL) has emerged as a new paradigm, Neural Combinatorial Optimization (NCO), aiming to automatically learn these solvers. However, the practical advantages and disadvantages of NCO compared to established methods have not been thoroughly investigated. This paper aims to bridge this gap by providing a comprehensive and systematic comparison, highlighting the real-world applicability and limitations of NCO.
Methods
The authors designed a comparative study to evaluate NCO solvers against traditional solvers across five key aspects: effectiveness (solution quality), efficiency (time and energy consumption), stability, scalability, and generalization ability. They used the Traveling Salesman Problem (TSP) as a testbed, considering various problem types (randomly generated "rue" instances and clustered "clu" instances) and sizes (from 50 to 10,000 nodes).
The study simulated two practical scenarios:
- Scenario 1 (In-distribution): Training and testing instances share similar characteristics.
- Scenario 2 (Out-of-distribution): Testing instances differ significantly from training instances in terms of problem type, size, or both.
They compared three leading NCO approaches (POMO for LCH, DACT for LIH, and NeuroLKH for LHS) with three state-of-the-art traditional solvers (LKH, EAX, and MAOS). Crucially, they also evaluated tuned versions of traditional solvers (using SMAC for parameter optimization) to ensure a fair comparison, as previous NCO studies often neglected this aspect. Energy consumption was measured using the PowerJoular tool.
Datasets
The study utilized two main sources for TSP instances:
- Generated Instances:
- "rue" instances: Generated by uniformly and randomly placing points on a 2D plane.
- "clu" instances: Generated by placing points around different central points, creating clustered structures.
- Existing Benchmark Sets:
- TSPlib: A collection of instances from industrial applications and geographic problems.
- VLSI: Instances from very-large-scale integration design data.
- National: Instances extracted from maps of different countries.
For generated instances, optimal solutions were obtained using the Concorde solver. For benchmark instances, optimal or best-known solutions were used. The experiments were structured into five groups (Exp 1-5) to test different combinations of problem sizes, types, and training/testing scenarios.
Key Insights and Ideas
- NCO's Achilles' Heel: Generalization and Scalability: A major takeaway is that NCO solvers struggle significantly when faced with problem instances that differ from their training data, whether in terms of size or structure (e.g., clustered instances). Traditional solvers, especially when tuned, show much better robustness.
- The Power of Expert Knowledge: The study reinforces that integrating domain expertise (as in hybrid solvers like NeuroLKH) leads to better performance than purely learned heuristics. The more expert knowledge embedded, the better the NCO solver.
- Efficiency is NCO's Niche (with caveats): NCO solvers can be significantly more time and energy-efficient than traditional solvers, but this benefit is primarily observed on small-sized, randomly generated problem instances where sufficient training data is available.
- Tuning Matters: Parameter tuning of traditional solvers can dramatically improve their performance and stability, often bridging the gap with or even surpassing some NCO approaches, especially on complex instances.
- Fair Comparison is Crucial: The paper highlights the importance of comparing NCO and traditional solvers under similar conditions, including parallel execution and considering tuned versions of traditional solvers, which has often been overlooked in prior NCO research.
Key Results
- Effectiveness: Traditional solvers (EAX, MAOS, and tuned LKH) consistently outperformed NCO solvers (POMO, DACT, NeuroLKH) in solution quality across all tested problem sizes and types. For instance, EAX and MAOS could often find optimal solutions, while NCO solvers typically had non-negligible optimum gaps.
- Efficiency: On small, randomly generated instances (Exp 1), NCO solvers like POMO consumed up to 10 times less energy and time than traditional solvers to achieve comparable solution quality. However, this efficiency advantage diminished for larger or more complex instances.
- Stability: Traditional solvers like EAX and MAOS demonstrated superior stability, exhibiting smaller standard deviations in their results over multiple runs compared to NCO solvers.
- Scalability: NCO approaches, particularly LCH and LIH, showed poor scalability, with performance degrading significantly on larger problem instances (Exp 2).
- Generalization: In out-of-distribution scenarios (Exp 3 & 4), NCO solvers experienced severe performance degradation, while tuned traditional solvers showed more resilience. For real-world benchmark instances (Exp 5), EAX was the top performer, with NeuroLKH showing promise as a generalizable NCO approach.
Limitations and Future Work
- NCO's Training Data Dependency: A critical limitation of NCO is its heavy reliance on training data that accurately represents the target problem instances. When this assumption is violated (common in real-world scenarios), NCO performance suffers dramatically.
- Handling Structural Data: Current NCO architectures struggle with structural problem instances (like clustered TSPs), suggesting a need for novel architectures or training algorithms better suited for such data.
- Large-Scale and Multi-Type Problems: Enhancing NCO to effectively handle large problem instances and multiple problem types simultaneously remains a significant challenge.
- Hybridization of Tuning and NCO: The authors suggest exploring the hybridization of parameter tuning for traditional solvers with NCO approaches to achieve more comprehensive control and potentially better performance.
- Generality vs. Specificity: While NCO shows promise as a general-purpose solver, the paper notes that specialized traditional solvers (like LKH and EAX for TSP) often outperform them. Future work could explore NCO's potential in domains lacking such specialized solvers.
Summary updated