Memory-efficient Transformer-based network model for Traveling Salesman Problem

被引:18
|
作者
Yang, Hua [1 ]
Zhao, Minghao [1 ]
Yuan, Lei [2 ]
Yu, Yang [2 ]
Li, Zhenhua [1 ]
Gu, Ming [1 ]
机构
[1] Tsinghua Univ, Sch Software, Beijing, Peoples R China
[2] Nanjing Univ, Natl Key Lab Novel Software Technol, Nanjing, Peoples R China
关键词
Combinatorial optimization; Deep reinforcement learning; TSP; Transformer; COMBINATORIAL OPTIMIZATION; ALGORITHMS;
D O I
10.1016/j.neunet.2023.02.014
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Combinatorial optimization problems such as Traveling Salesman Problem (TSP) have a wide range of real-world applications in transportation, logistics, manufacturing. It has always been a difficult problem to solve large-scale TSP problems quickly because of memory usage limitations. Recent research shows that the Transformer model is a promising approach. However, the Transformer has several severe problems that prevent it from quickly solving TSP combinatorial optimization problems, such as quadratic time complexity, especially quadratic space complexity, and the inherent limitations of the encoder and decoder itself. To address these issues, we developed a memory-efficient Transformer-based network model for TSP combinatorial optimization problems, termed Tspformer, with two distinctive characteristics: (1) a sampled scaled dot-product attention mechanism with O(L log(L)) (L is the length of input sequences) time and space complexity, which is the most different between our work and other works. (2) due to the reduced space complexity, GPU/CPU memory usage is significantly reduced. Extensive experiments demonstrate that Tspformer significantly outperforms existing methods and provides a new solution to the TSP combinatorial optimization problems. Our Pytorch code will be publicly available on GitHub https://github.com/yhnju/tspFormer.(c) 2023 Elsevier Ltd. All rights reserved.
引用
收藏
页码:589 / 597
页数:9
相关论文
共 50 条
  • [21] A hierarchical architecture based on traveling salesman problem for hybrid wireless network-on-chip
    Bahrami, Bahareh
    Jamali, Mohammad Ali Jabraeil
    Saeidi, Shahram
    WIRELESS NETWORKS, 2019, 25 (05) : 2187 - 2200
  • [22] A transformer-based network for speech recognition
    Tang L.
    International Journal of Speech Technology, 2023, 26 (02) : 531 - 539
  • [23] Havrda and Charvat Entropy Based Genetic Algorithm for Traveling Salesman Problem
    Singh, Baljit
    Singh, Arjan
    Akashdeep
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2008, 8 (05): : 312 - 319
  • [24] A hierarchical architecture based on traveling salesman problem for hybrid wireless network-on-chip
    Bahareh Bahrami
    Mohammad Ali Jabraeil Jamali
    Shahram Saeidi
    Wireless Networks, 2019, 25 : 2187 - 2200
  • [25] Efficient local search algorithms for known and new neighborhoods for the generalized traveling salesman problem
    Karapetyan, D.
    Gutin, G.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2012, 219 (02) : 234 - 251
  • [26] Ant Colony Optimization with Memory and Its Application to Traveling Salesman Problem
    Wang, Rong-Long
    Zhao, Li-Qing
    Zhou, Xiao-Fan
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2012, E95A (03) : 639 - 645
  • [27] Efficient PTAS for the maximum traveling salesman problem in a metric space of fixed doubling dimension
    Shenmaier, Vladimir
    OPTIMIZATION LETTERS, 2022, 16 (07) : 2115 - 2122
  • [28] A Puzzle-Based Genetic Algorithm with Block Mining and Recombination Heuristic for the Traveling Salesman Problem
    Chang, Pei-Chann
    Huang, Wei-Hsiu
    Zhang, Zhen-Zhen
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2012, 27 (05) : 937 - 949
  • [29] Hysteretic noisy frequency conversion sinusoidal chaotic neural network for traveling salesman problem
    Qiao, Junfei
    Hu, Zhiqiang
    Li, Wenjing
    NEURAL COMPUTING & APPLICATIONS, 2019, 31 (11) : 7055 - 7069
  • [30] An Efficient and Light Transformer-Based Segmentation Network for Remote Sensing Images of Landscapes
    Chen, Lijia
    Chen, Honghui
    Xie, Yanqiu
    He, Tianyou
    Ye, Jing
    Zheng, Yushan
    FORESTS, 2023, 14 (11):