Skip to main content
QUICK REVIEW

[论文解读] Explore In-Context Segmentation via Latent Diffusion Models

Chaoyang Wang, Xiangtai Li|arXiv (Cornell University)|Mar 14, 2024
Web Data Mining and AnalysisComputer Science被引用 3
一句话总结

本文提出 Ref LDM-Seg,一种用于少样本图像与视频分割的极简潜在扩散模型框架,该框架利用视觉提示而非文本提示或额外网络。通过强调输出对齐与少样本指令设计,该方法在少样本分割基准上实现了最先进性能,表明尽管生成任务与分割任务之间存在任务差距,潜在扩散模型仍可有效执行分割任务。

ABSTRACT

In-context segmentation has drawn increasing attention with the advent of vision foundation models. Its goal is to segment objects using given reference images. Most existing approaches adopt metric learning or masked image modeling to build the correlation between visual prompts and input image queries. This work approaches the problem from a fresh perspective - unlocking the capability of the latent diffusion model (LDM) for in-context segmentation and investigating different design choices. Specifically, we examine the problem from three angles: instruction extraction, output alignment, and meta-architectures. We design a two-stage masking strategy to prevent interfering information from leaking into the instructions. In addition, we propose an augmented pseudo-masking target to ensure the model predicts without forgetting the original images. Moreover, we build a new and fair in-context segmentation benchmark that covers both image and video datasets. Experiments validate the effectiveness of our approach, demonstrating comparable or even stronger results than previous specialist or visual foundation models. We hope our work inspires others to rethink the unification of segmentation and generation.

研究动机与目标

  • 探究潜在扩散模型(LDMs)是否可在无需额外神经网络或文本提示的情况下执行少样本分割。
  • 识别适用于 LDM 基少样本分割的最优元架构。
  • 评估少样本指令与输出对齐对分割质量的影响。
  • 建立一个公平、参数量受限的少样本分割基准,涵盖图像与视频数据。
  • 在极简、端到端的框架中统一 LDM 的生成能力与分割等感知任务。

提出的方法

  • 提出两种元架构:Ref LDM-Seg-f(在像素空间与潜在空间均优化)与 Ref LDM-Seg-n,二者在输入构型与去噪策略上有所不同。
  • 通过伪掩码建模提出一种新颖的输出对齐策略,以在潜在空间中对齐二值分割掩码与三通道图像生成。
  • 采用一种简单而有效的视觉提示指令提取方法,以引导扩散过程,完全不依赖文本。
  • 采用极简设计,仅依赖 LDM 主干网络,避免使用额外编码器或解码器。
  • 应用两种不同的优化目标:一种在像素空间,一种在潜在空间,以提升分割掩码生成的保真度。
  • 设计一个新的少样本分割基准,包含图像与视频数据集(如 PASCAL、COCO 与 VSPW),以支持公平评估。

实验结果

研究问题

  • RQ1潜在扩散模型是否可在无需额外神经网络或文本提示的情况下有效执行少样本分割?
  • RQ2在性能与鲁棒性方面,Ref LDM-Seg-f 与 Ref LDM-Seg-n 哪种元架构更适合少样本分割?
  • RQ3少样本指令与输出对齐如何影响基于 LDM 模型的分割质量?
  • RQ4模型规模与分辨率对基于 LDM 的少样本分割有何影响,特别是在不同元架构之间?
  • RQ5极简的 LDM 基框架在少样本与分布外分割任务中具有多大程度的泛化能力?

主要发现

  • Ref LDM-Seg-f 在 PASCAL-5i 上达到 63.3 mIoU,使用五条少样本指令后性能趋于饱和。
  • 在 COCO-20i 少样本分割基准上,该模型比专用模型与通用基础模型(如 PerSAM)高出约 30% mIoU。
  • Ref LDM-Seg-f 在分布外的 FSS1000 数据集上达到 69.8 mIoU,展现出强大的泛化能力。
  • 输出对齐对性能至关重要,采用所提出的伪掩码建模策略后观察到显著性能提升。
  • SDXL 初始化对 Ref LDM-Seg-f 有益,但对 Ref LDM-Seg-n 有害,表明 LDM 中生成与分割任务之间存在任务差距。
  • 该模型对错误指令具有鲁棒性,并在视频分割任务中于各类场景与类别下均保持高性能。

阅读本论文

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

在 Nubint 中阅读本论文

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