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] College of Computer Science and Technology, Xinjiang University, Urumqi,830046, China
[2] Xinjiang University Signal Detection and Processing Autonomous Region Key Laboratory, Urumqi,830046, China
[3] Xinjiang Uygur Autonomous Region Research Institute of Measurement and Testing, Urumqi,830000, China
来源
Journal of Supercomputing | 2025年 / 81卷 / 01期
关键词
Adversarial machine learning - Deep learning - Deep reinforcement learning - Embeddings - Reinforcement learning - Traveling salesman problem;
D O I
10.1007/s11227-024-06691-9
中图分类号
学科分类号
摘要
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. © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2024.
引用
收藏
相关论文
共 50 条
  • [1] Combining deep reinforcement learning with heuristics to solve the traveling salesman problem
    洪莉
    刘宇
    徐梦俏
    邓文慧
    [J]. Chinese Physics B, 2025, 34 (01) : 100 - 110
  • [2] Applying Deep Learning and Reinforcement Learning to Traveling Salesman Problem
    Miki, Shoma
    Yamamoto, Daisuke
    Ebara, Hiroyuki
    [J]. 2018 INTERNATIONAL CONFERENCE ON COMPUTING, ELECTRONICS & COMMUNICATIONS ENGINEERING (ICCECE), 2018, : 65 - 70
  • [3] Combining reinforcement learning algorithm and genetic algorithm to solve the traveling salesman problem
    Ruan, Yaqi
    Cai, Weihong
    Wang, Jiaying
    [J]. JOURNAL OF ENGINEERING-JOE, 2024, 2024 (06):
  • [4] A new multiagent reinforcement learning algorithm to solve the symmetric traveling salesman problem
    Alipour, Mir Mohammad
    Razavi, Seyed Naser
    [J]. MULTIAGENT AND GRID SYSTEMS, 2015, 11 (02) : 107 - 119
  • [5] A deep reinforcement learning approach for solving the Traveling Salesman Problem with Drone
    Bogyrbayeva, Aigerim
    Yoon, Taehyun
    Ko, Hanbum
    Lim, Sungbin
    Yun, Hyokun
    Kwon, Changhyun
    [J]. TRANSPORTATION RESEARCH PART C-EMERGING TECHNOLOGIES, 2023, 148
  • [6] Deep Reinforcement Learning for Traveling Salesman Problem with Time Windows and Rejections
    Zhang, Rongkai
    Prokhorchuk, Anatolii
    Dauwels, Justin
    [J]. 2020 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2020,
  • [7] Reinforcement learning for the traveling salesman problem with refueling
    André L. C. Ottoni
    Erivelton G. Nepomuceno
    Marcos S. de Oliveira
    Daniela C. R. de Oliveira
    [J]. Complex & Intelligent Systems, 2022, 8 : 2001 - 2015
  • [8] Reinforcement learning for the traveling salesman problem with refueling
    Ottoni, Andre L. C.
    Nepomuceno, Erivelton G.
    Oliveira, Marcos S. de
    Oliveira, Daniela C. R. de
    [J]. COMPLEX & INTELLIGENT SYSTEMS, 2022, 8 (03) : 2001 - 2015
  • [9] Reinforcement Learning and Additional Rewards for the Traveling Salesman Problem
    Mele, Umberto Junior
    Chou, Xiaochen
    Gambardella, Luca Maria
    Montemanni, Roberto
    [J]. 2021 THE 8TH INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND APPLICATIONS-EUROPE, ICIEA 2021-EUROPE, 2021, : 198 - 204
  • [10] A hybrid algorithm using a genetic algorithm and multiagent reinforcement learning heuristic to solve the traveling salesman problem
    Alipour, Mir Mohammad
    Razavi, Seyed Naser
    Derakhshi, Mohammad Reza Feizi
    Balafar, Mohammad Ali
    [J]. NEURAL COMPUTING & APPLICATIONS, 2018, 30 (09): : 2935 - 2951