Skip to main content
QUICK REVIEW

[Paper Review] High-Resolution Image Inpainting with Iterative Confidence Feedback and Guided Upsampling

Yu Zeng, Zhe Lin|arXiv (Cornell University)|May 24, 2020
Generative Adversarial Networks and Image SynthesisComputer Science38 references7 citations
TL;DR

This paper proposes an iterative high-resolution image inpainting method that uses a confidence feedback mechanism to progressively refine predictions in large holes, improving visual quality and reducing artifacts. By training a deep generative model to predict both the inpainted image and a confidence map, the method selectively trusts high-confidence regions across iterations and employs guided upsampling to enhance high-resolution details, achieving state-of-the-art results on real object removal tasks.

ABSTRACT

Existing image inpainting methods often produce artifacts when dealing with large holes in real applications. To address this challenge, we propose an iterative inpainting method with a feedback mechanism. Specifically, we introduce a deep generative model which not only outputs an inpainting result but also a corresponding confidence map. Using this map as feedback, it progressively fills the hole by trusting only high-confidence pixels inside the hole at each iteration and focuses on the remaining pixels in the next iteration. As it reuses partial predictions from the previous iterations as known pixels, this process gradually improves the result. In addition, we propose a guided upsampling network to enable generation of high-resolution inpainting results. We achieve this by extending the Contextual Attention module to borrow high-resolution feature patches in the input image. Furthermore, to mimic real object removal scenarios, we collect a large object mask dataset and synthesize more realistic training data that better simulates user inputs. Experiments show that our method significantly outperforms existing methods in both quantitative and qualitative evaluations. More results and Web APP are available at https://zengxianyu.github.io/iic.

Motivation & Objective

  • To address the challenge of generating realistic high-resolution image inpainting results for large holes, especially in real-world object removal scenarios.
  • To reduce visual artifacts in existing deep learning-based inpainting methods that struggle with large hole ambiguity and lack of structural understanding.
  • To improve model robustness by introducing a confidence feedback loop that iteratively refines predictions based on prediction reliability.
  • To enhance high-resolution output quality by decoupling structural generation from texture detail reconstruction using guided upsampling.
  • To create more realistic training data that simulates actual user inputs by collecting object-shaped masks and synthesizing diverse hole patterns.

Proposed method

  • The method employs a deep generative model that outputs both the inpainted image and a confidence map, where high-confidence pixels are trusted more in subsequent iterations.
  • An iterative feedback loop uses the confidence map to identify reliable predictions, treating them as known regions and reprocessing only the remaining uncertain parts of the hole.
  • The guided upsampling network reconstructs high-resolution results by borrowing high-resolution feature patches from the input image based on similarity to the low-resolution output.
  • The Contextual Attention module is extended to enable feature patch retrieval at high resolution, improving texture detail fidelity in the final output.
  • The training data is augmented with a large object mask dataset, including both foreground-occluding and background-only hole scenarios to simulate realistic user inputs.
  • The model is trained with a combination of reconstruction loss and adversarial loss, with confidence prediction encouraged via a dedicated confidence decoder head.

Experimental results

Research questions

  • RQ1Can an iterative feedback mechanism based on prediction confidence improve the quality of image inpainting for large holes?
  • RQ2How does confidence-based progressive refinement compare to predefined progressive inpainting strategies in terms of visual and quantitative performance?
  • RQ3Can guided upsampling using high-resolution features improve the realism and detail of high-resolution inpainting results?
  • RQ4To what extent does using realistic, object-shaped training data improve generalization and user preference in real-world applications?
  • RQ5How sensitive is the performance to hyperparameters such as the confidence threshold and number of iterations?

Key findings

  • The proposed method with iterative confidence feedback (CF) achieves a PSNR of 28.20 and FID of 0.8985 on the CelebA-HQ dataset, outperforming the baseline model without confidence feedback.
  • The iterative confidence feedback mechanism significantly improves performance on high-confidence regions (PSNR 36.38, FID 0.981) compared to low-confidence regions (PSNR 30.00, FID 0.923).
  • Including realistic training data (RT) improves performance, with the Ours* model achieving a PSNR of 27.67 and FID of 0.8949, showing better generalization to real-world inputs.
  • Guided upsampling enables high-resolution generation: the Ours model produces visually superior 1024×1024 results with enhanced texture details, even though quantitative scores are slightly lower than Ours* due to reconstruction constraints.
  • The method is robust to hyperparameter changes: sensitivity analysis shows PSNR remains stable (28.1–28.5) across a range of λ values from 0.7 to 0.13.
  • User studies show that the guided upsampling version (Ours) is preferred more frequently than Ours*, indicating improved perceptual quality despite slightly lower quantitative scores.

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.