mlsanityData to 7 Oct 2026

Devil is in the Detail: Towards Injecting Fine Details of Image Prompt in Image Generation via Conflict-free Guidance and Stratified Attention

arXiv 2508.02004 ↗First posted 4 Aug 2025cs.CVcited by 1

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

While large-scale text-to-image diffusion models enable the generation of high-quality, diverse images from text prompts, these prompts struggle to capture intricate details, such as textures, preventing the user intent from being reflected. This limitation has led to efforts to generate images conditioned on user-provided images, referred to as image prompts. Recent work modifies the self-attention mechanism to impose image conditions in generated images by replacing or concatenating the keys and values from the image prompt. This enables the self-attention layer to work like a cross-attention layer, generally used to incorporate text prompts. In this paper, we identify two common issues in existing methods of modifying self-attention to generate images that reflect the details of image prompts. First, existing approaches neglect the importance of image prompts in classifier-free guidance. Specifically, current methods use image prompts as both desired and undesired conditions in classifier-free guidance, causing conflicting signals. To resolve this, we propose conflict-free guidance by using image prompts only as desired conditions, ensuring that the generated image faithfully reflects the image prompt. In addition, we observe that the two most common self-attention modifications involve a trade-off between the realism of the generated image and alignment with the image prompt. Specifically, selecting more keys and values from the image prompt improves alignment, while selecting more from the generated image enhances realism. To balance both, we propose an new self-attention modification method, Stratified Attention to jointly use keys and values from both images rather than selecting between them. Through extensive experiments across three image generation tasks, we show that the proposed method outperforms existing image-prompting models in faithfully reflecting the image prompt.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 22 of its 23 references that are in the map. First posted on arXiv 4 Aug 2025.

Builds on

22 of 23 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
  2. 2024InstantID: Zero-shot Identity-Preserving Generation in Seconds15 Jan
  3. 2023Style Injection in Diffusion: A Training-free Approach for Adapting Large-scale Diffusion Models for Style Transfer11 Dec
  4. 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models13 Aug
  5. 2023Real-World Image Variation by Aligning Diffusion Inversion Chain30 May
  6. 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models25 May
  7. 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
  8. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug

Other references · 14

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  6. 2022Classifier-Free Diffusion Guidancecited by 5,717
  7. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  8. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  9. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  10. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
  11. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  12. 2024StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generationcited by 240
2 more
  1. 2023Style Aligned Image Generation via Shared Attentioncited by 214
  2. 2023SSR-Encoder: Encoding Selective Subject Representation for Subject-Driven Generationcited by 142

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement
  2. 2023Manipulating Embeddings of Stable Diffusion Prompts
  3. 2024Fast Personalized Text-to-Image Syntheses With Attention Injection
  4. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
  5. 2025Object-level Visual Prompts for Compositional Image Generation
  6. 2024Imagine yourself: Tuning-Free Personalized Image Generation
  7. 2024Visual Style Prompting with Swapping Self-Attention
  8. 2026Seeing is Believing: Aligning Prompt Rewriting with Visual Anchors for Text-to-Image Generation