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

面向语义分割的低分辨率自注意力

Low-Resolution Self-Attention for Semantic Segmentation

Nankai University(南开大学);Institute of High Performance Computing(高性能计算研究所);A*STAR(科技研究局);NKIARI;Shenzhen Futian(深圳福田);VCIP;University of Electronic Science and Technology of China(电子科技大学);Udeer AI;School of Electronic and Computer Engineering(电子与计算机工程学院);Peking University(北京大学);Bytedance Inc.(字节跳动)

Yu-Huan Wu, Shi-Chen Zhang, Yun Liu, Le Zhang, Xin Zhan, Daquan Zhou, Jiashi Feng, Ming-Ming Cheng, Liangli Zhen

AI总结:

针对语义分割中视觉Transformer高分辨率上下文建模带来的计算瓶颈问题,提出低分辨率自注意力机制LRSA,构建编码器-解码器结构的LRFormer,在多个数据集上性能超越现有最优模型。

摘要:

语义分割任务天然需要高分辨率信息以实现逐像素分割,同时需要全局上下文信息用于类别预测。现有视觉Transformer虽展现出可观性能,但通常采用高分辨率上下文建模,导致计算瓶颈。本研究挑战传统思路,提出低分辨率自注意力(LRSA)机制,以大幅降低的计算成本(即FLOPs)捕获全局上下文。我们的方法是:无论输入图像分辨率如何,都在固定的低分辨率空间中计算自注意力,同时辅以3×3深度卷积在高分辨率空间中捕获精细细节。我们构建了具备编码器-解码器结构的视觉Transformer——LRFormer,以此验证LRSA方法的有效性。在ADE20K、COCO-Stuff和Cityscapes数据集上开展的大量实验表明,LRFormer性能优于当前最优模型。代码可访问https://github.com/yuhuan-wu/LRFormer获取。

英文摘要:

Semantic segmentation tasks naturally require high-resolution information for pixel-wise segmentation and global context information for class prediction. While existing vision transformers demonstrate promising performance, they often utilize high-resolution context modeling, resulting in a computational bottleneck. In this work, we challenge conventional wisdom and introduce the Low-Resolution Self-Attention (LRSA) mechanism to capture global context at a significantly reduced computational cost, i.e., FLOPs. Our approach involves computing self-attention in a fixed low-resolution space regardless of the input image's resolution, with additional 3x3 depth-wise convolutions to capture fine details in the high-resolution space. We demonstrate the effectiveness of our LRSA approach by building the LRFormer, a vision transformer with an encoder-decoder structure. Extensive experiments on the ADE20K, COCO-Stuff, and Cityscapes datasets demonstrate that LRFormer outperforms state-of-the-art models. Code is available at https://github.com/yuhuan-wu/LRFormer.

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

↑