MosaicFusion: Diffusion Models as Data Augmenters for Large Vocabulary Instance Segmentation

Jiahao Xie, Wei Li, Xiangtai Li, Ziwei Liu, Yew Soon Ong +1 more
9/22/2023
cs.CVcs.AIcs.LG

Official code: Jiahao000/MosaicFusion (129 stars, PyTorch, last commit 2024-10-08).

Abstract

We present MosaicFusion, a simple yet effective diffusion-based data augmentation approach for large vocabulary instance segmentation. Our method is training-free and does not rely on any label supervision. Two key designs enable us to employ an off-the-shelf text-to-image diffusion model as a useful dataset generator for object instances and mask annotations. First, we divide an image canvas into several regions and perform a single round of diffusion process to generate multiple instances simultaneously, conditioning on different text prompts. Second, we obtain corresponding instance masks by aggregating cross-attention maps associated with object prompts across layers and diffusion time steps, followed by simple thresholding and edge-aware refinement processing. Without bells and whistles, our MosaicFusion can produce a significant amount of synthetic labeled data for both rare and novel categories. Experimental results on the challenging LVIS long-tailed and open-vocabulary benchmarks demonstrate that MosaicFusion can significantly improve the performance of existing instance segmentation models, especially for rare and novel categories. Code: https://github.com/Jiahao000/MosaicFusion.

View on arXivView PDF

Code Implementations(1)

PyTorch

[IJCV 2024] MosaicFusion: Diffusion Models as Data Augmenters for Large Vocabulary Instance Segmentation

1293Shell, PythonSep 24, 20232 years agoNOASSERTION
diffusion-modelsinstance-segmentationlong-tailedobject-detectionopen-vocabulary+1 more

Similar Papers

Cite this paper

@article{xie2023mosaicfusion,
  title  = {MosaicFusion: Diffusion Models as Data Augmenters for Large Vocabulary Instance Segmentation},
  author = {Jiahao Xie and Wei Li and Xiangtai Li and Ziwei Liu and Yew Soon Ong and Chen Change Loy},
  year   = {2023},
  eprint = {2309.13042},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.13042v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.13042.svg)](https://codeofpaper.com/paper/2309.13042)

Discussion