Skip to main content
QUICK REVIEW

[Paper Review] Semantically Consistent Image Completion with Fine-grained Details

Pengpeng Liu, Xiaojuan Qi|arXiv (Cornell University)|Nov 26, 2017
Generative Adversarial Networks and Image SynthesisComputer Science27 references11 citations
TL;DR

This paper proposes a lightweight, fully convolutional generator with multi-level supervision—reconstruction, perceptual, and adversarial losses—for semantically consistent image completion with fine-grained details. By combining perceptual guidance in a similarity-enhanced feature space with adversarial training, the method achieves state-of-the-art results on CelebA and Paris StreetView with under 10M parameters, significantly outperforming prior methods in detail fidelity and boundary consistency.

ABSTRACT

Image completion has achieved significant progress due to advances in generative adversarial networks (GANs). Albeit natural-looking, the synthesized contents still lack details, especially for scenes with complex structures or images with large holes. This is because there exists a gap between low-level reconstruction loss and high-level adversarial loss. To address this issue, we introduce a perceptual network to provide mid-level guidance, which measures the semantical similarity between the synthesized and original contents in a similarity-enhanced space. We conduct a detailed analysis on the effects of different losses and different levels of perceptual features in image completion, showing that there exist complementarity between adversarial training and perceptual features. By combining them together, our model can achieve nearly seamless fusion results in an end-to-end manner. Moreover, we design an effective lightweight generator architecture, which can achieve effective image inpainting with far less parameters. Evaluated on CelebA Face and Paris StreetView dataset, our proposed method significantly outperforms existing methods.

Motivation & Objective

  • To address the gap between low-level pixel reconstruction and high-level adversarial loss in image inpainting, which limits fine-grained detail synthesis.
  • To introduce mid-level perceptual supervision using a pre-trained CNN to enhance semantic consistency and detail generation.
  • To design a lightweight, fully convolutional generator architecture that achieves high performance with minimal parameters (<10M).
  • To demonstrate the complementarity of adversarial training and perceptual features in producing natural, detailed, and semantically consistent image completions.
  • To enable robust image completion under random mask locations and sizes, without requiring image alignment or post-processing.

Proposed method

  • The method employs a multi-loss training strategy combining pixel-wise reconstruction loss ($L_r$), adversarial loss ($L_a$), and perceptual loss ($L_p$) for multi-level supervision.
  • A pre-trained perceptual network transforms images into a feature space where semantically similar but appearance-different contents are made closer, enabling mid-level semantic guidance.
  • The perceptual loss is computed as the $L_2$ distance between feature maps of the original and completed images at multiple layers of the perceptual network.
  • A novel lightweight, fully convolutional generator (FCN-based) is designed to efficiently capture long-range context and produce high-resolution outputs with reduced parameter count.
  • The discriminator enforces global naturalness and boundary continuity, while the generator is trained end-to-end with all three losses.
  • The framework is trained end-to-end and inference requires only the generator, enabling real-time application.

Experimental results

Research questions

  • RQ1How do reconstruction, adversarial, and perceptual losses interact in image completion, and what is their relative contribution to detail and consistency?
  • RQ2Can perceptual supervision in a similarity-enhanced feature space improve fine-grained detail synthesis without introducing artifacts?
  • RQ3To what extent do adversarial training and perceptual features complement each other in generating semantically consistent and realistic image completions?
  • RQ4Can a lightweight, fully convolutional generator achieve performance comparable to large models while using significantly fewer parameters?
  • RQ5How robust is the method to random mask locations and sizes, especially in complex scenes like faces and urban streets?

Key findings

  • The combination of adversarial and perceptual losses produces results with fine-grained details and boundary continuity, outperforming models using only $L_r$, $L_a$, or $L_p$ alone.
  • On the Paris StreetView dataset, the proposed method achieves a PSNR of 21.5338 dB with $L_r + L_a + L_p$, outperforming Context Encoder (20.4878 dB) and showing minimal performance drop under random mask settings.
  • The method maintains strong performance on CelebA and Paris StreetView even with random mask locations and sizes, unlike models such as Context Encoder that require fixed masks.
  • The lightweight generator with fewer than 10 million parameters achieves state-of-the-art results, demonstrating that high performance does not require massive model size.
  • Qualitative results show that the method successfully removes objects like people, signs, and beards while preserving semantic consistency and generating plausible, novel content.
  • Failure cases occur when training data lacks relevant examples (e.g., profile faces, symmetric structures), indicating limitations in generalization beyond training distribution.

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.