Skip to main content
QUICK REVIEW

[Paper Review] DeepFace: Face Generation using Deep Learning

Hardie Cate, Fahim Dalvi|arXiv (Cornell University)|Jan 7, 2017
Face recognition and analysisComputer Science10 references6 citations
TL;DR

This paper proposes a deep learning framework that combines fine-tuned CNNs for facial attribute classification and a custom Gaussian Mixture Model (cGMM) for generating realistic faces from specified attributes. By leveraging feature inversion on VGG-Face activations, the method generates coherent faces without requiring generative architectures beyond a CNN, achieving 82% classification accuracy and producing plausible face images that match target attributes.

ABSTRACT

We use CNNs to build a system that both classifies images of faces based on a variety of different facial attributes and generates new faces given a set of desired facial characteristics. After introducing the problem and providing context in the first section, we discuss recent work related to image generation in Section 2. In Section 3, we describe the methods used to fine-tune our CNN and generate new images using a novel approach inspired by a Gaussian mixture model. In Section 4, we discuss our working dataset and describe our preprocessing steps and handling of facial attributes. Finally, in Sections 5, 6 and 7, we explain our experiments and results and conclude in the following section. Our classification system has 82\% test accuracy. Furthermore, our generation pipeline successfully creates well-formed faces.

Motivation & Objective

  • To develop a system that generates realistic faces based on specified facial attributes such as hair color, ethnicity, and accessories.
  • To classify facial attributes using a fine-tuned VGG-Face CNN, achieving high accuracy on 73 facial characteristics.
  • To generate new, well-formed faces from random noise by inverting feature activations using a novel cGMM-based approach.
  • To demonstrate that a CNN-based system can generate plausible faces without requiring generative adversarial networks or variational autoencoders.
  • To evaluate the quality of generated faces using a similarity metric against real images in the test set.

Proposed method

  • Fine-tune a pre-trained VGG-Face CNN on a dataset of 2 million celebrity faces, attaching 42 multilabel softmax heads to the fc-7 layer for 73 facial attributes.
  • Use dropout and a learning rate of 5e-6 over 50 epochs to regularize the fine-tuning process and prevent overfitting.
  • Model the distribution of feature activations in the CNN as a custom Gaussian Mixture Model (cGMM), assuming each attribute's activation is normally distributed and independent.
  • Perform feature inversion by projecting target attribute activations back into image space using the cGMM’s mean estimates, starting from random noise.
  • Apply a weighted sum of Gaussian means to reconstruct images, prioritizing computational efficiency over variance in the generated output.
  • Use the PicTriev similarity metric to quantitatively evaluate generated faces against ground truth images in the test set.

Experimental results

Research questions

  • RQ1Can a fine-tuned CNN achieve high accuracy in classifying diverse facial attributes such as hair color, ethnicity, and accessories?
  • RQ2Can a custom Gaussian Mixture Model effectively invert CNN feature activations to generate coherent, realistic faces from random noise?
  • RQ3How well do the generated faces match the target attributes in terms of perceptual similarity to real faces?
  • RQ4What are the limitations of the cGMM approach in preserving discriminative facial features, especially for less prominent attributes?
  • RQ5Can the method generate diverse, non-mean-centered faces if the training data had greater attribute diversity?

Key findings

  • The classification system achieved an average test accuracy of 82%, with most individual attributes scoring above 0.8 and many exceeding 0.9.
  • The cGMM-based generation pipeline successfully produced well-formed, coherent faces from random noise, demonstrating the feasibility of feature inversion.
  • Generated faces showed moderate similarity to real images, with similarity scores ranging from 22% (Mickey Rourke) to 52% (Jared Leto) on the PicTriev metric.
  • Attributes like lighting and photo type had lower classification accuracy (~55–60%), likely due to their less discriminative nature in the feature space.
  • The generated faces were consistently close to the mean image of the training set, suggesting limited variation due to averaging of Gaussian means.
  • The method's performance is limited by the assumption of independent, normally distributed feature activations, which may blur distinctions between correlated attributes.

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.