StyleKeeper: Prevent Content Leakage using Negative Visual Query Guidance
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
In the domain of text-to-image generation, diffusion models have emerged as powerful tools. Recently, studies on visual prompting, where images are used as prompts, have enabled more precise control over style and content. However, existing methods often suffer from content leakage, where undesired elements of the visual style prompt are transferred along with the intended style. To address this issue, we 1) extend classifier-free guidance (CFG) to utilize swapping self-attention and propose 2) negative visual query guidance (NVQG) to reduce the transfer of unwanted contents. NVQG employs negative score by intentionally simulating content leakage scenarios that swap queries instead of key and values of self-attention layers from visual style prompts. This simple yet effective method significantly reduces content leakage. Furthermore, we provide careful solutions for using a real image as visual style prompts. Through extensive evaluation across various styles and text prompts, our method demonstrates superiority over existing approaches, reflecting the style of the references, and ensuring that resulting images match the text prompts. Our code is available hrefhttps://github.com/naver-ai/StyleKeeperhere.
Key facts. Cited by 6 papers 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 55 of its 63 references that are in the map. First posted on arXiv 8 Oct 2025.
Builds on
55 of 63 references.
Closest ancestors · 18
Same direction, newest first
- 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features4 Oct
- 2024CSGO: Content-Style Composition in Text-to-Image Generation29 Aug
- 2024ReNoise: Real Image Inversion Through Iterative Noising21 Mar
- 2023Style Injection in Diffusion: A Training-free Approach for Adapting Large-scale Diffusion Models for Style Transfer11 Dec
- 2023Inversion-Free Image Editing with Natural Language7 Dec
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models13 Aug
- 2023Improving Tuning-Free Real Image Editing with Proximal Guidance8 Jun
- 2023Negative-prompt Inversion: Fast Image Inversion for Editing with Text-guided Diffusion Models26 May
- 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulations12 Apr
- 2023Training-free Content Injection using h-space in Diffusion Models27 Mar
- 2023Highly Personalized Text Embedding for Image Manipulation by Stable Diffusion15 Mar
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
6 more
- 2023GLIGEN: Open-Set Grounded Text-to-Image Generation17 Jan
- 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
- 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
Other references · 37
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
25 more
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
- 2022Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generationcited by 958
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
- 2015A Neural Algorithm of Artistic Stylecited by 480
- 2022Diffusion Models already have a Semantic Latent Spacecited by 324
- 2022EDICT: Exact Diffusion Inversion via Coupled Transformationscited by 256
- 2023Rerender A Video: Zero-Shot Text-Guided Video-to-Video Translationcited by 253
- 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
- 2023Break-A-Scene: Extracting Multiple Concepts from a Single Imagecited by 230
- 2023Style Aligned Image Generation via Shared Attentioncited by 214
- 2018Arbitrary Style Transfer with Style-Attentional Networkscited by 197
- 2021StyTr2: Image Style Transfer with Transformerscited by 186
- 2021AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfercited by 178
- 2024InstantStyle: Free Lunch towards Style-Preserving in Text-to-Image Generationcited by 166
- 2024CFG++: Manifold-constrained Classifier Free Guidance for Diffusion Modelscited by 138
- 2023Cross-Image Attention for Zero-Shot Appearance Transfercited by 135
- 2023Understanding the Latent Space of Diffusion Models through the Lens of Riemannian Geometrycited by 121
- 2018Avatar-Net: Multi-scale Zero-shot Style Transfer by Feature Decorationcited by 115
- 2018NSML: Meet the MLaaS platform with a real-world case studycited by 70
- 2023ImageBrush: Learning Visual In-Context Instructions for Exemplar-Based Image Manipulationcited by 59
- 2024InstantStyle-Plus: Style Transfer with Content-Preserving in Text-to-Image Generationcited by 51
- 2019Attention-aware Multi-stroke Style Transfercited by 47
- 2017NSML: A Machine Learning Platform That Enables You to Focus on Your Modelscited by 34
- 2023Visual Instruction Inversion: Image Editing via Visual Promptingcited by 26
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2026Breaking Lock-In: Preserving Steerability under Low-Data VLA Post-Trainingcited by 6
- 2026CleanStyle: Plug-and-Play Style Conditioning Purification for Text-to-Image Stylizationcited by 3
- 2025LouvreSAE: Sparse Autoencoders for Interpretable and Controllable Style Transfercited by 1
- 2025FROMAT: Multiview Material Appearance Transfer via Few-Shot Self-Attention Adaptationcited by 0
- 2026SafeStyle: Calibrated Style Residual Injection for Controllable Style-Leakage Trade-off in Diffusion Stylizationcited by 0
- 2026Beyond Emotion Prompts: Fine-Grained Text-to-Image Generation Driven by Valence-Arousal-Dominancecited by 0
- 2026Beyond Emotion Prompts: Fine-Grained Text-to-Image Generation Driven by Valence-Arousal-Dominance21 Sep 2026
- 2026SafeStyle: Calibrated Style Residual Injection for Controllable Style-Leakage Trade-off in Diffusion Stylization18 Sep 2026
- 2026Breaking Lock-In: Preserving Steerability under Low-Data VLA Post-Training25 Apr 2026
- 2026CleanStyle: Plug-and-Play Style Conditioning Purification for Text-to-Image Stylization24 Feb 2026
- 2025LouvreSAE: Sparse Autoencoders for Interpretable and Controllable Style Transfer22 Dec 2025
- 2025FROMAT: Multiview Material Appearance Transfer via Few-Shot Self-Attention Adaptation10 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2024Visual Style Prompting with Swapping Self-Attention
- 2025Less is More: Masking Elements in Image Condition Features Avoids Content Leakages in Style Transfer Diffusion Models
- 2025SPG: Style-Prompting Guidance for Style-Specific Content Creation
- 2024StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models
- 2024ArtWeaver: Advanced Dynamic Style Integration via Diffusion Model
- 2025StyleGuard: Preventing Text-to-Image-Model-based Style Mimicry Attacks by Style Perturbations
- 2025StyleSSP: Sampling StartPoint Enhancement for Training-free Diffusion-based Method for Style Transfer
- 2026TRACE: Time-Adaptive Residual Attention Control with Content-Style Decomposition for Training-Free Diffusion Style Transfer