An improved transformer model with multi-head attention and attention to attention for low-carbon multi-depot vehicle routing problem

被引:13
|
作者
Zou, Yang [1 ]
Wu, Hecheng [1 ]
Yin, Yunqiang [2 ]
Dhamotharan, Lalitha [3 ]
Chen, Daqiang [4 ]
Tiwari, Aviral Kumar [5 ]
机构
[1] Nanjing Univ Aeronaut & Astronaut, Coll Econ & Management, Nanjing 210016, Peoples R China
[2] Univ Elect Sci & Technol China, Sch Econ & Management, Chengdu 611731, Peoples R China
[3] Univ Exeter, Business Sch, Exeter EX4 4PU, Devon, England
[4] Zhejiang Gongshang Univ, Sch Management & E Business, Hangzhou 310018, Peoples R China
[5] Rajagiri Business Sch RBS, Kochi 682039, Kerala, India
基金
中国国家自然科学基金;
关键词
End-to-end deep reinforcement learning; Transformer model; Multi-head attention mechanism; Low-carbon multi-depot vehicle routing problem; GA algorithm; VARIABLE NEIGHBORHOOD SEARCH;
D O I
10.1007/s10479-022-04788-z
中图分类号
C93 [管理学]; O22 [运筹学];
学科分类号
070105 ; 12 ; 1201 ; 1202 ; 120202 ;
摘要
Low-carbon logistics is an emerging and sustainable development industry in the era of a low-carbon economy. The end-to-end deep reinforcement learning (DRL) method with an encoder-decoder framework has been proven effective for solving logistics problems. However, in most cases, the recurrent neural networks (RNN) and attention mechanisms are used in encoders and decoders, which may result in the long-distance dependence problem and the neglect of the correlation between query vectors. To surround this problem, we propose an improved transformer model (TAOA) with both multi-head attention mechanism (MHA) and attention to attention mechanism (AOA), and apply it to solve the low-carbon multi-depot vehicle routing problem (MDVRP). In this model, the MHA and AOA are implemented to solve the probability of route nodes in the encoder and decoder. The MHA is used to process different parts of the input sequence, which can be calculated in parallel, and the AOA is used to deal with the deficiency problem of correlation between query results and query vectors in the MHA. The actor-critic framework based on strategy gradient is constructed to train model parameters. The 2opt operator is further used to optimize the resulting routes. Finally, extensive numerical studies are carried out to verify the effectiveness and operation efficiency of the proposed TAOA, and the results show that the proposed TAOA performs better in solving the MDVRP than the traditional transformer model (Kools), genetic algorithm (GA), and Google OR-Tools (Ortools).
引用
收藏
页码:517 / 536
页数:20
相关论文
共 50 条
  • [1] Diversifying Multi-Head Attention in the Transformer Model
    Ampazis, Nicholas
    Sakketou, Flora
    MACHINE LEARNING AND KNOWLEDGE EXTRACTION, 2024, 6 (04): : 2618 - 2638
  • [2] Multi-Type Attention for Solving Multi-Depot Vehicle Routing Problems
    Li, Jinqi
    Dai, Bing Tian
    Niu, Yunyun
    Xiao, Jianhua
    Wu, Yaoxin
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2024, 25 (11) : 17831 - 17840
  • [3] On the diversity of multi-head attention
    Li, Jian
    Wang, Xing
    Tu, Zhaopeng
    Lyu, Michael R.
    NEUROCOMPUTING, 2021, 454 : 14 - 24
  • [4] An improved formulation for the multi-depot open vehicle routing problem
    Lalla-Ruiz, Eduardo
    Exposito-Izquierdo, Christopher
    Taheripour, Shervin
    Voss, Stefan
    OR SPECTRUM, 2016, 38 (01) : 175 - 187
  • [5] An improved formulation for the multi-depot open vehicle routing problem
    Eduardo Lalla-Ruiz
    Christopher Expósito-Izquierdo
    Shervin Taheripour
    Stefan Voß
    OR Spectrum, 2016, 38 : 175 - 187
  • [6] Graph attention reinforcement learning with flexible matching policies for multi-depot vehicle routing problems
    Zhang, Ke
    Lin, Xi
    Li, Meng
    PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2023, 611
  • [7] Cooperative Multi-Depot Vehicle Routing Problem
    Cickova, Zuzana
    Figurova, Dana
    MATHEMATICAL METHODS IN ECONOMICS (MME 2018), 2018, : 60 - 64
  • [8] Research on the Multi-Depot Vehicle Routing Problem
    Li Xin
    Zhang Yang
    Huang Lucheng
    PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND ENGINEERING MANAGEMENT, VOLS A-C, 2008, : 544 - 547
  • [9] On Solving the Multi-depot Vehicle Routing Problem
    Tlili, Takwa
    Krichen, Saoussen
    Drira, Ghofrane
    Faiz, Sami
    PROCEEDINGS OF 3RD INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING, NETWORKING AND INFORMATICS, ICACNI 2015, VOL 2, 2016, 44 : 103 - 108
  • [10] The multi-depot periodic vehicle routing problem
    Mingozzi, A
    ABSTRACTION, REFORMULATION AND APPROXIMATION, PROCEEDINGS, 2005, 3607 : 347 - 350