Self-Improved Learning for Scalable Neural Combinatorial Optimization

Fu Luo, Xi Lin, Zhenkun Wang, Xialiang Tong, Mingxuan Yuan, Qingfu ZhangarXiv 2024 · DOI

Introduction

Neural Combinatorial Optimization (NCO) has emerged as a promising alternative to traditional solvers for NP-hard problems like the Traveling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP). However, a significant "bottleneck" has persisted: most NCO models struggle to scale beyond 1,000 nodes. This limitation stems from quadratic computational complexity and the difficulty of training on massive graphs. This paper introduces Self-Improved Learning (SIL), a framework that successfully scales NCO to 100,000 nodes, breaking previous records in the field.

Evolution of NCO scalability across different learning paradigms.

The Bottleneck of Large-Scale NCO

Scaling NCO faces two primary hurdles:

  1. Computational Complexity: Standard Transformer architectures rely on self-attention with $O(N^2)$ complexity. For a 100,000-node graph, the memory requirements are astronomical.
  2. Training Difficulty: Supervised Learning (SL) requires high-quality "labels" (optimal solutions), which are computationally impossible to obtain for massive graphs. Reinforcement Learning (RL) struggles with "sparse rewards," as it is difficult for a model to learn when it only receives a single score after making 100,000 sequential decisions.

The SIL Framework

The core innovation is the Self-Improved Learning (SIL) loop. Unlike traditional SL or RL, SIL enables the model to act as its own teacher through an iterative refinement process.

Comparison of learning paradigms: (a) Supervised Learning, (b) Reinforcement Learning, and (c) the proposed Self-Improved Learning (SIL).

As illustrated in the comparison above, SIL utilizes a Local Reconstruction mechanism. The model takes an existing solution, breaks it into small "partial solutions," and attempts to rebuild those segments more efficiently. If the model finds a better way to connect those nodes, that improved segment becomes a "pseudo-label." The model is then trained to predict these improved segments. This "self-improvement" allows the model to learn directly on large-scale instances without needing any pre-solved data.

Linear Attention for Memory Efficiency

To address the memory explosion, the authors replaced standard $O(N^2)$ self-attention with a Linear Attention module ($O(N)$). Instead of every node looking at every other node, the model identifies "representative points" (such as the start and end nodes of the current path). Information is aggregated from all nodes into these representatives and then broadcast back out. This drastically reduces the number of calculations while still allowing nodes to understand the global structure of the graph.

Experimental Results

The researchers evaluated SIL on synthetic and real-world benchmarks (TSPLib and CVRPLib) with scales ranging from 1,000 to 100,000 nodes. Key findings include:

  • Unprecedented Scale: SIL is the first constructive NCO method to effectively handle 100,000 nodes.
  • Efficiency: On a 10,000-node TSP, SIL reduced peak memory usage from over 9GB (using previous state-of-the-art LEHD) to just 94MB.
  • Performance: On CVRP100K, SIL outperformed the classical heuristic solver HGS after only 20 epochs of training. It also demonstrated remarkable generalization from random uniform data to real-world distributions.

Conclusion

SIL represents a major step forward in making deep learning solvers practical for massive real-world optimization problems. By combining a self-teaching loop with linear-complexity attention, it overcomes the primary barriers to scalability in NCO. Future work will focus on narrowing the remaining gap with specialized solvers like LKH3 and further accelerating the training process.

Summary updated

BibTeX
@misc{luo2024self,
  author = {Fu Luo and Xi Lin and Zhenkun Wang and Xialiang Tong and Mingxuan Yuan and Qingfu Zhang},
  title = {{Self-Improved Learning for Scalable Neural Combinatorial Optimization}},
  year = {2024},
  eprint = {2403.19561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.19561},
}
Figure