Skip to main content
QUICK REVIEW

[Paper Review] Improved Techniques for GAN based Facial Inpainting

Avisek Lahiri, Arnav Jain|arXiv (Cornell University)|Oct 20, 2018
Generative Adversarial Networks and Image SynthesisComputer Science16 references8 citations
TL;DR

This paper proposes a GAN-based facial inpainting method that improves reconstruction quality and optimization speed by using a learnable parametric network for better initialization and a temporal smoothness loss for video sequences. It achieves over 15× speedup and superior identity preservation on CelebA and VidTIMIT datasets, outperforming state-of-the-art models without explicit face recognition supervision.

ABSTRACT

In this paper we present several architectural and optimization recipes for generative adversarial network(GAN) based facial semantic inpainting. Current benchmark models are susceptible to initial solutions of non-convex optimization criterion of GAN based inpainting. We present an end-to-end trainable parametric network to deterministically start from good initial solutions leading to more photo realistic reconstructions with significant optimization speed up. For the first time, we show how to efficiently extend GAN based single image inpainter models to sequences by a)learning to initialize a temporal window of solutions with a recurrent neural network and b)imposing a temporal smoothness loss(during iterative optimization) to respect the redundancy in temporal dimension of a sequence. We conduct comprehensive empirical evaluations on CelebA images and pseudo sequences followed by real life videos of VidTIMIT dataset. The proposed method significantly outperforms current GAN based state-of-the-art in terms of reconstruction quality with a simultaneous speedup of over 15$ imes$. We also show that our proposed model is better in preserving facial identity in a sequence even without explicitly using any face recognition module during training.

Motivation & Objective

  • To address the instability and poor convergence of GAN-based facial inpainting due to non-convex optimization in single-image settings.
  • To extend single-image GAN-based inpainting to video sequences by modeling temporal dynamics and enforcing consistency.
  • To improve reconstruction quality and optimization speed without relying on explicit face recognition modules during training.
  • To demonstrate that temporal smoothness loss alone can effectively preserve facial identity across sequences.
  • To validate the method on both pseudo-sequences and real facial video datasets like VidTIMIT.

Proposed method

  • Proposes a learnable parametric network to deterministically initialize the latent code $ z $, replacing random initialization and improving initial reconstruction quality.
  • Introduces a recurrent neural network (LSTM) to jointly initialize latent codes across a temporal window of frames, capturing scene dynamics.
  • Implements a temporal smoothness loss that constrains the final optimized latent codes of neighboring frames to be close in Euclidean space.
  • Uses the pre-trained GAN generator and discriminator to compute perceptual and contextual losses, with optimization guided by a weighted sum of these losses.
  • Applies the optimization framework iteratively to refine the latent code $ z $, minimizing $ L_{con}(z|I_d,M) + \eta L_{per}(z) $, with the new components enhancing convergence.
  • Fine-tunes the pre-trained CelebA GAN on VidTIMIT data to adapt to lower-resolution, real-world facial video distributions.

Experimental results

Research questions

  • RQ1Can a learned parametric initialization improve the quality and speed of GAN-based facial inpainting compared to random initialization?
  • RQ2Can a recurrent network be effectively used to initialize latent codes across multiple frames in a video sequence to improve temporal consistency?
  • RQ3Does a temporal smoothness loss during iterative optimization improve facial identity preservation in video inpainting without explicit identity supervision?
  • RQ4How do the proposed components perform on real video data, and can they generalize beyond synthetic pseudo-sequences?
  • RQ5To what extent does the combination of learned initialization and temporal smoothness loss outperform the state-of-the-art on both reconstruction quality and optimization speed?

Key findings

  • The proposed method achieves an average optimization speedup of over 15× compared to the baseline [7] on CelebA and VidTIMIT datasets.
  • On the VidTIMIT dataset at 128×128 resolution, the proposed model (LSTM init + Smoothness Loss) achieves a mean PSNR of 27.78 dB on the fjas0 subject, compared to 25.81 dB for [7].
  • The model reduces contextual loss from 0.41 to 0.23 and perceptual loss from 0.20 to 0.11 at 128×128 resolution, indicating better reconstruction and realism.
  • FaceNet loss is reduced from 0.68 to 0.23 at 128×128 resolution, showing significant improvement in facial identity preservation.
  • The temporal smoothness loss alone achieves comparable identity preservation to models using explicit identity supervision, demonstrating its effectiveness in implicit identity modeling.
  • The model outperforms [7] in visual quality on both pseudo-sequences and real videos, with qualitative results showing more photo-realistic and temporally consistent outputs.

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.