CPAM: Context-Preserving Adaptive Manipulation for Zero-Shot Real Image Editing
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Editing natural images using textual descriptions in text-to-image diffusion models remains a significant challenge, particularly in achieving consistent generation and handling complex, non-rigid objects. Existing methods often struggle to preserve textures and identity, require extensive fine-tuning, and exhibit limitations in editing specific spatial regions or objects while retaining background details. This paper proposes Context-Preserving Adaptive Manipulation (CPAM), a novel zero-shot framework for complicated, non-rigid real image editing. Specifically, we propose a preservation adaptation module that adjusts self-attention mechanisms to preserve and independently control the object and background effectively. This ensures that the objects' shapes, textures, and identities are maintained while keeping the background undistorted during the editing process using the mask guidance technique. Additionally, we develop a localized extraction module to mitigate the interference with the non-desired modified regions during conditioning in cross-attention mechanisms. We also introduce various mask-guidance strategies to facilitate diverse image manipulation tasks in a simple manner. CPAM can be seamlessly integrated with multiple diffusion backbones, including SD1.5, SD2.1, and SDXL, demonstrating strong generalization across different model architectures. Extensive experiments on our newly constructed Image Manipulation BenchmArk (IMBA), a robust benchmark dataset specifically designed for real image editing, demonstrate that our proposed method is the preferred choice among human raters, outperforming existing state-of-the-art editing techniques. The source code and data will be publicly released at the project page: https://vdkhoi20.github.io/CPAM
Key facts. Cited by 2 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 52 of its 56 references that are in the map. First posted on arXiv 23 Jun 2025.
Builds on
52 of 56 references.
Closest ancestors · 25
Same direction, newest first
- 2025Object-level Visual Prompts for Compositional Image Generation2 Jan
- 2024Guide-and-Rescale: Self-Guidance Mechanism for Effective Tuning-Free Real Image Editing2 Sep
- 2024TurboEdit: Text-Based Image Editing Using Few-Step Diffusion Models1 Aug
- 2024MoA: Mixture-of-Attention for Subject-Context Disentanglement in Personalized Image Generation17 Apr
- 2024ReNoise: Real Image Inversion Through Iterative Noising21 Mar
- 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
- 2023ZONE: Zero-Shot Instruction-Guided Local Editing28 Dec
- 2023LEDITS++: Limitless Image Editing using Text-to-Image Models28 Nov
- 2023Direct Inversion: Boosting Diffusion-based Editing with 3 Lines of Code2 Oct
- 2023Effective Real Image Editing with Accelerated Iterative Diffusion Inversion10 Sep
- 2023Improving Tuning-Free Real Image Editing with Proximal Guidance8 Jun
- 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulations12 Apr
13 more
- 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Models20 Mar
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
- 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
- 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Blended Latent Diffusion6 Jun
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
- 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov
- 2021DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation6 Oct
Other references · 27
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2023Segment Anythingcited by 8,234
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
15 more
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 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
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 727
- 2023Zero-shot Image-to-Image Translationcited by 505
- 2023DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic Datacited by 337
- 2022Text2LIVE: Text-Driven Layered Image and Video Editingcited by 312
- 2022EDICT: Exact Diffusion Inversion via Coupled Transformationscited by 258
- 2024Zero-shot Image Editing with Reference Imitationcited by 65
- 2023Text-Driven Image Editing via Learnable Regionscited by 31
- 2024iCONTRA: Toward Thematic Collection Design Via Interactive Concept Transfercited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026On the Controllability-Fidelity Frontier in Diffusion Editing
- 2023Region-Aware Diffusion for Zero-shot Text-driven Image Editing
- 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusion
- 2026Diffusion Editing with Soft Mask: Pixel Level Redo of Image and Video with Adjustable Strength
- 2025Structure-Preserving Zero-Shot Image Editing via Stage-Wise Latent Injection in Diffusion Models
- 2023Continuous Layout Editing of Single Images with Diffusion Models
- 2022Paint by Example: Exemplar-based Image Editing with Diffusion Models
- 2026Editing on the Generative Manifold: A Theoretical and Empirical Study of General Diffusion-Based Image Editing Trade-offs