Introduction
Gaze estimation—the task of determining where a person is looking based on facial or ocular imagery—is a critical component in fields ranging from autonomous driving to human-computer interaction. While modern deep learning models achieve high accuracy on familiar datasets, their performance often degrades significantly when deployed in new environments with different lighting, backgrounds, or demographics. This research identifies a specific symptom of this failure: Gaze Jitter, and proposes a novel framework to mitigate it through contrastive learning and adversarial adaptation.
The Phenomenon of Gaze Jitter
When a gaze estimation model is applied to a target domain that differs from its training data, it often exhibits instability. The authors define "Gaze Jitter" as a phenomenon where nearly identical input images produce wildly divergent gaze predictions. To quantify this, they introduced a new metric: mean-angular-deviation (mav), which measures the angular difference between predictions for visually similar pairs of images.
As shown in the figure above, while the model remains stable in the source domain (0.85° deviation), the same model produces a significant 6.79° deviation in the target domain for essentially the same gaze. This instability suggests that the model is over-relying on non-generalizable features.
Identifying the Cause: High-Frequency Components
Through Fourier analysis, the researchers discovered that the root cause of this jitter lies in High-Frequency Components (HFC)—the fine, sharp details within an image. While these details may help a Convolutional Neural Network (CNN) "cheat" and achieve high accuracy on a specific training set, they often represent noise in a new domain.
Experimental results demonstrate that filtering out HFCs leads to a reduction in both the magnitude of gaze jitter and the overall angular gaze error. This insight suggests that making a model "jitter-proof" requires teaching it to ignore these distracting high-frequency details.
Methodology: Contrastive Learning and Adversarial Noise
The proposed framework addresses the jitter problem through a three-pronged approach:
- Adversarial Data Augmentation: Instead of simple blurring, the authors use adversarial attacks (such as the Fast Gradient Sign Method) to inject noise specifically into the high-frequency spectrum of the images.
- Contrastive Optimization: A contrastive loss function is employed to force the model to produce similar feature representations for both the original image and its noisy, jitter-prone counterpart. This encourages the model to focus on robust, low-frequency features.
- Domain Adaptation: This is combined with standard adversarial domain adaptation to align feature distributions between the source (e.g., ETH-XGaze, Gaze360) and target datasets (e.g., MPIIGaze, EyeDiap).
Key Results
The framework was tested across several major gaze estimation benchmarks and consistently outperformed state-of-the-art unsupervised domain adaptation (UDA) methods.
- Accuracy: In the transition from ETH-XGaze to MPIIGaze, angular error was reduced from 8.56° to 5.35°.
- Stability: The mav jitter metric dropped by nearly 45%, from 3.99 to 2.21.
- Efficiency: The model achieved these gains using as few as 100 images from the target domain for unsupervised adaptation.
Conclusion
This research demonstrates that gaze jitter is not merely an annoyance but a primary indicator of cross-domain error. By identifying high-frequency components as the source of this instability and using adversarial contrastive learning to mitigate their influence, the authors have developed a more robust and generalizable approach to gaze estimation. Future work may involve extending these principles to temporal consistency in video streams, where jitter is even more pronounced.
Summary updated