FreePIH: Training-Free Painterly Image Harmonization with Diffusion Model
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
- 2023Painterly Image Harmonization using Diffusion Model4 Aug
- 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulations12 Apr
- 2023StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing28 Mar
- 2023Cross-domain Compositing with Pretrained Diffusion Models20 Feb
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Models16 Feb
- 2022Inversion-Based Style Transfer with Diffusion Models23 Nov
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov
Other references · 21
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
- 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,163
- 2019DoveNet: Deep Image Harmonization via Domain Verificationcited by 135
9 more
- 2019Improving the Harmony of the Composite Image by Spatial-Separated Attention Modulecited by 73
- 2021Region-aware Adaptive Instance Normalization for Image Harmonizationcited by 71
- 2017Stable and Controllable Neural Texture Synthesis and Style Transfer Using Histogram Lossescited by 69
- 2019Deep Image Blendingcited by 62
- 2021High-Resolution Image Harmonization via Collaborative Dual Transformationscited by 55
- 2020Frequency Domain Image Translation: More Photo-realistic, Better Identity-preservingcited by 46
- 2022SCS-Co: Self-Consistent Style Contrastive Learning for Image Harmonizationcited by 24
- 2018Deep Painterly Harmonizationcited by 19
- 2022Painterly Image Harmonization in Dual Domainscited by 11
Built on by
Citing papers per year: 2024: 6; 2025: 2.
8 papers.
- 2025RORem: Training a Robust Object Remover with Human-in-the-Loopcited by 23
- 2024Fine-Grained Side Information Guided Dual-Prompts for Zero-Shot Skeleton Action Recognitioncited by 19
- 2024Neuron: Learning Context-Aware Evolving Representations for Zero-Shot Skeleton Action Recognitioncited by 13
- 2024TsCA: On the Semantic Consistency Alignment via Conditional Transport for Compositional Zero-Shot Learningcited by 6
- 2024On the Element-Wise Representation and Reasoning in Zero-Shot Image Recognition: A Systematic Surveycited by 5
- 2024Dual Expert Distillation Network for Generalized Zero-Shot Learningcited by 4
- 2024Epsilon: Exploring Comprehensive Visual-Semantic Projection for Multi-Label Zero-Shot Learningcited by 3
- 2025FedAPA: Server-side Gradient-Based Adaptive Personalized Aggregation for Federated Learning on Heterogeneous Datacited by 0
- 2025FedAPA: Server-side Gradient-Based Adaptive Personalized Aggregation for Federated Learning on Heterogeneous Data11 Feb 2025
- 2025RORem: Training a Robust Object Remover with Human-in-the-Loop1 Jan 2025
- 2024Neuron: Learning Context-Aware Evolving Representations for Zero-Shot Skeleton Action Recognition18 Nov 2024
- 2024Epsilon: Exploring Comprehensive Visual-Semantic Projection for Multi-Label Zero-Shot Learning22 Aug 2024
- 2024TsCA: On the Semantic Consistency Alignment via Conditional Transport for Compositional Zero-Shot Learning16 Aug 2024
- 2024On the Element-Wise Representation and Reasoning in Zero-Shot Image Recognition: A Systematic Survey9 Aug 2024
- 2024Dual Expert Distillation Network for Generalized Zero-Shot Learning25 Apr 2024
- 2024Fine-Grained Side Information Guided Dual-Prompts for Zero-Shot Skeleton Action Recognition11 Apr 2024
Similar, not cited
Close in wording, no citation either way
- 2023Progressive Painterly Image Harmonization from Low-level Styles to High-level Styles
- 2023Image Harmonization with Diffusion Model
- 2024FreeEnhance: Tuning-Free Image Enhancement via Content-Consistent Noising-and-Denoising Process
- 2025HarmonPaint: Harmonized Training-Free Diffusion Inpainting
- 2026Efficient and Training-Free Single-Image Diffusion Models
- 2023Portrait Diffusion: Training-free Face Stylization with Chain-of-Painting
- 2025FreeMorph: Tuning-Free Generalized Image Morphing with Diffusion Model
- 2024DiffHarmony: Latent Diffusion Model Meets Image Harmonization