Photo-Realistic Monocular Gaze Redirection Using Generative Adversarial Networks

Zhe He, Adrian Spurr, Xucong Zhang, Otmar Hilliges

TL;DR

This paper introduces the first Generative Adversarial Network (GAN) framework for monocular gaze redirection, allowing for precise control over eye direction in a single image. By combining adversarial training with cycle-consistency and gaze-specific losses, the model produces photo-realistic results that preserve individual identity and can significantly improve the performance of downstream gaze estimation tasks through data augmentation.

What Problem Does This Paper Address?

Gaze redirection—the ability to change where a person is looking in a single image—is a critical task for applications ranging from video conferencing (correcting eye contact) to film post-production.

The challenge lies in two areas: photo-realism and identity preservation. Previous methods typically relied on 3D geometric transformations (which require specialized hardware for depth sensing) or "warping" techniques that move existing pixels around. Warping-based methods often struggle with large redirection angles, leading to blurry textures and distorted shapes (like warped eyeglasses or eyelids) because they cannot "hallucinate" new pixels for areas that were previously occluded. Furthermore, standard training metrics like Mean Squared Error (MSE) fail to capture human perception, often penalizing high-quality images for minor pixel shifts while ignoring significant blurriness.

Methods

The authors propose a conditional GAN architecture designed to synthesize new eye images based on a target gaze direction.

Figure 2: Overview of our proposed method. (a) Generator G takes the original eye image xr and target gaze direction dg as input, and outputs the synthesized redirected eye image xg. And then xg and the source gaze direction dr are fed into G to reconstruct the xrec. (b) Discriminator D is trained to discriminate real and synthesized images, and it also estimates the gaze direction to calculate the gaze estimation loss. V GG takes synthesized image xg and ground-truth image xt to produces perceptual losses for the refinement of generated images. Please refer to Sec. 3.1 for details.

Key components of their approach include:

  • Dual-Purpose Discriminator: Unlike standard GANs where the discriminator only judges "real vs. fake," this discriminator also acts as a gaze estimator. It ensures that the generated image not only looks real but also accurately matches the requested target gaze angle.
  • Cycle-Consistency Loss: To ensure the person still looks like themselves (preserving skin tone, eyebrows, and glasses), the model must be able to redirect the gaze to a target and then redirect it back to the original state to recover the starting image.
  • Perceptual & Style Losses: By leveraging a pre-trained VGG-16 network, the model minimizes discrepancies in high-level features and textures between the generated image and ground-truth references, rather than just comparing raw pixels.
  • WGAN-GP Backbone: The system uses the Wasserstein GAN with Gradient Penalty for more stable training.

Datasets

  • Columbia Gaze Dataset: The primary dataset used, containing high-resolution images of 56 subjects with various discrete head poses and gaze directions.
  • MPIIGaze: Used for cross-dataset evaluation to test how well the redirection model aids gaze estimation in "in-the-wild" scenarios.

Key Insights and Ideas

  • MSE is a Poor Metric for Gaze: The authors demonstrate that a one-pixel shift results in a higher MSE than a blurry image, even though the shifted image is perceptually superior. They advocate for LPIPS (Learned Perceptual Image Patch Similarity) and gaze estimation error as better benchmarks.
  • Identity Preservation via Cycle-Consistency: Without the cycle-consistency loss, the model tends to "forget" personalized features like the specific frames of a subject's eyeglasses.
  • Redirection as Augmentation: A major "aha moment" is showing that this model can act as a data engine. By synthesizing eyes at angles missing from a training set, they can train better gaze estimators that generalize to unseen viewing angles.

Key Results

The proposed method was compared against DeepWarp, the previous state-of-the-art warping-based model.

  • Qualitative Superiority: As shown in the zoom-in comparisons, the GAN approach avoids the "smearing" artifacts common in warping methods, maintaining sharp textures for the iris and eyelids.
Figure 4: Zoom-in detail comparison.
  • Quantitative Gains: The model achieved significantly lower LPIPS scores (indicating higher perceptual quality) and lower gaze redirection error across all tested angles.
  • User Study: In a blind test, 16 users preferred the GAN-generated images over DeepWarp's results between 78% and 91% of the time, depending on the difficulty of the redirection angle.
  • Data Augmentation: By using the model to augment the Columbia Gaze dataset, the authors reduced the error of a standard gaze estimator from 14.3° to 6.9°.

Limitations and Future Work

While the model performs well on frontal faces, extreme head poses remain a challenge. At very sharp angles, parts of the eye (like the corner) can be completely occluded by the nose, making it difficult for the generator to synthesize the area accurately. The authors suggest that future work could involve better integration of head pose information and handling more extreme self-occlusions. Additionally, the current model operates on eye patches; extending this to full-face redirection while maintaining global consistency is a natural next step.

Summary updated

BibTeX
@inproceedings{he2019photo,
  author = {Zhe He and Adrian Spurr and Xucong Zhang and Otmar Hilliges},
  title = {{Photo-Realistic Monocular Gaze Redirection Using Generative Adversarial Networks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00703},
}
Figure