GradPaint: Gradient-guided inpainting with diffusion models

被引:3
|
作者
Grechka, Asya [1 ]
Couairon, Guillaume [1 ]
Cord, Matthieu [1 ]
机构
[1] Sorbonne Univ, 4 Pl Jussieu, F-75005 Paris, France
关键词
DDPMs; Generative networks; Image editing; Diffusion models;
D O I
10.1016/j.cviu.2024.103928
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Denoising Diffusion Probabilistic Models (DDPMs) have recently achieved remarkable results in conditional and unconditional image generation. The pre -trained models can be adapted without further training to different downstream tasks, by guiding their iterative denoising process at inference time to satisfy additional constraints. For the specific task of image inpainting, the current guiding mechanism relies on copying -andpasting the known regions from the input image at each denoising step. However, diffusion models are strongly conditioned by the initial random noise, and therefore struggle to harmonize predictions inside the inpainting mask with the real parts of the input image, often producing results with unnatural artifacts. Our method, dubbed GradPaint, steers the generation towards a globally coherent image. At each step in the denoising process, we leverage the model's "denoised image estimation"by calculating a custom loss measuring its coherence with the masked input image. Our guiding mechanism uses the gradient obtained from backpropagating this loss through the diffusion model itself. GradPaint generalizes well to diffusion models trained on various datasets, improving upon current state-of-the-art supervised and unsupervised methods. Our code will be made available upon publication.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] Gradient-Guided Local Disparity Editing
    Scandolo, Leonardo
    Bauszat, Pablo
    Eisemann, Elmar
    [J]. COMPUTER GRAPHICS FORUM, 2019, 38 (01) : 394 - 404
  • [2] A Gradient-Guided Evolutionary Neural Architecture Search
    Xue, Yu
    Han, Xiaolong
    Neri, Ferrante
    Qin, Jiafeng
    Pelusi, Danilo
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, : 1 - 13
  • [3] Gradient-guided color image contrast and saturation enhancement
    Shi, Haiyan
    Kwok, Ngaiming
    Fang, Gu
    Lin, Stephen Ching-Feng
    Lee, Ann
    Li, Huaizhong
    Yu, Ying-Hao
    [J]. INTERNATIONAL JOURNAL OF ADVANCED ROBOTIC SYSTEMS, 2017, 14 (03):
  • [4] Gradient-guided hierarchical feature attack for object detector
    Wang, Yang
    Zheng, Yunfei
    Chen, Lei
    Yang, Zhen
    Wu, Jingwei
    Cao, Tieyong
    [J]. JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2024, 36 (01)
  • [5] GRADIENT-GUIDED SPARSE REPRESENTATION FOR HYPERSPECTRAL IMAGE DENOISING
    Lu, Ting
    Li, Shutao
    [J]. 2015 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM (IGARSS), 2015, : 1128 - 1131
  • [6] Gradient-Guided DCNN for Inverse Halftoning and Image Expanding
    Xiao, Yi
    Pan, Chao
    Zheng, Yan
    Zhu, Xianyi
    Qin, Zheng
    Yuan, Jin
    [J]. COMPUTER VISION - ACCV 2018, PT IV, 2019, 11364 : 207 - 222
  • [7] Shivering greedy snakes, gradient-guided in wavelet domain
    Sakalli, M
    Lam, KM
    Yan, H
    [J]. 1998 INTERNATIONAL CONFERENCE ON IMAGE PROCESSING - PROCEEDINGS, VOL 2, 1998, : 886 - 890
  • [8] GradNet: Gradient-Guided Network for Visual Object Tracking
    Li, Peixia
    Chen, Boyu
    Ouyan, Wanli
    Wang, Dong
    Yang, Xiaoyun
    Lu, Huchuan
    [J]. 2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, : 6161 - 6170
  • [9] Aircraft conceptual design by genetic/gradient-guided optimization
    Bos, AHW
    [J]. ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 1998, 11 (03) : 377 - 382
  • [10] Gradient-guided Unsupervised Lexically Constrained Text Generation
    Sha, Lei
    [J]. PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2020, : 8692 - 8703