Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizations

Hongyu Liu, Bin Jiang|arXiv (Cornell University)|Jul 14, 2020
Generative Adversarial Networks and Image SynthesisComputer Science39 references28 citations
TL;DR

This paper proposes a mutual encoder-decoder network with feature equalization for image inpainting, jointly recovering structures and textures by leveraging shallow-layer features for textures and deep-layer features for structures. It introduces a bilateral propagation activation function and channel reweighting to equalize features across structure and texture branches, significantly reducing blur and artifacts, and achieves state-of-the-art performance on benchmark datasets including Paris StreetView, Place2, and CelebA.

ABSTRACT

Deep encoder-decoder based CNNs have advanced image inpainting methods for hole filling. While existing methods recover structures and textures step-by-step in the hole regions, they typically use two encoder-decoders for separate recovery. The CNN features of each encoder are learned to capture either missing structures or textures without considering them as a whole. The insufficient utilization of these encoder features limit the performance of recovering both structures and textures. In this paper, we propose a mutual encoder-decoder CNN for joint recovery of both. We use CNN features from the deep and shallow layers of the encoder to represent structures and textures of an input image, respectively. The deep layer features are sent to a structure branch and the shallow layer features are sent to a texture branch. In each branch, we fill holes in multiple scales of the CNN features. The filled CNN features from both branches are concatenated and then equalized. During feature equalization, we reweigh channel attentions first and propose a bilateral propagation activation function to enable spatial equalization. To this end, the filled CNN features of structure and texture mutually benefit each other to represent image content at all feature levels. We use the equalized feature to supplement decoder features for output image generation through skip connections. Experiments on the benchmark datasets show the proposed method is effective to recover structures and textures and performs favorably against state-of-the-art approaches.

Motivation & Objective

  • To address the inconsistency between recovered structures and textures in deep image inpainting methods.
  • To improve visual quality by jointly modeling structure and texture features instead of sequentially or independently.
  • To reduce blur and artifacts around hole regions caused by feature misalignment in CNN feature spaces.
  • To enhance feature coherence across hole boundaries and within the hole region using a novel feature equalization mechanism.

Proposed method

  • The method uses a shared encoder with separate branches: shallow layers for texture features and deep layers for structure features.
  • Multi-scale hole filling is applied in both texture and structure branches using three partial convolution streams with increasing kernel sizes.
  • Features from both branches are concatenated and subjected to channel reweighting via self-attention to align attention maps across branches.
  • A bilateral propagation activation (BPA) function is proposed to enforce spatial consistency: global propagation for boundary coherence and local operations for similarity preservation.
  • Equalized features are fused and fed into the decoder via skip connections to improve reconstruction quality at all feature levels.
  • The network is trained end-to-end with perceptual and adversarial losses to enhance realism and structural consistency.

Experimental results

Research questions

  • RQ1Can joint modeling of structure and texture features in CNN feature space improve image inpainting quality?
  • RQ2How does feature equalization between structure and texture branches affect visual consistency and artifact reduction?
  • RQ3Does the proposed bilateral propagation activation function outperform non-local attention in preserving local and global feature coherence?
  • RQ4To what extent do separate structure and texture branches contribute to the final inpainting performance?

Key findings

  • On the Paris StreetView dataset, the proposed method achieves a Fréchet Inception Distance (FID) of 25.10, significantly outperforming the baseline without equalization (29.11) and state-of-the-art methods like CSA (29.8%).
  • In human subject evaluation on CelebA, the proposed method received 56.4% of votes as the most realistic result, surpassing CSA (29.6%) and GC (5.3%).
  • Ablation studies show that removing the texture branch leads to loss of fine details, while removing the structure branch results in missing structural elements, confirming the necessity of both branches.
  • The feature equalization mechanism, especially the bilateral propagation activation, reduces visible artifacts and blur, as shown in qualitative comparisons on Paris StreetView and Place2.
  • On the Place2 dataset, the method achieves an FID of 21.26, outperforming the baseline without equalization (29.11) and demonstrating the effectiveness of feature equalization.
  • The combination of non-local aggregation and feature equalization further improves performance, with FID dropping from 24.07 to 21.26, indicating complementary benefits.

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.