paper-with-me

홈 › Papers

Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing

2024-03-06 · CVPR 2024 1 · Bingyan Liu, Chengyu Wang, Tingfeng Cao, Kui Jia, Jun Huang

Deep Text-to-Image Synthesis (TIS) models such as Stable Diffusion have recently gained significant popularity for creative Text-to-image generation. Yet, for domain-specific scenarios, tuning-free Text-guided Image Editing (TIE) is of greater importance for application developers, which modify objects or object properties in images by manipulating feature components in attention layers during the generation process. However, little is known about what semantic meanings these attention layers have learned and which parts of the attention maps contribute to the success of image editing. In this paper, we conduct an in-depth probing analysis and demonstrate that cross-attention maps in Stable Diffusion often contain object attribution information that can result in editing failures. In contrast, self-attention maps play a crucial role in preserving the geometric and shape details of the source image during the transformation to the target image. Our analysis offers valuable insights into understanding cross and self-attention maps in diffusion models. Moreover, based on our findings, we simplify popular image editing methods and propose a more straightforward yet more stable and efficient tuning-free procedure that only modifies self-attention maps of the specified attention layers during the denoising process. Experimental results show that our simplified method consistently surpasses the performance of popular approaches on multiple datasets.

📄 PDF Abstract BibTeX arXiv:2403.03431

Code (0)

등록된 구현이 없습니다.

Tasks

DenoisingImage Generationtext-guided-image-editingText to Image GenerationText-to-Image Generation

Methods 이 논문이 사용한 방법론

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…

Similar Papers 제목 키워드 기반

Self-Cross Diffusion Guidance for Text-to-Image Synthesis of Similar Subjects

2024-11-28 · CVPR 2025 1 · Weimin Qiu, Jieke Wang, Meng Tang

Diffusion models have achieved unprecedented fidelity and diversity for synthesizing image, video, 3D assets, etc. However, subject mixing is a known and unresolved issue for diffusion-based image synthesis, particularly…

Image Generation

Dependability Evaluation of Stable Diffusion with Soft Errors on the Model Parameters

2024-03-30 · Zhen Gao, Lini Yuan, Pedro Reviriego, Shanshan Liu 외

Stable Diffusion is a popular Transformer-based model for image generation from text; it applies an image information creator to the input text and the visual knowledge is added in a step-by-step fashion to create an ima…

Image Generation

Gen-AI Police Sketches with Stable Diffusion

2025-07-24 · Nicholas Fidalgo, Aaron Contreras, Katherine Harvey, Johnny Ni arxiv

This project investigates the use of multimodal AI-driven approaches to automate and enhance suspect sketching. Three pipelines were developed and evaluated: (1) baseline image-to-image Stable Diffusion model, (2) same m…

iSeg: An Iterative Refinement-based Framework for Training-free Segmentation

2024-09-05 · Lin Sun, Jiale Cao, Jin Xie, Fahad Shahbaz Khan 외

Stable diffusion has demonstrated strong image synthesis ability to given text descriptions, suggesting it to contain strong semantic clue for grouping objects. The researchers have explored employing stable diffusion fo…

Image GenerationSegmentationSemantic SegmentationUnsupervised Semantic Segmentation

SeeDiff: Off-the-Shelf Seeded Mask Generation from Diffusion Models

2025-07-26 · Joon Hyun Park, Kumju Jo, Sungyong Baik arxiv

Entrusted with the goal of pixel-level object classification, the semantic segmentation networks entail the laborious preparation of pixel-level annotation masks. To obtain pixel-level annotation masks for a given class …

Semantic SegmentationObject Localization