MixFormer:跨窗口和维度混合功能
MixFormer: Mixing Features across Windows and Dimensions
摘要:
虽然局部窗口自我注意在视觉任务中表现突出,但它存在感受野有限和建模能力弱的问题。这主要是因为它在非重叠窗口内执行自注意,并在通道维度上共享权重。我们提出MixFormer来寻找解决方案。首先,我们将局部窗口自注意与深度卷积结合在一起,模拟跨窗口连接以扩大感受野。其次,我们提出了跨分支的双向互动,以提供渠道和空间维度的互补线索。这两种设计被集成以实现窗口和维度之间的有效特征混合。我们的MixFormer在使用EfficientNet进行图像分类时提供了有竞争力的结果,并且显示出比RegNet和Swin Transformer更好的结果。在MS COCO、ADE 20k和LVIS上的5个密集预测任务中,下游任务的性能显著优于其替代方案,计算成本更低。代码可在\url{https://github.com/PaddlePaddle/PaddleClas}上获得。
英文摘要:
While local-window self-attention performs notably in vision tasks, it suffers from limited receptive field and weak modeling capability issues. This is mainly because it performs self-attention within non-overlapped windows and shares weights on the channel dimension. We propose MixFormer to find a solution. First, we combine local-window self-attention with depth-wise convolution in a parallel design, modeling cross-window connections to enlarge the receptive fields. Second, we propose bi-directional interactions across branches to provide complementary clues in the channel and spatial dimensions. These two designs are integrated to achieve efficient feature mixing among windows and dimensions. Our MixFormer provides competitive results on image classification with EfficientNet and shows better results than RegNet and Swin Transformer. Performance in downstream tasks outperforms its alternatives by significant margins with less computational costs in 5 dense prediction tasks on MS COCO, ADE20k, and LVIS. Code is available at \url{https://github.com/PaddlePaddle/PaddleClas}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。