Skip to main content
QUICK REVIEW

[Paper Review] Temporally coherent video anonymization through GAN inpainting

Thangapavithraa Balaji, Patrick Blies|arXiv (Cornell University)|Jun 4, 2021
Digital Media Forensic DetectionComputer Science38 references4 citations
TL;DR

This paper proposes JaGAN, a two-stage GAN-based method for temporally coherent video face anonymization that replaces detected faces with artificially generated, identity-invariant faces. By leveraging a novel video dataset and introducing the Identity Invariance (IdI) score, the method achieves superior temporal consistency and a state-of-the-art FID score of 1.97 on landmark-free face inpainting, significantly reducing flicker and identity shift compared to image-based baselines.

ABSTRACT

This work tackles the problem of temporally coherent face anonymization in natural video streams.We propose JaGAN, a two-stage system starting with detecting and masking out faces with black image patches in all individual frames of the video. The second stage leverages a privacy-preserving Video Generative Adversarial Network designed to inpaint the missing image patches with artificially generated faces. Our initial experiments reveal that image based generative models are not capable of inpainting patches showing temporal coherent appearance across neighboring video frames. To address this issue we introduce a newly curated video collection, which is made publicly available for the research community along with this paper. We also introduce the Identity Invariance Score IdI as a means to quantify temporal coherency between neighboring frames.

Motivation & Objective

  • To address the flickering and identity inconsistency in temporally coherent video anonymization caused by frame-wise face inpainting.
  • To develop a privacy-preserving video GAN that generates realistic, consistent faces without relying on facial landmarks.
  • To introduce a new evaluation metric, the Identity Invariance (IdI) score, to quantitatively measure temporal consistency in generated faces.
  • To release a large-scale, publicly available video dataset of 400,000 30-frame sequences for training and evaluating video-based face anonymization models.

Proposed method

  • The method first detects and masks faces in each video frame using a face detector, replacing them with black patches.
  • A video-specific GAN is trained to inpaint the masked regions with synthetic faces that maintain temporal consistency across frames.
  • The generator is conditioned on the masked input and uses a spatio-temporal adversarial loss to enforce coherence across adjacent frames.
  • The Identity Invariance (IdI) score is computed using L2 distances between Facenet embeddings of consecutive frames, normalized by real-frame distances to account for natural motion.
  • The model is trained and evaluated on a newly curated dataset of 400,000 YouTube-based video sequences, all under Creative Commons licensing.
  • The approach avoids using facial landmarks, ensuring privacy by not preserving any original facial features or geometry.

Experimental results

Research questions

  • RQ1Can a GAN-based video inpainting model generate temporally coherent faces across video sequences without relying on facial landmarks?
  • RQ2How can temporal consistency in generated faces be quantitatively measured in a way that correlates with human perception?
  • RQ3Does a video-based GAN outperform image-based GANs in maintaining identity invariance and visual quality in anonymized video sequences?
  • RQ4To what extent does the proposed IdI score correlate with perceptual temporal coherence in generated video frames?

Key findings

  • The proposed JaGAN model achieves a state-of-the-art FID score of 1.97 on the FDF validation set for landmark-free face inpainting, improving upon the previous SOTA of 3.36.
  • The video-based model reduces identity shift across frames, achieving an IdI score of 0.48, compared to 0.42 for the image-based model.
  • The video model achieves a lower FVD score of 59 compared to 110 for the image model, indicating improved perceptual quality and temporal coherence.
  • The IdI score effectively quantifies temporal consistency, with real faces achieving an IdI of 1.00, and the video model showing a 48% improvement over the image model in identity stability.
  • The newly released dataset of 400,000 video sequences provides a diverse, publicly available benchmark for training and evaluating video anonymization models.
  • Visual inspection confirms that the video model eliminates flickering and warping effects present in image-based baselines, resulting in more natural and consistent face generation.

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.