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

用于视觉Transformer的多流形注意力

Multi-manifold Attention for Vision Transformers

Information Technologies Institute, Centre for Research and Technology Hellas(希腊研究与技术中心信息技术研究所)

Dimitrios Konstantinidis, Ilias Papastratis, Kosmas Dimitropoulos, Petros Daras

AI总结:

本文提出多流形多头注意力机制,在欧几里得、对称正定和Grassmann三种流形上建模输入,以增强视觉Transformer的自注意力并提升分类与分割性能。

摘要:

如今,Vision Transformers(视觉Transformer)因其在图像分类和动作识别等多项计算机视觉任务中的最先进性能而广受欢迎。尽管通过高描述性的patch嵌入和层级结构,其性能已得到大幅提升,但关于利用额外数据表示来细化Transformer自注意力图的研究仍然有限。为解决这一问题,本文提出了一种名为多流形多头注意力(multi-manifold multihead attention)的新型注意力机制,用以替代Transformer的普通自注意力。所提机制在三个不同的流形上对输入空间进行建模,即欧几里得流形、对称正定流形和Grassmann流形,从而利用输入的不同统计和几何特性来计算具有高描述性的注意力图。通过这种方式,所提注意力机制能够引导Vision Transformer更加关注图像中重要的外观、颜色和纹理特征,从而带来更好的分类和分割结果;在知名数据集上的实验结果表明了这一点。

英文摘要:

Vision Transformers are very popular nowadays due to their state-of-the-art performance in several computer vision tasks, such as image classification and action recognition. Although their performance has been greatly enhanced through highly descriptive patch embeddings and hierarchical structures, there is still limited research on utilizing additional data representations so as to refine the selfattention map of a Transformer. To address this problem, a novel attention mechanism, called multi-manifold multihead attention, is proposed in this work to substitute the vanilla self-attention of a Transformer. The proposed mechanism models the input space in three distinct manifolds, namely Euclidean, Symmetric Positive Definite and Grassmann, thus leveraging different statistical and geometrical properties of the input for the computation of a highly descriptive attention map. In this way, the proposed attention mechanism can guide a Vision Transformer to become more attentive towards important appearance, color and texture features of an image, leading to improved classification and segmentation results, as shown by the experimental results on well-known datasets.

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

↑