Abstract
Recent research has demonstrated the ability to estimate gaze on mobile devices by performing inference on the image from the phone's front-facing camera, without requiring specialized hardware. While this offers wide potential applications in human-computer interaction, medical diagnosis, and accessibility, current methods are limited by the expensive and tedious process of collecting real-user data. Synthetic 3D eye models have been used to bridge this gap but often lack realism. In this paper, we propose GazeGAN, a generative adversarial framework that generates high-resolution, realistic eye images with high diversity while preserving gaze label accuracy. Using this rich synthesized dataset, we demonstrate significant improvements over state-of-the-art methods for 2D gaze estimation on mobile devices, showing improved robustness to diverse head poses, blur, and distance.
Introduction
Estimating where a user is looking on a smartphone screen is vital for accessibility, medical diagnosis, and gaming. However, training deep learning models for this task requires massive amounts of data. Collecting "real-world" data is a logistical challenge: it is expensive, tedious, and difficult to scale across different devices or lighting conditions.
While synthetic 3D eye models can generate data, these images often suffer from the "uncanny valley" problem, lacking the complex textures of real skin, hair, and reflections. Previous attempts to refine these synthetic images often resulted in low-resolution outputs or, more critically, shifted the eye's position, rendering the original gaze labels incorrect. GazeGAN addresses these issues by combining simulation with a label-preserving refinement process.
Methodology
The GazeGAN framework improves upon synthetic data through three main components:
- Diverse 3D Simulation: The system utilizes a 3D eye region model boosted by "mining" realistic skin textures from thousands of unlabeled "in-the-wild" facial images. This allows the simulator to render millions of unique synthetic eyes.
- Unpaired Image-to-Image Translation: Instead of requiring a perfect pixel-to-pixel match between synthetic and real images, GazeGAN uses a CycleGAN-style architecture. This allows the model to learn the "style" of real eye photos and apply it to synthetic ones.
- Gaze Cycle Consistency Loss: To ensure the GAN does not move the pupil or iris during refinement, a gaze estimator is pre-trained on synthetic data. During GAN training, a constraint is enforced: the gaze predicted from the refined image must match the gaze of the original synthetic image.
Key Insights and Results
GazeGAN goes beyond simple texture changes; it actually "completes" the image. While the 3D model only simulates the eye and immediate skin, the GAN learns to add realistic details like eyelashes, nose bridges, and hair that were absent in the original simulation. Crucially, GazeGAN prioritizes label preservation over pixel preservation, recognizing that pixels must change to look real as long as the semantic gaze direction remains constant.
Performance Benchmarks
- Error Reduction: On the GazeCapture benchmark, the GazeGAN-trained model achieved a 9% reduction in mean error compared to the standard iTracker model.
- Small Data Success: On devices with limited training data, such as the iPhone 4, the framework achieved a 22% reduction in error (dropping from 2.17cm to 1.67cm).
- Robustness: Models trained with GazeGAN data showed significantly better performance in "edge cases," such as extreme head tilts, pans, or when the image was blurry or taken from a distance.
Conclusion
GazeGAN demonstrates that high-quality synthetic data can effectively replace or augment real-world data for sensitive tasks like gaze estimation. While the translation can occasionally fail in extreme poses, the framework's ability to preserve labels while enhancing realism marks a significant step forward. Future work will focus on automated distillation to remove failure cases and expanding the framework to generate full-face synthetic data.
Summary updated