Skip to main content
QUICK REVIEW

[论文解读] MSDNet: Multi-Scale Decoder for Few-Shot Semantic Segmentation via Transformer-Guided Prototyping

Amirreza Fateh, Mohammad Reza Mohammadi|arXiv (Cornell University)|Sep 17, 2024
Image Processing and 3D ReconstructionComputer Science被引用 3
一句话总结

MSDNet 提出了一种轻量级、基于 Transformer 引导的 few-shot 语义分割框架,通过集成多尺度解码器、上下文掩码生成和空间 Transformer 解码器,增强了支持图像与查询图像之间的关系理解。通过利用中间编码器特征并在多个分辨率下优化预测,该方法仅使用 150 万个参数即在 1-shot 设置下于 COCO-20$^{i}$ 上实现了 70.4% 的 FB-IoU,达到当前最先进性能。

ABSTRACT

Few-shot Semantic Segmentation addresses the challenge of segmenting objects in query images with only a handful of annotated examples. However, many previous state-of-the-art methods either have to discard intricate local semantic features or suffer from high computational complexity. To address these challenges, we propose a new Few-shot Semantic Segmentation framework based on the Transformer architecture. Our approach introduces the spatial transformer decoder and the contextual mask generation module to improve the relational understanding between support and query images. Moreover, we introduce a multi scale decoder to refine the segmentation mask by incorporating features from different resolutions in a hierarchical manner. Additionally, our approach integrates global features from intermediate encoder stages to improve contextual understanding, while maintaining a lightweight structure to reduce complexity. This balance between performance and efficiency enables our method to achieve competitive results on benchmark datasets such as PASCAL-5^i and COCO-20^i in both 1-shot and 5-shot settings. Notably, our model with only 1.5 million parameters demonstrates competitive performance while overcoming limitations of existing methodologies. https://github.com/amirrezafateh/MSDNet

研究动机与目标

  • 解决基于原型和像素级 few-shot 语义分割方法的局限性,包括局部语义细节丢失和计算复杂度高的问题。
  • 通过更有效地建模空间和上下文关系,提升支持图像与查询图像之间的关系理解能力。
  • 通过分层多尺度特征优化提升分割精度,同时保持计算效率。
  • 将中间编码器阶段的全局上下文特征整合到解码器中,以增强特征表示,而不增加模型复杂度。
  • 开发一种轻量级架构,在极低数据场景下实现最先进性能,且参数量极少。

提出的方法

  • 提出一种空间 Transformer 解码器(STD),利用从支持原型中提取的可学习查询嵌入,建模查询特征图中跨图像的关系。
  • 引入上下文掩码生成(CMGM)模块,通过支持图像中的全局和局部上下文生成注意力掩码,以指导特征优化。
  • 采用在不同阶段使用残差块的多尺度解码器,通过多分辨率特征逐步优化分割掩码。
  • 将中间编码器层的全局特征融入解码器,以增强上下文理解并改善边界定位。
  • 使用共享主干网络进行基于原型的特征抽象,随后将解码器输出与原型特征进行逐元素融合,以生成最终的分割预测。
  • 通过调整每阶段的残差块数量对网络架构进行优化,发现每阶段使用三个残差块可在性能与复杂度之间取得最佳平衡。

实验结果

研究问题

  • RQ1如何在不增加计算成本的前提下,提升 few-shot 语义分割中支持图像与查询图像之间的关系理解?
  • RQ2在低样本设置下,集成多尺度特征优化对分割精度有何影响?
  • RQ3具有分层特征融合的轻量级解码器架构能否在保持极低参数量的同时超越现有最先进方法?
  • RQ4在解码器中使用中间编码器特征对 few-shot 语义分割的性能和泛化能力有何影响?
  • RQ5在多尺度解码器中,每阶段的残差块最优深度为何值,才能在精度与效率之间实现最佳平衡?

主要发现

  • 多尺度解码器对性能提升贡献最大,在 COCO-20$^{i}$ 的 1-shot 设置下,将 mIoU 从基线的 59.7% 提升至 70.4%。
  • 完整模型在所有组件均启用的情况下,在 COCO-20$^{i}$ 上达到 70.4% 的 FB-IoU,在 PASCAL-5$^{i}$ 上达到 67.6% 的 FB-IoU,展现出最先进性能。
  • 在多尺度解码器中每阶段使用三个残差块时性能最佳(FB-IoU 为 70.4%),优于使用一个、两个或四个残差块的配置。
  • 模型仅使用 150 万个参数即取得具有竞争力的结果,证明了其在强大性能下仍具备高度效率。
  • 消融实验确认,CMGM、STD 和多尺度解码器各组件在所有折数中均对性能提升有逐步贡献。
  • 定性结果表明,多尺度解码器显著提升了边界定位精度并减少了噪声,尤其在复杂物体上表现突出。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。