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

SegMAN:基于状态空间模型与局部注意力的全尺度上下文建模用于语义分割

SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentation

School of Computing and Data Science, The University of Hong Kong(香港大学计算与数据科学学院)

Yunxiang Fu, Meng Lou, Yizhou Yu

AI总结:

本文提出SegMAN,一种线性时间语义分割模型,通过混合编码器整合滑动局部注意力与动态状态空间模型,实现高效全局上下文建模与局部细节保留,并在多个基准上取得领先性能。

摘要:

高质量的语义分割依赖于三个关键能力:全局上下文建模、局部细节编码和多尺度特征提取。然而,近期的方法难以同时具备所有这些能力。因此,我们旨在赋予分割网络同时进行高效的全局上下文建模、高质量的局部细节编码以及针对不同输入分辨率的丰富多尺度特征表示的能力。在本文中,我们引入了SegMAN,一种新颖的线性时间模型,包含一个名为SegMAN编码器的混合特征编码器,以及一个基于状态空间模型的解码器。具体而言,SegMAN编码器协同整合了滑动局部注意力与动态状态空间模型,能够在保持细粒度局部细节的同时实现高效的全局上下文建模。同时,我们解码器中的MMSCopE模块增强了多尺度上下文特征提取,并随输入分辨率自适应缩放。我们的SegMAN-B编码器在ImageNet-1k上达到85.1%的准确率(相比VMamba-S参数更少,提升1.5%)。当与我们的解码器配对时,完整的SegMAN-B模型在ADE20K上达到52.6%的mIoU(相比SegNeXt-L提升1.6%,GFLOPs减少15%),在Cityscapes上达到83.8%的mIoU(相比SegFormer-B3提升2.1%,GFLOPs减半),在COCO-Stuff上比VWFormer-B3的mIoU高1.6%,且GFLOPs更低。我们的代码可在https://github.com/yunxiangfu2001/SegMAN获取。

英文摘要:

High-quality semantic segmentation relies on three key capabilities: global context modeling, local detail encoding, and multi-scale feature extraction. However, recent methods struggle to possess all these capabilities simultaneously. Hence, we aim to empower segmentation networks to simultaneously carry out efficient global context modeling, high-quality local detail encoding, and rich multi-scale feature representation for varying input resolutions. In this paper, we introduce SegMAN, a novel linear-time model comprising a hybrid feature encoder dubbed SegMAN Encoder, and a decoder based on state space models. Specifically, the SegMAN Encoder synergistically integrates sliding local attention with dynamic state space models, enabling highly efficient global context modeling while preserving fine-grained local details. Meanwhile, the MMSCopE module in our decoder enhances multi-scale context feature extraction and adaptively scales with the input resolution. Our SegMAN-B Encoder achieves 85.1% ImageNet-1k accuracy (+1.5% over VMamba-S with fewer parameters). When paired with our decoder, the full SegMAN-B model achieves 52.6% mIoU on ADE20K (+1.6% over SegNeXt-L with 15% fewer GFLOPs), 83.8% mIoU on Cityscapes (+2.1% over SegFormer-B3 with half the GFLOPs), and 1.6% higher mIoU than VWFormer-B3 on COCO-Stuff with lower GFLOPs. Our code is available at https://github.com/yunxiangfu2001/SegMAN.

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

↑