arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.01240cs.CVcs.MM
收藏

ViT的免费午餐:用于细粒度视觉识别的自适应注意力多尺度融合Transformer

A free lunch from ViT:Adaptive Attention Multi-scale Fusion Transformer for Fine-grained Visual Recognition

School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);Alibaba Group, Inc.(阿里巴巴集团)

Yuan Zhang, Jian Cao, Ling Zhang, Xiangcheng Liu, Zhiyi Wang, Feng Ling, Weiqian Chen

摘要:

学习物体各部分的细微表示在细粒度视觉识别领域中起着至关重要的作用。视觉Transformer(ViT)由于其注意力机制在计算机视觉领域取得了令人鼓舞的成果。然而,由于ViT中的补丁大小固定,深层的类令牌集中在全局感受野上,无法为FGVR生成多粒度特征。为了在没有框标注的情况下捕获区域注意力并弥补FGVR中ViT的缺点,我们提出了一种名为自适应注意力多尺度融合Transformer(AFTrans)的新方法。我们的方法中的选择性注意力收集模块(SACM)利用ViT中的注意力权重,并自适应地对它们进行过滤,以与输入补丁的相对重要性相对应。多尺度(全局和局部)流水线由我们的权重共享编码器监督,可以很容易地进行端到端训练。综合实验表明,AFTrans可以在三个已发布的细粒度基准上实现SOTA性能:CUB-200-2011,Stanford Dogs和iNat 2017。

英文摘要:

Learning subtle representation about object parts plays a vital role in fine-grained visual recognition (FGVR) field. The vision transformer (ViT) achieves promising results on computer vision due to its attention mechanism. Nonetheless, with the fixed size of patches in ViT, the class token in deep layer focuses on the global receptive field and cannot generate multi-granularity features for FGVR. To capture region attention without box annotations and compensate for ViT shortcomings in FGVR, we propose a novel method named Adaptive attention multi-scale Fusion Transformer (AFTrans). The Selective Attention Collection Module (SACM) in our approach leverages attention weights in ViT and filters them adaptively to correspond with the relative importance of input patches. The multiple scales (global and local) pipeline is supervised by our weights sharing encoder and can be easily trained end-to-end. Comprehensive experiments demonstrate that AFTrans can achieve SOTA performance on three published fine-grained benchmarks: CUB-200-2011, Stanford Dogs and iNat2017.

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

↑