Dual Encoder-Decoder Based Generative Adversarial Networks for Disentangled Facial Representation Learning

Cong Hu, Zhenhua Feng, Xiaojun Wu, Josef Kittler

TL;DR

DED-GAN introduces a dual encoder-decoder architecture for Generative Adversarial Networks to achieve superior disentangled facial representations. By treating pose as a continuous variable and incorporating a reconstruction task into the discriminator, the model achieves state-of-the-art performance in both pose-invariant face recognition and high-fidelity face synthesis.

What Problem Does This Paper Address?

Pose variation remains one of the most significant hurdles in automated face recognition. When a face turns, the visual changes are often more dramatic than the differences between two different people's faces. While deep learning has made strides, "disentangling" identity (who the person is) from pose (which way they are looking) is difficult.

Previous state-of-the-art models like DR-GAN attempted this but faced three main issues:

  1. Training Instability: GANs are notoriously hard to train, often suffering from "mode collapse" where the generator produces limited, repetitive, or low-quality outputs.
  2. Information Loss: Most models treat pose as a set of discrete categories (e.g., -60°, 0°, +60°). This ignores the reality that head movement is continuous, leading to a loss of fine-grained detail.
  3. Unbalanced Competition: If the discriminator becomes too powerful too quickly, the generator stops learning effectively.

Methods

The authors propose DED-GAN (Dual Encoder-Decoder GAN), which reimagines the standard GAN architecture to be more robust and informative.

  • Dual Encoder-Decoder Architecture: Unlike standard GANs that use simple convolutional stacks, DED-GAN uses encoder-decoder structures for both the generator ($G$) and the discriminator ($D$).
  • Generator ($G$): The encoder ($G_{enc}$) extracts an identity-preserving representation, while the decoder ($G_{dec}$) uses that representation, a pose code, and noise to synthesize a new face.
  • Discriminator ($D$): This is the "secret sauce." Beyond just saying "real or fake," the discriminator's decoder ($D_{dec}$) tries to reconstruct the input image. It also performs identity classification and pose estimation.
  • Continuous Pose Regression: Instead of using a one-hot vector for discrete pose classes, DED-GAN uses a continuous variable derived from 3D morphable model coefficients. The discriminator is tasked with regressing the exact pose angle, providing a much richer supervisory signal.
  • Wasserstein Pixel-wise Loss: To stabilize training, the authors introduce a loss function based on the Wasserstein distance between the reconstruction error distributions of real and synthetic images. This helps balance the generator and discriminator, leading to faster convergence.
Comparison of GAN architectures. DED-GAN (d) shows the dual encoder-decoder structure and the multi-task discriminator.

Datasets

The model was rigorously evaluated on four major datasets:

  • Multi-PIE: A controlled dataset with 337 identities under various poses and illuminations.
  • CASIA-WebFace: A large-scale "in-the-wild" dataset used for training the model's ability to handle real-world variability.
  • CFP (Celebrities in Frontal-Profile): Specifically used to test the model's performance on extreme profile views.
  • LFW (Labeled Faces in the Wild): The standard benchmark for unconstrained face verification.

Key Insights and Ideas

  • Reconstruction as a Stabilizer: By forcing the discriminator to reconstruct faces, the authors turn it into an energy-based model. This prevents the discriminator from becoming a simple binary switch and forces it to learn the underlying structure of a face, which in turn gives better feedback to the generator.
  • The Power of Continuity: Moving from pose classification to pose regression isn't just a technical tweak; it aligns the model with the physical reality of motion. This "stronger prior" makes it much easier for the model to separate identity features from orientation features.
  • Fast Convergence: The addition of the pixel-wise Wasserstein loss allows the model to reach a stable state in roughly 20 epochs, whereas variants without this loss take much longer and produce lower-quality images.

Key Results

DED-GAN outperformed existing state-of-the-art methods across the board:

  • Pose-Invariant Face Recognition (PIFR): On the Multi-PIE dataset, DED-GAN achieved an average Rank-1 recognition rate of 95.75%, a significant jump over DR-GAN's 90.80%.
  • Face Verification: It achieved 97.52% accuracy on LFW and 91.58% on the challenging frontal-to-profile task of the CFP dataset.
  • Synthesis Quality: The model achieved a Frechet Inception Distance (FID) score of 57.03, compared to 71.25 for DR-GAN. A lower FID indicates that the generated images are statistically much closer to real images in terms of texture and identity preservation.

Limitations and Future Work

While DED-GAN excels at handling pose, the authors note that other factors still influence facial appearance. The current model does not explicitly disentangle factors like illumination, expression, age, or occlusions (like glasses or hair).

Future work aims to extend the dual encoder-decoder framework to handle these additional generative factors, potentially creating a "universal" disentangled representation that can normalize a face across every possible environmental and physical variation.

Summary updated

BibTeX
@article{hu2020dual,
  author = {Cong Hu and Zhenhua Feng and Xiaojun Wu and Josef Kittler},
  title = {{Dual Encoder-Decoder Based Generative Adversarial Networks for Disentangled Facial Representation Learning}},
  journal = {IEEE Access},
  year = {2020},
  doi = {10.1109/access.2020.3009512},
}
Figure