arXiv:2603.19575cs.CV2026-03TPAMI

用扩散模型自动生成带正负样本的分割数据集,提升开放世界分割性能

MagicSeg: Open-World Segmentation Pretraining via Counterfactural Diffusion-Based Auto-Generation

  • 基于类别标签生成图文描述,驱动扩散模型产图并配对反事实负样本
  • 在PASCAL VOC、Context、COCO上分别达到62.9%、26.7%、40.2%新高
  • 适合需要大规模弱标注数据的开放世界分割研究者使用

当前开放世界语义分割严重依赖大量图像-文本对数据集,但这类数据常缺乏足够类别的细粒度像素标注,且人工标注成本高昂。鉴于扩散模型强大的图像生成能力,我们提出一种基于扩散模型的自动数据生成流水线MagicSeg,专为开放世界语义分割定制。MagicSeg从类别标签出发,生成高质量文本描述,进而引导扩散模型生成图像。不同于仅生成正样本,该流程同步生成对应反事实负样本,用于对比学习训练。为提供自监督信号,MagicSeg集成开放词汇检测模型与交互式分割模型,基于类别标签从图像中提取精确掩码作为分割标签。将该数据应用于对比语言-图像预训练模型,并结合伪掩码监督与辅助反事实对比训练,下游模型在开放世界分割任务上表现强劲。我们在PASCAL VOC、PASCAL Context和COCO上评估,分别取得62.9%、26.7%、40.2%的准确率,验证了数据集在提升开放世界分割能力方面的有效性。

原文摘要 · Abstract (English)

Open-world semantic segmentation presently relies significantly on extensive image-text pair datasets, which often suffer from a lack of fine-grained pixel annotations on sufficient categories. The acquisition of such data is rendered economically prohibitive due to the substantial investments of both human labor and time. In light of the formidable image generation capabilities of diffusion models, we introduce a novel diffusion model-driven pipeline for automatically generating datasets tailored to the needs of open-world semantic segmentation, named "MagicSeg". Our MagicSeg initiates from class labels and proceeds to generate high-fidelity textual descriptions, which in turn serve as guidance for the diffusion model to generate images. Rather than only generating positive samples for each label, our process encompasses the simultaneous generation of corresponding negative images, designed to serve as paired counterfactual samples for contrastive training. Then, to provide a self-supervised signal for open-world segmentation pretraining, our MagicSeg integrates an open-vocabulary detection model and an interactive segmentation model to extract object masks as precise segmentation labels from images based on the provided category labels. By applying our dataset to the contrastive language-image pretraining model with the pseudo mask supervision and the auxiliary counterfactual contrastive training, the downstream model obtains strong performance on open-world semantic segmentation. We evaluate our model on PASCAL VOC, PASCAL Context, and COCO, achieving SOTA with performance of 62.9%, 26.7%, and 40.2%, respectively, demonstrating our dataset's effectiveness in enhancing open-world semantic segmentation capabilities. Project website: https://github.com/ckxhp/magicseg.

开放世界分割扩散模型自监督数据生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。