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 条
  • [21] Pointerformer: Deep Reinforced Multi-Pointer Transformer for the Traveling Salesman Problem
    Jin, Yan
    Ding, Yuandong
    Pan, Xuanhao
    He, Kun
    Zhao, Li
    Qin, Tao
    Song, Lei
    Bian, Jiang
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 7, 2023, : 8132 - 8140
  • [22] The Performance of Different Algorithms to Solve Traveling Salesman Problem
    Bi, Hanqing
    Yang, Zhuoyuan
    Wang, Mengxi
    2021 2ND INTERNATIONAL CONFERENCE ON BIG DATA & ARTIFICIAL INTELLIGENCE & SOFTWARE ENGINEERING (ICBASE 2021), 2021, : 153 - 156
  • [23] SailFish Optimizer Algorithm to Solve the Traveling Salesman Problem
    Khaoula, Cherrat
    Morad, Bouzidi
    Essaid, Riffi Mohammed
    HYBRID INTELLIGENT SYSTEMS, HIS 2021, 2022, 420 : 225 - 232
  • [24] Hard to solve instances of the Euclidean Traveling Salesman Problem
    Hougardy, Stefan
    Zhong, Xianghui
    MATHEMATICAL PROGRAMMING COMPUTATION, 2021, 13 (01) : 51 - 74
  • [25] Group Search Optimization to solve Traveling Salesman Problem
    Akhand, M. A. H.
    Junaed, A. B. M.
    Hossain, Md. Forhad
    Murase, K.
    2012 15TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY (ICCIT), 2012, : 72 - 77
  • [26] Application of the agamogenetic algorithm to solve the traveling salesman problem
    Zhang, Yinghui
    Wang, Zhiwei
    Zeng, Qinghua
    Yang, Haolei
    Wang, Zhihua
    BIO-INSPIRED COMPUTATIONAL INTELLIGENCE AND APPLICATIONS, 2007, 4688 : 135 - 143
  • [27] GEOMETRIC APPROACHES TO SOLVE THE CHEBYSHEV TRAVELING SALESMAN PROBLEM
    BOZER, YA
    SCHORN, EC
    SHARP, GP
    IIE TRANSACTIONS, 1990, 22 (03) : 238 - 254
  • [28] Artificial Fish Algorithm to solve Traveling Salesman Problem
    Wang, Jian-Ping
    Liu, Yan-Pei
    Huang, Yong
    FRONTIERS OF MANUFACTURING AND DESIGN SCIENCE II, PTS 1-6, 2012, 121-126 : 4410 - 4414
  • [29] Hard to solve instances of the Euclidean Traveling Salesman Problem
    Stefan Hougardy
    Xianghui Zhong
    Mathematical Programming Computation, 2021, 13 : 51 - 74
  • [30] G-DGANet: Gated deep graph attention network with reinforcement learning for solving traveling salesman problem
    Fellek, Getu
    Farid, Ahmed
    Fujimura, Shigeru
    Yoshie, Osamu
    Gebreyesus, Goytom
    Neurocomputing, 2024, 579