[論文レビュー] U-MixFormer: UNet-like Transformer with Mix-Attention for Efficient Semantic Segmentation
UNet風のトランスフォーマーデコーダを導入し、ミックスアテンション機構で多段階のエンコーダ/デコーダ特徴を統合して、異なるエンコーダとデータセットでセマンティックセグメンテーションの効率と精度を向上させる。
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.
研究の動機と目的
- U-Net とビジョン・トランスフォーマーの長所を組み合わせて効率的なセマンティックセグメンテーションを実現する。
- エンコーダ側の側方特徴をクエリとして、マルチステージの混合特徴をキー/バリューとして用いるデコーダを設計する。
- CNN ベース・トランスフォーマー基盤のエンコーダの両方との互換性を確保しつつ、文脈と境界を改善する。
- ADE20K と Cityscapes で最先端の効率-精度トレードオフを示す。
提案手法
- 各ステージで側方エンコーダ特徴をクエリとして用いる UNet 風トランスフォーマーデコーダを提案する。
- マルチスケールのエンコーダ特徴とデコーダ特徴の混成からキー/バリューを構築する mix-attention を導入する。
- 連結前に空間的削減(AvgPool と線形射影)を介してステージ間の特徴マップを揃え、X_kv に結合する。
- ステージ間で明示的なアップサンプリングなしにデコーダ特徴を伝播させ、U-Net の進行を模倣する。
- デコーダ出力を連結し MLP を適用してセグメンテーションを予測する。
- 複数のエンコーダ(MiT、LVT、MSCAN)で評価し、Cityscapes-C における破損耐性にも頑健であることを示す。

実験結果
リサーチクエスチョン
- RQ1UNet に着想を得たトランスフォーマーデコーダと mix-attention が、従来のクロス/自己注意デコーダよりセグメンテーションの品質と効率を改善できるか。
- RQ2キー/バリューに対するマルチスケール特徴の混合が、セマンティックセグメンテーションの文脈モデリングと境界の描写にどう影響するか。
- RQ3提案デコーダがCNN系およびトランスフォーマー系エンコーダの両方と互換性を持ちつつ、一貫した利得をもたらすか。
- RQ4mix-attention と UNet風デコーディングが画像の破損耐性に与える影響はどうか。
- RQ5MiT-B3/4/5 のような大きいエンコーダバックボーンと U-MixFormer の組み合わせが mIoU と計算量に与える影響は。
主な発見
- U-MixFormer-B0 は ADE20K で 41.2 mIoU、パラメータ 6.1M、GFLOPs 6.1、SegFormer-B0 および FeedFormer-B0 よりそれぞれ 3.8%、2.0% ポイントの mIoU 向上を、計算量を削減しつつ達成。
- LVT エンコーダで mIoU が 43.7 に、MSCAN-T では 44.4 に改善し、FLOPs も競争力を維持。
- ADE20K のヘビーエンコーダで MiT-B3/4/5 はそれぞれ 49.8、50.4、51.9 mIoU に達し、同等手法と比較して FLOPs を大幅に削減。
- MiT-B4/5 を用いた U-MixFormer+ は 51.2–52.0 mIoU の Incremental 成果を、コスト増加を抑えつつ示し、エンコーダ深さとスケーラビリティを示す。
- Cityscapes では強力な向上を示し、LVT で最大 79.9 mIoU、MSCAN-S で 81.0 mIoU を達成し、多くのベースラインより低い FLOPs を維持。
- アブレーション研究により、mix-attention と UNet 風デコーディングが自己注意/クロス注意のいずれか単独より最良の性能(41.2 mIoU)を提供することを確認。
- Cityscapes-C の破損耐性は SegFormer および FeedFormer より U-MixFormer を有利にし、多様な破損条件下での信頼性が高いことを示す。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。