以核函數導向Attention機制解旅行推銷員問題

Solving Traveling Salesman Problem with Kernel-enabled Attention

檔案

日期

2020

類型

語言

英文

摘要

旅行推銷員(TSP)是知名且已被證明是NP問題的組合最佳化問題。有傳統、啟發式以及近似演算法試圖解TSP。因應近幾年深度學習的流行,世界各地開始著手研究使用深度學習解組合最佳化問題。在本研究中,我們使用attention model (the Transformer)嘗試解TSP並試圖得到更短的路徑。我們使用核函數(kernel)將原始特徵隱性地映到更高維度的空間並計算其內積值。也因為attention內部的運算機制與SVM類似,兩者共同都有內積的運算,這啟發我們使用核函數替換原先的內積運算。在實驗中,我們檢驗不同的核函數以及kernel-enabled attention運算的區域來選擇模型預設設定。同時我們也使用假說檢定,結果證明我們確實得到統計上具有顯著意義的比原先結果更短的路徑。
Traveling Salesman Problem (TSP) is one of the most famous difficult combinatorial optimization problems. There are traditional operations research, heuristics, and approximate algorithms to solve it. The popularity of deep learning has boosted recently, and researchers worldwide have tried to fully leverage the power of deep learning to solve combinatorial optimization problems. In this work, we apply the attention model (the Transformer) to solve TSP, and manage to obtain shorter tour lengths.
Since the operation inside attention is similar to SVM, both have inner product operation, which motivates us to replace the dot product operation with the kernel method.
In the experiments, we examine different kernel methods and determine which module to apply kernel-enabled attention as our default setting in the model.
we compare with the previous works and conduct the hypothesis testing. The results suggest that we achieve a statistically significant shorter tour than the standard attention mechanism.
顯示完整詮釋資料 統計資料

引用此條目

Huang, C.-Y. (2020). Solving Traveling Salesman Problem with Kernel-enabled Attention. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76183

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76183