Diffusion Model is Secretly a Training-Free Open Vocabulary Semantic Segmenter

被引:0
作者
Wang, Jinglong [1 ]
Li, Xiawei [2 ]
Zhang, Jing [1 ]
Xu, Qingyuan [1 ]
Zhou, Qin [1 ]
Yu, Qian [1 ]
Sheng, Lu [1 ]
Xu, Dong [3 ]
机构
[1] Beihang Univ, Sch Software, Beijing 100191, Peoples R China
[2] Baidu, Business Res & Dev Dept, Beijing 100193, Peoples R China
[3] Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
Diffusion models; Semantics; Training; Shape; Vocabulary; Data models; Noise reduction; Text to image; Data mining; Stable diffusion; open-vocabulary; semantic segmentation;
D O I
10.1109/TIP.2025.3551648
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The pre-trained text-image discriminative models, such as CLIP, has been explored for open-vocabulary semantic segmentation with unsatisfactory results due to the loss of crucial localization information and awareness of object shapes. Recently, there has been a growing interest in expanding the application of generative models from generation tasks to semantic segmentation. These approaches utilize generative models either for generating annotated data or extracting features to facilitate semantic segmentation. This typically involves generating a considerable amount of synthetic data or requiring additional mask annotations. To this end, we uncover the potential of generative text-to-image diffusion models (e.g., Stable Diffusion) as highly efficient open-vocabulary semantic segmenters, and introduce a novel training-free approach named DiffSegmenter. The insight is that to generate realistic objects that are semantically faithful to the input text, both the complete object shapes and the corresponding semantics are implicitly learned by diffusion models. We discover that the object shapes are characterized by the self-attention maps while the semantics are indicated through the cross-attention maps produced by the denoising U-Net, forming the basis of our segmentation results. Additionally, we carefully design effective textual prompts and a category filtering mechanism to further enhance the segmentation results. Extensive experiments on three benchmark datasets show that the proposed DiffSegmenter achieves impressive results for open-vocabulary semantic segmentation.
引用
收藏
页码:1895 / 1907
页数:13
相关论文
共 59 条
[1]   Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relations [J].
Ahn, Jiwoon ;
Cho, Sunghyun ;
Kwak, Suha .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :2204-2213
[2]  
Amit T, 2022, Arxiv, DOI [arXiv:2112.00390, 10.48550/arXiv.2112.00390]
[3]  
[Anonymous], NIPS 2011
[4]   The edge-effect in induction welding of thermoplastic composites [J].
Barazanchy, Darun ;
Pandher, Jaspreet ;
van Tooren, Michel .
AIAA SCITECH 2021 FORUM, 2021,
[5]   Variational Inference: A Review for Statisticians [J].
Blei, David M. ;
Kucukelbir, Alp ;
McAuliffe, Jon D. .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 2017, 112 (518) :859-877
[6]   MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing [J].
Cao, Mingdeng ;
Wang, Xintao ;
Qi, Zhongang ;
Shan, Ying ;
Qie, Xiaohu ;
Zheng, Yinqiang .
2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, :22503-22513
[7]   Learning to Generate Text-grounded Mask for Open-world Semantic Segmentation from Only Image-Text Pairs [J].
Cha, Junbum ;
Mun, Jonghwan ;
Roh, Byungseok .
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, :11165-11174
[8]   Weakly-Supervised Semantic Segmentation via Sub-category Exploration [J].
Chang, Yu-Ting ;
Wang, Qiaosong ;
Hung, Wei-Chih ;
Piramuthu, Robinson ;
Tsai, Yi-Hsuan ;
Yang, Ming-Hsuan .
2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2020), 2020, :8988-8997
[9]   Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models [J].
Chefer, Hila ;
Alaluf, Yuval ;
Vinker, Yael ;
Wolf, Lior ;
Cohen-Or, Daniel .
ACM TRANSACTIONS ON GRAPHICS, 2023, 42 (04)
[10]   Class Re-Activation Maps for Weakly-Supervised Semantic Segmentation [J].
Chen, Zhaozheng ;
Wang, Tan ;
Wu, Xiongwei ;
Hua, Xian-Sheng ;
Zhang, Hanwang ;
Sun, Qianru .
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, :959-968