Representation Learning by Rotating Your Faces

Luan Tran, Xi Yin, Xiaoming Liu · DOI

Abstract

The large pose discrepancy between two face images is one of the fundamental challenges in automatic face recognition. Conventional approaches to pose-invariant face recognition either perform face frontalization on, or learn a pose-invariant representation from, a non-frontal face image. We argue that it is more desirable to perform both tasks jointly to allow them to leverage each other. To this end, this paper proposes a Disentangled Representation learning-Generative Adversarial Network (DR-GAN) with three distinct novelties. First, the encoder-decoder structure of the generator enables DR-GAN to learn a representation that is both generative and discriminative, which can be used for face image synthesis and pose-invariant face recognition. Second, this representation is explicitly disentangled from other face variations such as pose, through the pose code provided to the decoder and pose estimation in the discriminator. Third, DR-GAN can take one or multiple images as the input, and generate one unified identity representation along with an arbitrary number of synthetic face images. Extensive quantitative and qualitative evaluation on a number of controlled and in-the-wild databases demonstrate the superiority of DR-GAN over the state of the art in both learning representations and rotating large-pose face images.

Introduction

Recognizing faces across varying orientations remains a significant challenge in computer vision. While modern face recognition systems achieve high accuracy on frontal views, their performance often degrades when faced with large pose variations, such as those captured by surveillance cameras at side angles. This problem, known as Pose-Invariant Face Recognition (PIFR), has traditionally been approached through two separate paths: frontalization (warping profile images to a frontal view) or the extraction of pose-invariant features.

This paper introduces DR-GAN (Disentangled Representation learning-Generative Adversarial Network), a framework that treats face synthesis and recognition as two sides of the same coin. By training a model to "rotate" faces to any target pose, the authors force the network to learn an internal identity representation that is exceptionally robust and disentangled from orientation.

Overview of the DR-GAN system. The model processes input images to generate a pose-invariant identity representation and can synthesize the face at any target pose.

The DR-GAN Framework

The core of the DR-GAN architecture is a unique encoder-decoder generator integrated within a multi-task GAN framework.

Architecture and Disentanglement

Unlike standard GANs that generate images from random noise, DR-GAN’s generator ($G$) consists of an Encoder ($G_{enc}$) and a Decoder ($G_{dec}$). The encoder compresses an input face image into a feature vector $f(x)$. The decoder then takes this vector, a target pose code, and a noise vector to synthesize a new image of the person at the specified angle.

The Discriminator ($D$) serves as more than just a binary judge of realism. It is a multi-task network that simultaneously predicts whether an image is real or synthetic, identifies the subject, and estimates the face's pose. This multi-objective training ensures that the identity feature $f(x)$ is "stripped" of pose information, effectively disentangling identity from orientation.

Comparison of DR-GAN with other common GAN architectures. DR-GAN (d) distinguishes itself by incorporating identity and pose classification within the discriminator and using an encoder-decoder generator for representation learning.

Multi-Image Fusion

A significant extension of the model is its ability to handle multiple images of the same person. DR-GAN learns a "confidence coefficient" ($\omega$) for each input, automatically weighing high-quality frontal shots more heavily than blurry or extreme profile shots. This allows the model to create a single, unified identity representation from a set of diverse images.

Experimental Results

The effectiveness of DR-GAN was evaluated across several major benchmarks, including Multi-PIE, CASIA-WebFace, CFP, and IJB-A.

  • Recognition Accuracy: On the CFP dataset, DR-GAN achieved 93.89% accuracy on frontal-to-profile verification, a substantial improvement over previous deep learning baselines.
  • In-the-Wild Performance: On the unconstrained IJB-A dataset, the "DR-GAN AM" variant reached a Rank-1 identification rate of 92.0%, demonstrating its robustness in real-world scenarios.
  • Qualitative Synthesis: By utilizing adversarial loss rather than standard pixel-wise $L2$ loss, DR-GAN produces sharp, identity-preserving rotations even from 90-degree profile views, avoiding the "average face" blurriness seen in traditional methods.

Conclusion

DR-GAN demonstrates that face rotation is not merely a visual byproduct but a powerful supervisor for representation learning. By explicitly disentangling identity from pose through a generative-discriminative framework, the model achieves state-of-the-art performance in both face synthesis and recognition. Future research may apply this disentangled representation approach to other factors such as age, lighting, or facial expressions, further pushing the boundaries of robust computer vision.

Summary updated

BibTeX
@article{tran2017representation,
  author = {Luan Tran and Xi Yin and Xiaoming Liu},
  title = {{Representation Learning by Rotating Your Faces}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2017},
  doi = {10.1109/tpami.2018.2868350},
}
Figure