Jitter Does Matter: Adapting Gaze Estimation to New Domains

Ruicong Liu, Yiwei Bao, Mingjie Xu, Haofei Wang, Yunfei Liu, Feng LuarXiv 2022 · DOI

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.

Figure 3: Comparison of gaze estimation performance between source and target domains, highlighting the phenomenon of 'Gaze Jitter' in the target domain.

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.

Figure 6: Impact of filtering high-frequency information on gaze jitter magnitude (a) and angular gaze error (b).

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:

  1. 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.
  2. 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.
  3. 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

BibTeX
@misc{liu2022jitter,
  author = {Ruicong Liu and Yiwei Bao and Mingjie Xu and Haofei Wang and Yunfei Liu and Feng Lu},
  title = {{Jitter Does Matter: Adapting Gaze Estimation to New Domains}},
  year = {2022},
  eprint = {2210.02082},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.02082},
}
Figure