Skip to main content
QUICK REVIEW

[Paper Review] Refusion: Enabling Large-Size Realistic Image Restoration with Latent-Space Diffusion Models

Ziwei Luo, Fredrik Gustafsson|arXiv (Cornell University)|Apr 17, 2023
Advanced Image Processing TechniquesComputer Science6 citations
TL;DR

Refusion proposes a U-Net-based latent diffusion model that enables high-fidelity, large-scale image restoration by performing denoising in a compressed, low-resolution latent space while preserving high-resolution details through decoder-attached latent vectors. It achieves state-of-the-art perceptual performance on real-world image restoration tasks, including 2nd place in the NTIRE 2023 Shadow Removal Challenge, and successfully processes 6000×4000 images without adversarial training or dataset curation.

ABSTRACT

This work aims to improve the applicability of diffusion models in realistic image restoration. Specifically, we enhance the diffusion model in several aspects such as network architecture, noise level, denoising steps, training image size, and optimizer/scheduler. We show that tuning these hyperparameters allows us to achieve better performance on both distortion and perceptual scores. We also propose a U-Net based latent diffusion model which performs diffusion in a low-resolution latent space while preserving high-resolution information from the original input for the decoding process. Compared to the previous latent-diffusion model which trains a VAE-GAN to compress the image, our proposed U-Net compression strategy is significantly more stable and can recover highly accurate images without relying on adversarial optimization. Importantly, these modifications allow us to apply diffusion models to various image restoration tasks, including real-world shadow removal, HR non-homogeneous dehazing, stereo super-resolution, and bokeh effect transformation. By simply replacing the datasets and slightly changing the noise network, our model, named Refusion, is able to deal with large-size images (e.g., 6000 x 4000 x 3 in HR dehazing) and produces good results on all the above restoration problems. Our Refusion achieves the best perceptual performance in the NTIRE 2023 Image Shadow Removal Challenge and wins 2nd place overall.

Motivation & Objective

  • To improve the applicability of diffusion models in realistic, large-scale image restoration tasks with complex real-world degradations.
  • To overcome limitations of existing diffusion models, such as high computational cost, reliance on known degradation parameters, and instability in latent space compression.
  • To develop a stable, efficient, and generalizable framework that works across diverse restoration tasks without requiring adversarial optimization.
  • To enable high-resolution image restoration (e.g., 6000×4000) by operating in a low-dimensional latent space while preserving fine details.

Proposed method

  • The method uses a mean-reverting stochastic differential equation (SDE) as the reverse denoising process, inspired by IR-SDE, to implicitly model degradation and enable task generalization.
  • A U-Net-based compression network replaces the VAE-GAN used in prior latent diffusion models, enabling more stable and accurate latent representation learning without adversarial training.
  • The model employs a nonlinear-activation-free network (NAFNet) as the noise prediction head, improving efficiency and performance over standard U-Net architectures.
  • The latent space is used for denoising, while high-resolution features are preserved in skip connections to the decoder, enabling accurate reconstruction of fine details.
  • The approach supports various image restoration tasks by simply changing the dataset and noise network, ensuring flexibility and generalization.
  • A latent Refusion variant further reduces FLOPs by ~15× by performing diffusion in the latent space, enabling inference on large images like 6000×4000.

Experimental results

Research questions

  • RQ1Can a U-Net-based latent diffusion model achieve stable, high-fidelity image restoration without relying on adversarial training or VAE-GAN compression?
  • RQ2How does replacing the U-Net noise network with NAFNet affect performance and efficiency in image restoration tasks?
  • RQ3Can latent diffusion in a compressed space enable effective restoration of very large images (e.g., 6000×4000) while preserving high-resolution details?
  • RQ4To what extent does the proposed method generalize across diverse real-world image restoration tasks such as shadow removal, dehazing, and bokeh transformation?
  • RQ5How does the model compare to existing diffusion-based methods in terms of perceptual quality and inference speed on large-scale datasets?

Key findings

  • Refusion achieved 2nd place in the NTIRE 2023 Image Shadow Removal Challenge, with the highest perceptual scores in LPIPS (0.149) and MOS (8.94), outperforming all other teams.
  • The model achieved superior perceptual performance on real-world shadow removal, with LPIPS of 0.149 and MOS of 8.94, significantly outperforming baseline models like DHAN.
  • The latent Refusion variant reduced FLOPs by ~15× compared to the full Refusion model, enabling inference on 6000×4000 images where full Refusion and IR-SDE fail.
  • On the bokeh effect transformation task, latent Refusion achieved a better LPIPS score than Restormer and ran nearly as fast, producing sharper results.
  • The U-Net-based latent compression strategy proved significantly more stable than VAE-GAN-based methods, enabling high-accuracy image recovery without adversarial optimization.
  • The method successfully restored non-homogeneous dehazing on 6000×4000 images, a task where full-resolution diffusion models like IR-SDE and Refusion are infeasible due to memory and compute constraints.

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.