mlsanityData to 7 Oct 2026

Less is More: Masking Elements in Image Condition Features Avoids Content Leakages in Style Transfer Diffusion Models

arXiv 2502.07466 ↗First posted 11 Feb 2025cs.CVcited by 0

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

Abstract (arXiv)

Given a style-reference image as the additional image condition, text-to-image diffusion models have demonstrated impressive capabilities in generating images that possess the content of text prompts while adopting the visual style of the reference image. However, current state-of-the-art methods often struggle to disentangle content and style from style-reference images, leading to issues such as content leakages. To address this issue, we propose a masking-based method that efficiently decouples content from style without the need of tuning any model parameters. By simply masking specific elements in the style reference's image features, we uncover a critical yet under-explored principle: guiding with appropriately-selected fewer conditions (e.g., dropping several image feature elements) can efficiently avoid unwanted content flowing into the diffusion models, enhancing the style transfer performances of text-to-image diffusion models. In this paper, we validate this finding both theoretically and experimentally. Extensive experiments across various styles demonstrate the effectiveness of our masking-based method and support our theoretical results.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 36 of its 60 references that are in the map. First posted on arXiv 11 Feb 2025.

Builds on

36 of 60 references.

Closest ancestors · 14

Same direction, newest first

  1. 2024CSGO: Content-Style Composition in Text-to-Image Generation29 Aug
  2. 2024Ctrl-X: Controlling Structure and Appearance for Text-To-Image Generation Without Guidance11 Jun
  3. 2024RB-Modulation: Training-Free Personalization of Diffusion Models using Stochastic Optimal Control27 May
  4. 2024FreeTuner: Any Subject in Any Style with Training-free Diffusion23 May
  5. 2024StyleForge: Enhancing Text-to-Image Synthesis for Any Artistic Styles with Dual Binding8 Apr
  6. 2024Visual Style Prompting with Swapping Self-Attention20 Feb
  7. 2023Lego: Learning to Disentangle and Invert Personalized Concepts Beyond Object Appearance in Text-to-Image Diffusion Models23 Nov
  8. 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models13 Aug
  9. 2023Text-to-image Diffusion Models in Generative AI: A Survey14 Mar
  10. 2022Inversion-Based Style Transfer with Diffusion Models23 Nov
  11. 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
  12. 2022Diffusion-based Image Translation using Disentangled Style and Content Representation30 Sep
2 more
  1. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  2. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec

Other references · 22

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2022Classifier-Free Diffusion Guidancecited by 5,717
  6. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  7. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  8. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  9. 2023Style Aligned Image Generation via Shared Attentioncited by 214
  10. 2024InstantStyle: Free Lunch towards Style-Preserving in Text-to-Image Generationcited by 166
  11. 2024StyleShot: A Snapshot on Any Stylecited by 60
  12. 2024InstantStyle-Plus: Style Transfer with Content-Preserving in Text-to-Image Generationcited by 51
10 more
  1. 2023StyleAdapter: A Unified Stylized Image Generation Modelcited by 39
  2. 2024Identifying and Solving Conditional Image Leakage in Image-to-Video Diffusion Modelcited by 27
  3. 2023Mismatch Quest: Visual and Textual Feedback for Image-Text Misalignmentcited by 18
  4. 2018A Unified Framework for Generalizable Style Transfer: Style and Content Separationcited by 11
  5. 2023Masked Diffusion as Self-supervised Representation Learnercited by 11
  6. 2022StyleID: Identity Disentanglement for Anonymizing Facescited by 10
  7. 2023Misalign, Contrast then Distill: Rethinking Misalignments in Language-Image Pretrainingcited by 10
  8. 2023Masked Diffusion Models Are Fast Distribution Learnerscited by 7
  9. 2023StyleCrafter: Enhancing Stylized Text-to-Video Generation with Style Adaptercited by 2
  10. 2024Unified Auto-Encoding with Masked Diffusioncited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Zero-Shot Contrastive Loss for Text-Guided Diffusion Image Style Transfer
  2. 2026HAM: A Training-Free Style Transfer Approach via Heterogeneous Attention Modulation for Diffusion Models
  3. 2023Erasing Concepts from Diffusion Models
  4. 2024StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models
  5. 2023ControlStyle: Text-Driven Stylized Image Generation Using Diffusion Priors
  6. 2024DiffuseST: Unleashing the Capability of the Diffusion Model for Style Transfer
  7. 2024FreeStyle: Free Lunch for Text-guided Style Transfer using Diffusion Models
  8. 2025StyleBlend: Enhancing Style-Specific Content Creation in Text-to-Image Diffusion Models