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

NomMer:在用于视觉识别的视觉Transformer中命名协同上下文

NomMer: Nominate Synergistic Context in Vision Transformer for Visual Recognition

Tencent YouTu Lab(腾讯优图实验室)

Hao Liu, Xinghua Jiang, Xin Li, Zhimin Bao, Deqiang Jiang, Bo Ren

摘要:

近年来,以自注意(SA)为基本成分的视觉Transformer(ViT)在计算机视觉领域显示出了巨大的潜力。为了在效率和性能之间进行权衡,一组工作仅仅在局部块内执行SA操作,而放弃了全局上下文信息,这对于视觉识别任务是必不可少的。为了解决这个问题,后续的全局-本地ViT尝试在模型中以并行或交替的方式将本地SA与全局SA结合起来。然而,详尽地组合的局部和全局上下文对于各种视觉数据可能存在冗余,并且每层内的感受野是固定的。或者,一种更优雅的方式是全局和局部上下文本身可以自适应地做出贡献,以适应不同的视觉数据。为了实现这一目标,我们在本文中提出了一种新的ViT架构,称为NomMer,它可以动态提名的协同全局-局部上下文的视觉Transformer。通过研究我们提出的NomMer的工作模式,我们进一步探索了上下文信息的重点。得益于这种“动态提名”机制,NomMer不仅可以在ImageNet上仅用73 M参数就达到84.5%的Top-1分类准确率,而且在密集预测任务上也表现出了很好的性能,即,目标检测和语义分割。代码和模型将在https://github.com/TencentYoutuResearch/VisualRecognition-NomMer上公开发布

英文摘要:

Recently, Vision Transformers (ViT), with the self-attention (SA) as the de facto ingredients, have demonstrated great potential in the computer vision community. For the sake of trade-off between efficiency and performance, a group of works merely perform SA operation within local patches, whereas the global contextual information is abandoned, which would be indispensable for visual recognition tasks. To solve the issue, the subsequent global-local ViTs take a stab at marrying local SA with global one in parallel or alternative way in the model. Nevertheless, the exhaustively combined local and global context may exist redundancy for various visual data, and the receptive field within each layer is fixed. Alternatively, a more graceful way is that global and local context can adaptively contribute per se to accommodate different visual data. To achieve this goal, we in this paper propose a novel ViT architecture, termed NomMer, which can dynamically Nominate the synergistic global-local context in vision transforMer. By investigating the working pattern of our proposed NomMer, we further explore what context information is focused. Beneficial from this "dynamic nomination" mechanism, without bells and whistles, the NomMer can not only achieve 84.5% Top-1 classification accuracy on ImageNet with only 73M parameters, but also show promising performance on dense prediction tasks, i.e., object detection and semantic segmentation. The code and models will be made publicly available at https://github.com/TencentYoutuResearch/VisualRecognition-NomMer

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

↑