一种用于学习旅行商问题的轻量级CNN-Transformer模型
A Lightweight CNN-Transformer Model for Learning Traveling Salesman Problems
AI总结:
针对现有基于Transformer的TSP求解模型计算复杂度高、内存占用大的问题,提出融合CNN嵌入层与部分自注意力的轻量级模型,在性能与计算效率上均优于现有SOTA模型。
摘要:
已有多项研究尝试采用各类深度学习技术求解旅行商问题(TSP)。其中,基于Transformer的模型即使在求解大规模旅行商问题(TSP)时也能展现出当前最优性能。但这类模型基于全连接注意力机制构建,存在计算复杂度高、GPU内存占用大的问题。本研究首次提出面向TSP的、基于CNN嵌入层与部分自注意力的CNN-Transformer模型。与标准的基于Transformer的模型相比,该模型可通过CNN嵌入层更好地从输入数据中学习空间特征,同时借助提出的部分自注意力消除全连接注意力模型中的大量冗余。实验结果表明,所提出的CNN嵌入层与部分自注意力在提升性能、降低计算复杂度方面效果显著。该模型在真实世界数据集上表现最优,且在多个维度上优于其他现有当前最优(SOTA)的基于Transformer的模型。我们的代码已公开于https://github.com/cm8908/CNN_Transformer3。
英文摘要:
Several studies have attempted to solve traveling salesman problems (TSPs) using various deep learning techniques. Among them, Transformer-based models show state-of-the-art performance even for large-scale Traveling Salesman Problems (TSPs). However, they are based on fully-connected attention models and suffer from large computational complexity and GPU memory usage. Our work is the first CNN-Transformer model based on a CNN embedding layer and partial self-attention for TSP. Our CNN-Transformer model is able to better learn spatial features from input data using a CNN embedding layer compared with the standard Transformer-based models. It also removes considerable redundancy in fully-connected attention models using the proposed partial self-attention. Experimental results show that the proposed CNN embedding layer and partial self-attention are very effective in improving performance and computational complexity. The proposed model exhibits the best performance in real-world datasets and outperforms other existing state-of-the-art (SOTA) Transformer-based models in various aspects. Our code is publicly available at https://github.com/cm8908/CNN_Transformer3.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。