arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.09120cs.CV
收藏

具备并行局部与全局自注意力的轻量级视觉Transformer

Light-Weight Vision Transformer with Parallel Local and Global Self-Attention

Mannheim University of Applied Sciences(曼海姆应用科学大学);RPTU Kaiserslautern-Landau(莱茵兰-普法尔茨凯泽斯劳滕-兰道工业大学)

Nikolas Ebert, Laurenz Reichardt, Didier Stricker, Oliver Wasenmüller

AI总结:

针对Transformer难以部署在资源有限的自动驾驶硬件的问题,研究对PLG-ViT进行轻量化重设计,将模型规模缩小5倍,提出两种权衡变体,在ImageNet-1K上达79.5%的top-1准确率,适配自动驾驶等多视觉任务。

摘要:

近年来,Transformer架构已在计算机视觉领域占据主导地位,但这类模型难以部署在资源有限的硬件上,以满足需要实时性能的自动驾驶任务需求。其计算复杂度和内存需求限制了自身的应用,尤其在处理高分辨率输入的场景中受限更明显。\n在本研究中,我们将性能强劲的当前最优视觉Transformer PLG-ViT重新设计为更紧凑、更高效的架构,以适配上述任务。我们定位了原始PLG-ViT架构中计算开销较高的模块,并提出多项重新设计方案,旨在减少参数量和浮点运算量。\n经过重新设计,我们将PLG-ViT的模型规模缩小了5倍,仅出现中等程度的性能下降。我们提出了两种变体,分别针对参数量与运行时的最优权衡、以及参数量与准确率的最优权衡进行优化。仅凭借500万参数,我们的模型在ImageNet-1K分类基准上达到了79.5%的top-1准确率。\n我们的网络在COCO实例分割这类通用视觉基准上也展现出优异性能。此外,我们开展了一系列实验,证明了该方法在解决各类专门针对自动驾驶与交通领域挑战的任务时的潜力。

英文摘要:

While transformer architectures have dominated computer vision in recent years, these models cannot easily be deployed on hardware with limited resources for autonomous driving tasks that require real-time-performance. Their computational complexity and memory requirements limits their use, especially for applications with high-resolution inputs. In our work, we redesign the powerful state-of-the-art Vision Transformer PLG-ViT to a much more compact and efficient architecture that is suitable for such tasks. We identify computationally expensive blocks in the original PLG-ViT architecture and propose several redesigns aimed at reducing the number of parameters and floating-point operations. As a result of our redesign, we are able to reduce PLG-ViT in size by a factor of 5, with a moderate drop in performance. We propose two variants, optimized for the best trade-off between parameter count to runtime as well as parameter count to accuracy. With only 5 million parameters, we achieve 79.5$\%$ top-1 accuracy on the ImageNet-1K classification benchmark. Our networks demonstrate great performance on general vision benchmarks like COCO instance segmentation. In addition, we conduct a series of experiments, demonstrating the potential of our approach in solving various tasks specifically tailored to the challenges of autonomous driving and transportation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑