arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.06272cs.CV
收藏

U-MixFormer:采用混合注意力实现高效语义分割的类 UNet Transformer

U-MixFormer: UNet-like Transformer with Mix-Attention for Efficient Semantic Segmentation

Nota AI GmbH

Seul-Ki Yeom, Julian von Klitzing

AI总结:

本文提出基于 U-Net 的 Transformer 解码器 U-MixFormer,通过横向连接查询与跨阶段键值混合注意力提升语义分割效率,并在 ADE20K 上显著超越 SegFormer、FeedFormer 和 SegNeXt。

摘要:

随着 Transformer 架构的适配,语义分割取得了显著进展。与 Transformer 的长足进步并行,基于 CNN 的 U-Net 也获得了重大发展,尤其是在高分辨率医学成像和遥感领域。这种双重成功启发我们融合两者优势,从而催生了一种基于 U-Net、专为高效上下文编码而设计的视觉 Transformer 解码器。本文提出一种新颖的 Transformer 解码器 U-MixFormer,它构建于 U-Net 结构之上,旨在实现高效语义分割。与以往的 Transformer 方法不同,我们的方法除了传统的跳跃连接依赖外,还利用编码器与解码器阶段之间的横向连接作为注意力模块的特征查询。此外,我们创新地混合来自不同编码器和解码器阶段的分层特征图,以形成用于键和值的统一表示,由此形成我们独特的混合注意力模块。我们的方法在多种配置下均展现出最先进性能。大量实验表明,U-MixFormer 大幅优于 SegFormer、FeedFormer 和 SegNeXt。例如,在 ADE20K 上,U-MixFormer-B0 相比 SegFormer-B0 和 FeedFormer-B0 的 mIoU 分别高 3.8% 和 2.0%,计算量分别减少 27.3% 和 21.8%;在采用 MSCAN-T 编码器时,其 mIoU 比 SegNeXt 高 3.3%。代码可在 https://github.com/julian-klitzing/u-mixformer 获取。

英文摘要:

Semantic segmentation has witnessed remarkable advancements with the adaptation of the Transformer architecture. Parallel to the strides made by the Transformer, CNN-based U-Net has seen significant progress, especially in high-resolution medical imaging and remote sensing. This dual success inspired us to merge the strengths of both, leading to the inception of a U-Net-based vision transformer decoder tailored for efficient contextual encoding. Here, we propose a novel transformer decoder, U-MixFormer, built upon the U-Net structure, designed for efficient semantic segmentation. Our approach distinguishes itself from the previous transformer methods by leveraging lateral connections between the encoder and decoder stages as feature queries for the attention modules, apart from the traditional reliance on skip connections. Moreover, we innovatively mix hierarchical feature maps from various encoder and decoder stages to form a unified representation for keys and values, giving rise to our unique mix-attention module. Our approach demonstrates state-of-the-art performance across various configurations. Extensive experiments show that U-MixFormer outperforms SegFormer, FeedFormer, and SegNeXt by a large margin. For example, U-MixFormer-B0 surpasses SegFormer-B0 and FeedFormer-B0 with 3.8% and 2.0% higher mIoU and 27.3% and 21.8% less computation and outperforms SegNext with 3.3% higher mIoU with MSCAN-T encoder on ADE20K. Code available at https://github.com/julian-klitzing/u-mixformer.

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

↑