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

超越固定:动态窗口视觉Transformer

Beyond Fixation: Dynamic Window Visual Transformer

Northwest University(西北大学);University of Technology Sydney(悉尼科技大学);University of Oxford(牛津大学);South China University of Technology(华南理工大学);Sun Yat-sen University(中山大学);PengCheng Laboratory(鹏城实验室);RMIT University(皇家墨尔本理工大学)

Pengzhen Ren, Changlin Li, Guangrun Wang, Yun Xiao, Qing Du, Xiaodan Liang, Xiaojun Chang

摘要:

最近,在视觉Transformers的兴趣激增是减少计算成本,限制计算的自我注意到一个局部窗口。当前大多数工作默认使用固定的单尺度窗口进行建模,忽略了窗口大小对模型性能的影响。然而,这可能会限制这些基于窗口的多尺度信息模型的建模潜力。在本文中,我们提出了一种新的方法,命名为动态窗口视觉Transformer(DW-ViT)。DW-ViT提出的动态窗口策略超越了采用固定单窗口设置的模型。据我们所知,我们是第一个使用动态多尺度窗口来探索窗口设置对模型性能影响的上限。在DW-ViT中,通过将不同大小的窗口分配给窗口多头自注意的不同头组来获得多尺度信息。然后,通过为多尺度窗口分支分配不同的权重来动态融合信息。我们对ImageNet-1 K、ADE 20 K和COCO三个数据集进行了详细的性能评估。与相关的国家的最先进的(SoTA)的方法相比,DW-ViT获得了最好的性能。具体而言,与目前的SoTA Swin Transformers \cite{liu2021swin}相比,DW-ViT在所有三个数据集上都取得了一致且实质性的改进,参数和计算成本相似。此外,DW-ViT具有良好的可扩展性,可以很容易地插入到任何基于窗口的视觉Transformers。

英文摘要:

Recently, a surge of interest in visual transformers is to reduce the computational cost by limiting the calculation of self-attention to a local window. Most current work uses a fixed single-scale window for modeling by default, ignoring the impact of window size on model performance. However, this may limit the modeling potential of these window-based models for multi-scale information. In this paper, we propose a novel method, named Dynamic Window Vision Transformer (DW-ViT). The dynamic window strategy proposed by DW-ViT goes beyond the model that employs a fixed single window setting. To the best of our knowledge, we are the first to use dynamic multi-scale windows to explore the upper limit of the effect of window settings on model performance. In DW-ViT, multi-scale information is obtained by assigning windows of different sizes to different head groups of window multi-head self-attention. Then, the information is dynamically fused by assigning different weights to the multi-scale window branches. We conducted a detailed performance evaluation on three datasets, ImageNet-1K, ADE20K, and COCO. Compared with related state-of-the-art (SoTA) methods, DW-ViT obtains the best performance. Specifically, compared with the current SoTA Swin Transformers \cite{liu2021swin}, DW-ViT has achieved consistent and substantial improvements on all three datasets with similar parameters and computational costs. In addition, DW-ViT exhibits good scalability and can be easily inserted into any window-based visual transformers.

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

↑