Photo-Realistic Monocular Gaze Redirection Using Generative Adversarial Networks

Zhe He, Adrian Spurr, Xucong Zhang, Otmar Hilliges

Introduction

Gaze redirection—the task of modifying an image of an eye to look in a target direction—is a foundational challenge for applications ranging from teleconferencing and film post-production to the generation of synthetic training data. The primary difficulties lie in achieving photo-realism and preserving the subject's identity. Moving an eye requires more than just shifting the iris; the model must realistically deform the eyelids and "hallucinate" previously occluded parts of the eyeball.

Previous state-of-the-art methods, such as DeepWarp, relied on pixel-warping flows. While effective for minor adjustments, these methods struggle with large angular changes, often producing blurry or physically impossible results when new content must be synthesized for dis-occluded areas.

Methodology

To overcome the limitations of geometric warping, this work introduces a Conditional Generative Adversarial Network (cGAN) framework. Unlike warping-based approaches, this model synthesizes new pixels, allowing for more natural eye shapes and textures at extreme angles.

Architecture and Loss Functions

The system utilizes a Generator ($G$) that accepts an original eye patch and a target gaze vector (yaw and pitch) to produce a redirected image. The Discriminator ($D$) serves a dual purpose: it distinguishes real images from fakes and acts as an auxiliary gaze estimator to ensure the output matches the requested direction.

The proposed GAN architecture, featuring the generator, multi-task discriminator, and the integration of gaze, reconstruction, and perceptual losses.

The model's performance is driven by a combination of specialized loss functions:

  • Gaze Estimation Loss: Penalizes deviations from the target gaze vector.
  • Cycle-Consistency Loss: Forces the model to be able to redirect an eye from direction A to B and back to A, ensuring that identity-specific features (like skin texture or glasses) are preserved.
  • Perceptual Loss: Uses a pre-trained VGG-16 network to compare high-level features rather than raw pixels, preventing the blurriness common in standard Mean Squared Error (MSE) approaches.

Results and Insights

The model was evaluated using the Columbia Gaze and MPIIGaze datasets. A key finding was that traditional metrics like MSE are poor indicators of quality in gaze redirection; a minor pixel shift can result in high error despite looking perfect to a human observer. Instead, the authors advocate for Learned Perceptual Image Patch Similarity (LPIPS).

Example of the gaze redirection task: (a) shows the original subject from the Columbia Gaze Dataset, and (b) displays a grid of synthesized eye patches across various target angles.

Key Performance Metrics

  • User Preference: In a comparative study, participants preferred the GAN-generated images over DeepWarp by a margin of 91% to 9% for medium redirection angles.
  • Angular Accuracy: The model achieved significantly lower angular gaze error than previous methods.
  • Data Augmentation: By using the GAN to synthesize eyes at missing angles in existing datasets, the authors improved the accuracy of standard gaze estimators on the Columbia dataset from 14.3° to 6.9°, a nearly 50% reduction in error.

Conclusion

This research demonstrates that generative synthesis is fundamentally superior to geometric warping for tasks involving complex dis-occlusions. While the current model focuses on isolated $64 \times 64$ eye patches, it sets a new benchmark for photo-realistic gaze manipulation. Future work will involve integrating these patches into full-face models and ensuring temporal consistency for video applications.

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