InvSeg: Test-Time Prompt Inversion for Semantic Segmentation
Proceedings of the AAAI Conference on Artificial Intelligence · 11.04.2025 · 39 (5) · 5245-5253
DOI: 10.1609/aaai.v39i5.32557 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 11.04.2025. Verfasst von Jiayi Lin und 3 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref).
Abstract (Originalsprache)
Visual-textual correlations in the attention maps derived from text-to-image diffusion models are proven beneficial to dense visual prediction tasks, e.g., semantic segmentation. However, a significant challenge arises due to the input distributional discrepancy between the context-rich sentences used for image generation and the isolated class names typically used in semantic segmentation. This discrepancy hinders diffusion models from capturing accurate visual-textual correlations. To solve this, we propose InvSeg, a test-time prompt inversion method that tackles open-vocabulary semantic segmentation by inverting image-specific visual context into text prompt embedding space, leveraging structure information derived from the diffusion model's reconstruction process to enrich text prompts so as to associate each class with a structure-consistent mask. Specifically, we introduce Contrastive Soft Clustering (CSC) to align derived masks with the image's structure information, softly selecting anchors for each class and calculating weighted distances to push inner-class pixels closer while separating inter-class pixels, thereby ensuring mask distinction and internal consistency. By incorporating sample-specific context, InvSeg learns context-rich text prompts in embedding space and achieves accurate semantic alignment across modalities. Experiments show that InvSeg achieves state-of-the-art performance on the PASCAL VOC, PASCAL Context and COCO Object datasets.
Zitieren
APA
Lin, J., Huang, J., Hu, J., & Gong, S. (2025). InvSeg: Test-Time Prompt Inversion for Semantic Segmentation. Proceedings of the AAAI Conference on Artificial Intelligence, 39(5), 5245-5253. https://doi.org/10.1609/aaai.v39i5.32557
Vancouver
Lin J, Huang J, Hu J, Gong S. InvSeg: Test-Time Prompt Inversion for Semantic Segmentation. Proceedings of the AAAI Conference on Artificial Intelligence. 2025;39(5):5245-5253. doi:10.1609/aaai.v39i5.32557
BibTeX
@article{Lin2025,
author = {Lin, Jiayi and Huang, Jiabo and Hu, Jian and Gong, Shaogang},
title = {InvSeg: Test-Time Prompt Inversion for Semantic Segmentation},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2025},
volume = {39},
number = {5},
pages = {5245--5253},
doi = {10.1609/aaai.v39i5.32557}
}
EUVIMED