Skip to main content
QUICK REVIEW

[Paper Review] High-Resolution Image Editing via Multi-Stage Blended Diffusion

Johannes Ackermann, Minjun Li|arXiv (Cornell University)|Oct 24, 2022
Advanced Image Processing TechniquesComputer Science10 citations
TL;DR

This paper proposes a multi-stage, blended diffusion approach for high-resolution image editing using a pre-trained low-resolution diffusion model. By iteratively upscaling with Real-ESRGAN and refining with Blended Diffusion at intermediate steps—along with Repaint and decoder optimization—it achieves globally consistent, high-fidelity edits at megapixel resolutions, outperforming direct high-res inference and segment-wise editing baselines.

ABSTRACT

Diffusion models have shown great results in image generation and in image editing. However, current approaches are limited to low resolutions due to the computational cost of training diffusion models for high-resolution generation. We propose an approach that uses a pre-trained low-resolution diffusion model to edit images in the megapixel range. We first use Blended Diffusion to edit the image at a low resolution, and then upscale it in multiple stages, using a super-resolution model and Blended Diffusion. Using our approach, we achieve higher visual fidelity than by only applying off the shelf super-resolution methods to the output of the diffusion model. We also obtain better global consistency than directly using the diffusion model at a higher resolution.

Motivation & Objective

  • To enable high-resolution image editing beyond the 512×512 limit of pre-trained diffusion models.
  • To address global inconsistency and quality degradation when directly applying low-res diffusion models to high-res images.
  • To improve visual fidelity and blending between edited and unedited regions in large-scale edits.
  • To enable practical editing of megapixel-range images using only off-the-shelf components and pre-trained models.

Proposed method

  • First, crop and downscale the masked region to match the training resolution of a pre-trained diffusion model (Stable Diffusion v1.4).
  • Apply Blended Latent Diffusion with Repaint to generate a locally consistent edit at low resolution, selecting the best sample via CLIP similarity.
  • Iteratively upscale the image using Real-ESRGAN, then apply Blended Diffusion from an intermediate diffusion step to refine quality and maintain prompt consistency.
  • Preprocess the masked region by low-pass filtering to match the resolution of the edited region, reducing blurring during denoising.
  • For very large outputs, split the image into overlapping grid segments, process each separately, and recombine via alpha compositing.
  • Apply decoder optimization after each stage to improve blending between edited and original regions.

Experimental results

Research questions

  • RQ1Can a pre-trained low-resolution diffusion model be effectively reused for high-resolution image editing?
  • RQ2Does multi-stage upscaling with intermediate refinement improve global consistency and visual quality compared to direct high-res inference?
  • RQ3How does the combination of Blended Diffusion and super-resolution models compare to end-to-end high-res diffusion or segment-wise editing?
  • RQ4What preprocessing steps (e.g., low-pass filtering, Repaint) are most effective for maintaining region consistency during upscaling?
  • RQ5How does the method scale to very large images (e.g., 1000×2000+ pixels) without memory overflow?

Key findings

  • The proposed method achieves globally consistent, high-fidelity edits at megapixel resolutions, avoiding the repeated patterns and incoherency seen in direct high-res inference.
  • Using Repaint with Blended Diffusion significantly improves blending between masked and unmasked regions, especially for complex textures and objects.
  • Decoder optimization after each stage enhances the visual coherence between edited and original regions, though it becomes computationally expensive at very high resolutions.
  • The method outperforms both direct application of Blended Diffusion at high resolution and segment-wise editing with DALL-E 2, which produced two floating statues in one test case.
  • Setting Repaint steps to R=5 provides a good balance between quality and consistency across diverse image types, though optimal settings may vary per input.
  • Real-ESRGAN upscaling works well overall but can remove fine details, leading to blending artifacts in some cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.