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

通过增强空间先验推进视觉Transformer

Advancing Vision Transformer with Enhanced Spatial Priors

MAIS & NLPR, Institude of Automation, Chinese Academic of Science(MAIS与NLPR,自动化研究所,中国科学院)

Qihang Fan, Huaibo Huang, Mingrui Chen, Hongmin Liu, Ran He

AI总结:

本文提出EVT,通过改进空间信息建模和注意力机制,提升视觉Transformer在各类计算机视觉任务中的性能。

摘要:

近年来,视觉Transformer(ViT)在计算机视觉领域引起了广泛关注。然而,ViT的核心组件自注意力机制缺乏显式空间先验,并具有二次计算复杂度,限制了其应用。为解决这些问题,我们提出了RMT,一种具有显式空间先验的通用视觉主干网络。RMT利用曼哈顿距离衰减引入空间信息,并采用水平和垂直分解注意力方法建模全局信息。基于RMT的优势,欧几里得增强视觉Transformer(EVT)是一种扩展版本,集成了几个关键改进。首先,EVT使用更合理的欧几里得距离衰减来增强空间信息建模,相较于RMT中的曼哈顿距离,能够更准确地表示空间关系。其次,EVT放弃了RMT中的分解注意力机制,转而采用更简单的空间独立分组方法,为模型提供了更大的灵活性,以控制每个分组内的token数量。通过这些改进,EVT提供了一种更加复杂和适应性强的方法,将空间先验纳入自注意力机制中,从而克服了RMT的一些限制,并进一步增强了其在各种计算机视觉任务中的应用性。在Image Classification、Object Detection、Instance Segmentation和Semantic Segmentation上的大量实验表明,EVT表现出色。无需额外训练数据,EVT在ImageNet-1k上实现了86.6%的top1-acc。

英文摘要:

In recent years, the Vision Transformer (ViT) has garnered significant attention within the computer vision community. However, the core component of ViT, Self-Attention, lacks explicit spatial priors and suffers from quadratic computational complexity, limiting its applicability. To address these issues, we have proposed RMT, a robust vision backbone with explicit spatial priors for general purposes. RMT utilizes Manhattan distance decay to introduce spatial information and employs a horizontal and vertical decomposition attention method to model global information. Building on the strengths of RMT, Euclidean enhanced Vision Transformer (EVT) is an expanded version that incorporates several key improvements. Firstly, EVT uses a more reasonable Euclidean distance decay to enhance the modeling of spatial information, allowing for a more accurate representation of spatial relationships compared to the Manhattan distance used in RMT. Secondly, EVT abandons the decomposed attention mechanism featured in RMT and instead adopts a simpler spatially-independent grouping approach, providing the model with greater flexibility in controlling the number of tokens within each group. By addressing these modifications, EVT offers a more sophisticated and adaptable approach to incorporating spatial priors into the Self-Attention mechanism, thus overcoming some of the limitations associated with RMT and further enhancing its applicability in various computer vision tasks. Extensive experiments on Image Classification, Object Detection, Instance Segmentation, and Semantic Segmentation demonstrate that EVT exhibits exceptional performance. Without additional training data, EVT achieves 86.6% top1-acc on ImageNet-1k.

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

↑