Skip to main content
QUICK REVIEW

[Paper Review] Deep Stacked Networks with Residual Polishing for Image Inpainting

Uğur Demir, Gözde Ünal|arXiv (Cornell University)|Dec 31, 2017
Advanced Image Processing TechniquesComputer Science20 references6 citations
TL;DR

This paper proposes a two-stage deep learning framework called Residual Polishing for image inpainting, where a Coarse Painter Network (CPN) first fills in missing regions using contextual features, followed by a Fine Painter Network (FPN) that learns residual corrections to reduce artifacts and noise. The method achieves state-of-the-art PSNR of 22.89 dB on the Google Street View dataset, significantly improving visual quality and quantitative metrics over prior approaches.

ABSTRACT

Deep neural networks have shown promising results in image inpainting even if the missing area is relatively large. However, most of the existing inpainting networks introduce undesired artifacts and noise to the repaired regions. To solve this problem, we present a novel framework which consists of two stacked convolutional neural networks that inpaint the image and remove the artifacts, respectively. The first network considers the global structure of the damaged image and coarsely fills the blank area. Then the second network modifies the repaired image to cancel the noise introduced by the first network. The proposed framework splits the problem into two distinct partitions that can be optimized separately, therefore it can be applied to any inpainting algorithm by changing the first network. Second stage in our framework which aims at polishing the inpainted images can be treated as a denoising problem where a wide range of algorithms can be employed. Our results demonstrate that the proposed framework achieves significant improvement on both visual and quantitative evaluations.

Motivation & Objective

  • To address the challenge of artifacts and noise in deep learning-based image inpainting, especially for large missing regions.
  • To improve visual fidelity and quantitative performance by decoupling the inpainting process into coarse reconstruction and refinement stages.
  • To enable the application of any existing inpainting model by plugging in a universal residual polishing network for enhancement.
  • To demonstrate that learning residual corrections is more effective than end-to-end optimization for reducing local deformations and noise.

Proposed method

  • The framework uses a Coarse Painter Network (CPN) inspired by Context-Encoder, trained with L1, L2, and perceptual (feature) losses to generate initial inpainted results.
  • A Fine Painter Network (FPN) is trained to predict the residual difference between the CPN output and the ground-truth image, focusing on correcting local artifacts and noise.
  • The FPN is implemented as a residual network with convolutional blocks, batch normalization, and ReLU activations, optimized via Adam with fixed CPN weights.
  • The method treats the polishing stage as a denoising problem, allowing flexible use of various architectures and loss functions.
  • The CPN and FPN are trained sequentially: CPN first, then FPN with frozen CPN weights, enabling separate optimization.
  • The framework is generalizable and can be applied to any inpainting model by replacing only the first-stage network.

Experimental results

Research questions

  • RQ1Can separating image inpainting into coarse reconstruction and refinement stages improve visual and quantitative performance?
  • RQ2Does learning residual corrections between the initial inpainted result and the ground truth lead to better artifact suppression than end-to-end training?
  • RQ3How does the use of perceptual (feature) loss in the CPN affect texture synthesis quality compared to pixel-wise losses alone?
  • RQ4Can a lightweight, task-specific polishing network effectively reduce local deformations and noise introduced by the initial inpainting network?
  • RQ5To what extent does the architecture of the FPN (e.g., residual blocks, batch normalization) influence the final inpainting quality?

Key findings

  • The proposed Residual Polishing framework achieves a PSNR of 22.89 dB on the Google Street View dataset, outperforming both Context-Encoder (20.60 dB) and Neural Patch Synthesis (20.72 dB).
  • The CPN alone achieves a PSNR of 21.37 dB, demonstrating that the addition of perceptual (feature) loss improves texture synthesis over pixel-wise losses alone.
  • The FPN reduces the mean L1 loss from 1.97 (CPN) to 1.74 and mean L2 loss from 0.38 to 0.32, indicating significant improvement in reconstruction accuracy.
  • Visual comparisons in Figure 5 show that the FPN output produces smoother, more realistic textures with fewer visible artifacts compared to CPN and baseline methods.
  • The method is robust to fail cases when the CPN produces poor initial results, but performance gains are maximized when the CPN provides a reasonable coarse reconstruction.
  • The use of batch normalization and ReLU in the FPN architecture leads to better convergence and performance than ReLU or LReLU without normalization.

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.