mlsanityData to 14 Oct 2026

FreePIH: Training-Free Painterly Image Harmonization with Diffusion Model

arXiv 2311.14926 ↗First posted 25 Nov 2023cs.CV cs.AIcited by 8

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

Abstract (arXiv)

This paper provides an efficient training-free painterly image harmonization (PIH) method, dubbed FreePIH, that leverages only a pre-trained diffusion model to achieve state-of-the-art harmonization results. Unlike existing methods that require either training auxiliary networks or fine-tuning a large pre-trained backbone, or both, to harmonize a foreground object with a painterly-style background image, our FreePIH tames the denoising process as a plug-in module for foreground image style transfer. Specifically, we find that the very last few steps of the denoising (i.e., generation) process strongly correspond to the stylistic information of images, and based on this, we propose to augment the latent features of both the foreground and background images with Gaussians for a direct denoising-based harmonization. To guarantee the fidelity of the harmonized image, we make use of multi-scale features to enforce the consistency of the content and stability of the foreground objects in the latent space, and meanwhile, aligning both fore-/back-grounds with the same style. Moreover, to accommodate the generation with more structural and textural details, we further integrate text prompts to attend to the latent features, hence improving the generation quality. Quantitative and qualitative evaluations on COCO and LAION 5B datasets demonstrate that our method can surpass representative baselines by large margins.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 31 of its 46 references that are in the map. First posted on arXiv 25 Nov 2023.

Builds on

31 of 46 references.

Closest ancestors · 10

Same direction, newest first

  1. 2023Painterly Image Harmonization using Diffusion Model4 Aug
  2. 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulations12 Apr
  3. 2023StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing28 Mar
  4. 2023Cross-domain Compositing with Pretrained Diffusion Models20 Feb
  5. 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Models16 Feb
  6. 2022Inversion-Based Style Transfer with Diffusion Models23 Nov
  7. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  8. 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
  9. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  10. 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov

Other references · 21

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  5. 2020Denoising Diffusion Implicit Modelscited by 9,781
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  7. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
  8. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  9. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  10. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
  11. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,163
  12. 2019DoveNet: Deep Image Harmonization via Domain Verificationcited by 135
9 more
  1. 2019Improving the Harmony of the Composite Image by Spatial-Separated Attention Modulecited by 73
  2. 2021Region-aware Adaptive Instance Normalization for Image Harmonizationcited by 71
  3. 2017Stable and Controllable Neural Texture Synthesis and Style Transfer Using Histogram Lossescited by 69
  4. 2019Deep Image Blendingcited by 62
  5. 2021High-Resolution Image Harmonization via Collaborative Dual Transformationscited by 55
  6. 2020Frequency Domain Image Translation: More Photo-realistic, Better Identity-preservingcited by 46
  7. 2022SCS-Co: Self-Consistent Style Contrastive Learning for Image Harmonizationcited by 24
  8. 2018Deep Painterly Harmonizationcited by 19
  9. 2022Painterly Image Harmonization in Dual Domainscited by 11

Built on by

Cited by year

Citing papers per year: 2024: 6; 2025: 2.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Progressive Painterly Image Harmonization from Low-level Styles to High-level Styles
  2. 2023Image Harmonization with Diffusion Model
  3. 2024FreeEnhance: Tuning-Free Image Enhancement via Content-Consistent Noising-and-Denoising Process
  4. 2025HarmonPaint: Harmonized Training-Free Diffusion Inpainting
  5. 2026Efficient and Training-Free Single-Image Diffusion Models
  6. 2023Portrait Diffusion: Training-free Face Stylization with Chain-of-Painting
  7. 2025FreeMorph: Tuning-Free Generalized Image Morphing with Diffusion Model
  8. 2024DiffHarmony: Latent Diffusion Model Meets Image Harmonization