Deep reinforcement learning combined with transformer to solve the traveling salesman problem

被引:0
|
作者
Liu, Chang [1 ,2 ]
Feng, Xue-Feng [3 ]
Li, Feng [3 ]
Xian, Qing-Long [3 ]
Jia, Zhen-Hong [1 ,2 ]
Wang, Yu-Hang [1 ,2 ]
Du, Zong-Dong [1 ,2 ]
机构
[1] Xinjiang Univ, Coll Comp Sci & Technol, Urumqi 830046, Peoples R China
[2] Xinjiang Univ, Signal Detect & Proc Autonomous Reg Key Lab, Urumqi 830046, Peoples R China
[3] Xinjiang Uygur Autonomous Reg Res Inst Measurement, Urumqi 830000, Peoples R China
来源
JOURNAL OF SUPERCOMPUTING | 2025年 / 81卷 / 01期
关键词
Traveling salesman problem; Deep reinforcement learning; Combinatorial optimization problem; Transformer;
D O I
10.1007/s11227-024-06691-9
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The Transformer model is widely employed to address the traveling salesman problem due to its robust global information acquisition, learning, and generalization capabilities. However, its high computational complexity and limited accuracy require further refinement. To overcome these shortcomings, a novel model is proposed, integrating a lightweight CNN embedding layer with a Transformer model enhanced by an efficient Pyramid Compressed Attention (PSA) mechanism. The introduction of the lightweight CNN embedding layer significantly reduces the number of parameters and computational complexity, allowing for the flexible extraction of local spatial features between neighboring nodes, while maintaining the ability to handle larger-scale datasets. The PSA mechanism, on one hand, improves solution accuracy by accounting for both local neighborhood relations and global dependencies. On the other hand, its multi-scale nature enables the model to adapt to problems of varying scales, ensuring strong performance for both small- and large-scale problems. Extensive experiments conducted on random datasets as well as the public TSPLIB dataset have demonstrated that the proposed model surpasses other deep reinforcement learning algorithms in terms of solution quality and generalization ability.
引用
收藏
页数:20
相关论文
共 50 条
  • [41] USING CUTTING PLANES TO SOLVE SYMMETRIC TRAVELING SALESMAN PROBLEM
    MILIOTIS, P
    MATHEMATICAL PROGRAMMING, 1978, 15 (02) : 177 - 188
  • [42] Extended Changing Crossover Operators to Solve the Traveling Salesman Problem
    Takahashi, Ryouei
    ELECTRONICS AND COMMUNICATIONS IN JAPAN, 2010, 93 (07) : 1 - 16
  • [43] Modified Grey Wolf Optimization to Solve Traveling Salesman Problem
    Sopto, Dibbendu Singha
    Ayon, Safial Islam
    Akhand, M. A. H.
    Siddique, N.
    2018 INTERNATIONAL CONFERENCE ON INNOVATION IN ENGINEERING AND TECHNOLOGY (ICIET), 2018,
  • [44] A deep reinforcement learning algorithm framework for solving multi-objective traveling salesman problem based on feature transformation
    Zhao, Shijie
    Gu, Shenshen
    NEURAL NETWORKS, 2024, 176
  • [45] Combining Reinforcement Learning with Lin-Kernighan-Helsgaun Algorithm for the Traveling Salesman Problem
    Zheng, Jiongzhi
    He, Kun
    Zhou, Jianrong
    Jin, Yan
    Li, Chu-Min
    THIRTY-FIFTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THIRTY-THIRD CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE AND THE ELEVENTH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2021, 35 : 12445 - 12452
  • [46] The flying sidekick traveling salesman problem with stochastic travel time: A reinforcement learning approach
    Liu, Zeyu
    Li, Xueping
    Khojandi, Anahita
    TRANSPORTATION RESEARCH PART E-LOGISTICS AND TRANSPORTATION REVIEW, 2022, 164
  • [47] A Discrete JAYA Algorithm Based on Reinforcement Learning and Simulated Annealing for the Traveling Salesman Problem
    Xu, Jun
    Hu, Wei
    Gu, Wenjuan
    Yu, Yongguang
    MATHEMATICS, 2023, 11 (14)
  • [48] The noisy Euclidean traveling salesman problem and learning
    Braun, ML
    Buhmann, JM
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 14, VOLS 1 AND 2, 2002, 14 : 351 - 358
  • [49] Graph Representation for Learning the Traveling Salesman Problem
    Gutierrez, Omar
    Zamora, Erik
    Menchaca, Ricardo
    PATTERN RECOGNITION (MCPR 2021), 2021, 12725 : 153 - 162
  • [50] Learning to cooperate in solving the traveling salesman problem
    Qi, DH
    Sun, R
    INTERNATIONAL JOURNAL OF NEURAL SYSTEMS, 2005, 15 (1-2) : 151 - 162