A Theoretical Justification for Image Inpainting using Denoising Diffusion Probabilistic Models

02/02/2023
by   Litu Rout, et al.
0

We provide a theoretical justification for sample recovery using diffusion based image inpainting in a linear model setting. While most inpainting algorithms require retraining with each new mask, we prove that diffusion based inpainting generalizes well to unseen masks without retraining. We analyze a recently proposed popular diffusion based inpainting algorithm called RePaint (Lugmayr et al., 2022), and show that it has a bias due to misalignment that hampers sample recovery even in a two-state diffusion process. Motivated by our analysis, we propose a modified RePaint algorithm we call RePaint^+ that provably recovers the underlying true sample and enjoys a linear rate of convergence. It achieves this by rectifying the misalignment error present in drift and dispersion of the reverse process. To the best of our knowledge, this is the first linear convergence result for a diffusion based image inpainting algorithm.

READ FULL TEXT
research
10/06/2021

Learning Sparse Masks for Diffusion-based Image Inpainting

Diffusion-based inpainting is a powerful tool for the reconstruction of ...
research
01/24/2022

RePaint: Inpainting using Denoising Diffusion Probabilistic Models

Free-form inpainting is the task of adding new content to an image in th...
research
01/16/2014

A bi-level view of inpainting - based image compression

Inpainting based image compression approaches, especially linear and non...
research
07/02/2023

Solving Linear Inverse Problems Provably via Posterior Sampling with Latent Diffusion Models

We present the first framework to solve linear inverse problems leveragi...
research
07/20/2023

Reference-based Painterly Inpainting via Diffusion: Crossing the Wild Reference Domain Gap

Have you ever imagined how it would look if we placed new objects into p...
research
03/05/2023

SePaint: Semantic Map Inpainting via Multinomial Diffusion

Prediction beyond partial observations is crucial for robots to navigate...
research
08/15/2023

Geometry of the Visual Cortex with Applications to Image Inpainting and Enhancement

Equipping the rototranslation group SE(2) with a sub-Riemannian structur...

Please sign up or login with your details

Forgot password? Click here to reset