Abstract
Gaze estimation in real-world environments is hindered by a significant domain gap between synthetic training data and complex outdoor imagery. Traditional domain adaptation techniques often attempt to make synthetic images appear more realistic, frequently at the cost of distorting critical eye geometry. This paper introduces a novel "purification" paradigm using a Mask-guided Style Transfer Network. By mapping complex real-world images to a simplified synthetic style while preserving geometric integrity through semantic masks, the proposed method significantly enhances gaze estimation accuracy. Experimental results demonstrate a reduction in gaze error by over 3 degrees and a 1000x speedup over optimization-based style transfer methods, enabling real-time processing.
Introduction
Accurate gaze estimation is a cornerstone of modern human-computer interaction. While deep learning models excel when provided with vast amounts of labeled data, the labor-intensive nature of annotating real-world gaze datasets remains a bottleneck. Synthetic data generators offer a solution by providing perfectly labeled images; however, the "domain gap" between these clean synthetic images and noisy, variable real-world images degrades model performance. Existing approaches like SimGANs attempt to bridge this gap by increasing the realism of synthetic data, but these often introduce artifacts that shift the pupil center or iris boundaries—features vital for precise gaze tracking.
Proposed Method
The core contribution of this work is the Mask-guided Style Transfer Network, designed to "purify" real images into a synthetic-like distribution. Unlike global style transfer, this architecture leverages semantic segmentation to apply localized transformations.
The network processes an RGB image ($I_{RGB}$) and its corresponding mask ($I_{mask}$) through three parallel streams:
- Full-stream ($f_{full}$): Captures global contextual features.
- Attention-stream ($f_{attention}$): Isolates the pupil and iris regions to maintain high-fidelity geometry.
- Background-stream ($f_{bkgd}$): Processes the skin and surrounding environment.
A specialized Region-Level Task-Guided Loss is employed to calculate content and style reconstruction separately for the attention and background regions. This prevents style "bleeding" and ensures that the pupil center—the primary feature for gaze estimation—remains spatially accurate, with an observed absolute difference of only 0.8 pixels post-purification.
Experimental Results
The method was evaluated using synthetic datasets (UnityEyes, SynthesEyes) for the target style and real-world benchmarks (LPW, MPIIGaze) for content.
Quantitative Performance
The "purification" of the MPIIGaze dataset led to a consistent accuracy boost across multiple estimation frameworks. For a CNN trained on UnityEyes, the gaze error dropped from 11.2° to 7.8° when testing on purified real images. Furthermore, the feed-forward nature of the network allows for exceptional efficiency. It achieves a 1000x speedup compared to optimization-based methods, processing 512x512 images at 20 FPS on a Titan X GPU, making it viable for real-time applications.
Conclusion
By reversing the traditional domain adaptation direction—purifying real images rather than refining synthetic ones—this research provides a robust and efficient solution for gaze estimation. The mask-guided approach ensures that critical geometric features are preserved, leading to significant gains in accuracy and enabling real-time deployment in real-world scenarios. Future work will focus on temporal consistency for video-based gaze tracking.
Summary updated