paper-with-me

Papers

InvSeg: Test-Time Prompt Inversion for Semantic Segmentation

2024-10-15 · Jiayi Lin, Jiabo Huang, Jian Hu, Shaogang Gong

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.

📄 PDF Abstract BibTeX arXiv:2410.11473

Code (0)

등록된 구현이 없습니다.

Tasks

Image GenerationOpen Vocabulary Semantic SegmentationOpen-Vocabulary Semantic SegmentationSegmentationSemantic Segmentation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models

2023-12-19 · CVPR 2024 1 · Shweta Mahajan, Tanzila Rahman, Kwang Moo Yi, Leonid Sigal

The quality of the prompts provided to text-to-image diffusion models determines how faithful the generated content is to the user's intent, often requiring `prompt engineering'. To harness visual concepts from target im…

Image GenerationPrompt Engineering

TweezeEdit: Consistent and Efficient Image Editing with Path Regularization

2025-08-14 · Jianda Mao, Kaibo Wang, Yang Xiang, Kani Chen arxiv

Large-scale pre-trained diffusion models empower users to edit images through text guidance. However, existing methods often over-align with target prompts while inadequately preserving source image semantics. Such appro…

Image Editing

Unpaired Multi-Domain Histopathology Virtual Staining using Dual Path Prompted Inversion

2024-12-15 · Bing Xiong, Yue Peng, Ranran Zhang, Fuqiang Chen 외

Virtual staining leverages computer-aided techniques to transfer the style of histochemically stained tissue samples to other staining types. In virtual staining of pathological images, maintaining strict structural cons…

DiagnosticDisentanglementPrompt LearningStyle Transfer+1

Prompt-Guided Dual Latent Steering for Inversion Problems

2025-09-23 · Yichen Wu, Xu Liu, Chenxuan Zhao, Xinyu Wu arxiv

Inverting corrupted images into the latent space of diffusion models is challenging. Current methods, which encode an image into a single latent vector, struggle to balance structural fidelity with semantic accuracy, lea…

What do we learn from inverting CLIP models?

2024-03-05 · Hamid Kazemi, Atoosa Chegini, Jonas Geiping, Soheil Feizi 외

We employ an inversion-based approach to examine CLIP models. Our examination reveals that inverting CLIP models results in the generation of images that exhibit semantic alignment with the specified target prompts. We l…