FreeMask: Synthetic Images with Dense Annotations Make Stronger Segmentation Models
Lihe Yang, Xiaogang Xu, Bingyi Kang, Yinghuan Shi, Hengshuang Zhao
Abstract
Semantic segmentation has witnessed tremendous progress due to the proposal of various advanced network architectures. However, they are extremely hungry for delicate annotations to train, and the acquisition is laborious and unaffordable. Therefore, we present FreeMask in this work, which resorts to synthetic images from generative models to ease the burden of both data collection and annotation procedures. Concretely, we first synthesize abundant training images conditioned on the semantic masks provided by realistic datasets. This yields extra well-aligned image-mask training pairs for semantic segmentation models. We surprisingly observe that, solely trained with synthetic images, we already achieve comparable performance with real ones (e.g., 48.3 vs. 48.5 mIoU on ADE20K, and 49.3 vs. 50.5 on COCO-Stuff). Then, we investigate the role of synthetic images by joint training with real images, or pre-training for real images. Meantime, we design a robust filtering principle to suppress incorrectly synthesized regions. In addition, we propose to inequally treat different semantic masks to prioritize those harder ones and sample more corresponding synthetic images for them. As a result, either jointly trained or pre-trained with our filtered and re-sampled synthesized images, segmentation models can be greatly enhanced, e.g., from 48.7 to 52.0 on ADE20K. Code is available at https://github.com/LiheYoung/FreeMask.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Image Understanding Makes for A Good Tokenizer for Image Generation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Image Understanding Makes for A Good Tokenizer for Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
- Image Understanding Makes for A Good Tokenizer for Image Generation cites Denoising Diffusion Probabilistic Models
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
- PLACE: Adaptive Layout-Semantic Fusion for Semantic Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- PLACE: Adaptive Layout-Semantic Fusion for Semantic Image Synthesis cites Denoising Diffusion Probabilistic Models
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Unleashing the Potential of the Diffusion Model in Few-shot Semantic Segmentation cites Generative Active Learning for Long-tailed Instance Segmentation
- ODGEN: Domain-specific Object Detection Data Generation with Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- ODGEN: Domain-specific Object Detection Data Generation with Diffusion Models cites Denoising Diffusion Probabilistic Models
- Generative Active Learning for Long-tailed Instance Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers21
- ODGEN: Domain-specific Object Detection Data Generation with Diffusion ModelsJingyuan Zhu, Shiyu Li, Yuxuan Liu, Jian Yuan et al.NeurIPS 2024 · 32 citations
- Unleashing the Potential of the Diffusion Model in Few-shot Semantic SegmentationMuzhi Zhu, Yang Liu, Zekai Luo, Chenchen Jing et al.NeurIPS 2024 · 31 citations
- Image Understanding Makes for A Good Tokenizer for Image GenerationLuting Wang, Yang Zhao, Zijian Zhang, Jiashi Feng et al.NeurIPS 2024 · 16 citations
- PLACE: Adaptive Layout-Semantic Fusion for Semantic Image SynthesisZhengyao Lv, Yuxiang Wei, Wangmeng Zuo, Kwan-Yee K. WongCVPR 2024 · 14 citations
- Generative Active Learning for Long-tailed Instance SegmentationMuzhi Zhu, Chengxiang Fan, Hao Chen, Yang Liu et al.ICML 2024 · 11 citations
Builds on39
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
Related papers
- MatchMask: Mask-Centric Generative Data Augmentation for Label-Scarce Semantic SegmentationYuqi Lin, Hao Zhang, Wenqi Shao, Shiqu Liu et al.CVPR 2026
- Free-Mask: A Novel Paradigm of Integration Between the Segmentation Diffusion Model and Image EditingBo Gao, Jianhui Wang, Xinyuan Song, Yangfan He et al.ACM MM 2025 · 1 citation
- DreamMask: Boosting Open-vocabulary Panoptic Segmentation with Synthetic DataYuanpeng Tu, Xi Chen, Ser-Nam Lim, Hengshuang ZhaoSIGGRAPH 2025
- DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion ModelsWeijia Wu, Yuzhong Zhao, Mike Zheng Shou, Hong Zhou et al.ICCV 2023 · 198 citations
- Semantic Image Synthesis with Unconditional GeneratorJungwoo Chae, Hyunin Cho, Sooyeon Go, Kyungmook Choi et al.NeurIPS 2023 · 6 citations
