Skip to main content
QUICK REVIEW

[Paper Review] Region-wise Generative Adversarial ImageInpainting for Large Missing Areas

Yuqing Ma, Xianglong Liu|arXiv (Cornell University)|Sep 27, 2019
Generative Adversarial Networks and Image SynthesisComputer Science7 citations
TL;DR

This paper proposes a region-wise generative adversarial network (GAN) framework for image inpainting that uses region-wise convolutions in both generator and discriminator to separately process existing and missing regions, along with a correlation loss to capture non-local patch-level dependencies. The method significantly outperforms state-of-the-art approaches on both contiguous and discontiguous large missing areas across multiple benchmarks.

ABSTRACT

Recently deep neutral networks have achieved promising performance for filling large missing regions in image inpainting tasks. They usually adopted the standard convolutional architecture over the corrupted image, leading to meaningless contents, such as color discrepancy, blur and artifacts. Moreover, most inpainting approaches cannot well handle the large continuous missing area cases. To address these problems, we propose a generic inpainting framework capable of handling with incomplete images on both continuous and discontinuous large missing areas, in an adversarial manner. From which, region-wise convolution is deployed in both generator and discriminator to separately handle with the different regions, namely existing regions and missing ones. Moreover, a correlation loss is introduced to capture the non-local correlations between different patches, and thus guides the generator to obtain more information during inference. With the help of our proposed framework, we can restore semantically reasonable and visually realistic images. Extensive experiments on three widely-used datasets for image inpainting tasks have been conducted, and both qualitative and quantitative experimental results demonstrate that the proposed model significantly outperforms the state-of-the-art approaches, both on the large continuous and discontinuous missing areas.

Motivation & Objective

  • To address the limitations of existing image inpainting methods in handling large contiguous missing regions, which often result in blurry textures, color discrepancies, and artifacts.
  • To develop a unified, generic framework capable of effectively restoring both contiguous and discontiguous large missing areas in a single architecture.
  • To improve semantic consistency and visual realism by modeling distinct feature representations for existing and missing regions using region-wise convolutions.
  • To enhance long-range contextual understanding through a novel correlation loss that captures non-local dependencies between image patches.
  • To achieve robust and stable performance as missing area size increases, particularly in challenging contiguous hole scenarios.

Proposed method

  • The generator employs two consecutive encoder-decoder networks that jointly infer missing content while leveraging region-wise convolutions to treat existing and missing regions separately.
  • A correlation loss is introduced to model non-local dependencies between patches, enabling the generator to access global context for more accurate reconstruction.
  • The discriminator uses region-wise convolutions to distinguish real from generated images at the region level, improving adversarial training stability and realism.
  • The framework integrates adversarial training with perceptual and correlation losses to enhance both local details and global semantic consistency.
  • Region-wise convolutions are applied in both generator and discriminator to allow specialized processing for existing and missing regions, avoiding the compromise of shared filters.
  • The model is trained end-to-end using a combination of adversarial loss, perceptual loss, and correlation loss to optimize for visual realism and structural fidelity.

Experimental results

Research questions

  • RQ1Can a unified GAN framework effectively handle both contiguous and discontiguous large missing regions in image inpainting?
  • RQ2Does region-wise convolution in generator and discriminator improve performance on large missing areas compared to standard convolutions?
  • RQ3To what extent does the correlation loss enhance reconstruction quality by modeling non-local patch dependencies?
  • RQ4How does the proposed method compare to state-of-the-art approaches in terms of robustness as missing area size increases?
  • RQ5Can the framework generate semantically plausible and visually realistic results for practical applications like unwanted object removal?

Key findings

  • The proposed method achieves the best overall performance on both contiguous and discontiguous missing areas across CelebA-HQ, Paris Street View, and Places2 datasets, with consistent superiority in FID, PSNR, and L1/L2 metrics.
  • On contiguous missing areas, the method significantly outperforms EC, PConv, and PIC, with FID scores substantially lower than state-of-the-art methods.
  • The model maintains stable performance as mask size increases, showing slower degradation compared to other methods, indicating robustness to larger holes.
  • In pixel-level reconstruction, the method achieves the best L2 score on discontiguous masks, demonstrating superior detail recovery due to the correlation loss.
  • The correlation loss enables better capture of long-range dependencies, leading to more coherent and realistic textures and structures in the generated regions.
  • The framework successfully removes complex-shaped objects and watermarks with natural-looking results, confirming its practical utility in image editing tasks.

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.