'Labelling the Gaps': A Weakly Supervised Automatic Eye Gaze Estimation

Shreya Ghosh, Abhinav Dhall, Munawar Hayat, Jarrod Knibbe

Abstract

Accurate eye gaze estimation is essential for the advancement of augmented and virtual reality (AR/VR), human-computer interaction, and behavioral analysis. However, the development of robust models is often hindered by the "data curation bottleneck"—the immense manual effort required to annotate gaze directions across thousands of video frames. This paper introduces a weakly supervised deep learning framework designed to "label the gaps" in gaze trajectories. By leveraging the temporal consistency of human eye movements, the proposed model can accurately interpolate gaze labels for intermediate frames using as little as one or two labeled frames per sequence. Our results demonstrate that this approach reduces manual annotation requirements to under 5% of the original dataset size while maintaining performance comparable to fully supervised state-of-the-art (SOTA) models.

Introduction

Training deep learning models for gaze estimation typically requires massive, accurately annotated datasets. Manually labeling the exact coordinates of a person's gaze in every frame of a video is tedious, expensive, and prone to human error, particularly in unconstrained "in-the-wild" environments. To address this, we explore a fundamental question: Can we train a highly accurate gaze estimation model using only a tiny fraction of labeled frames?

By treating gaze estimation as a sequence-based problem rather than an image-based one, we utilize the physical constraints of eye movement to supervise the learning process. This allows for the generation of high-quality "pseudo-labels" that can be used to train existing SOTA architectures with minimal human intervention.

Methodology

The 3-Frame Framework

The proposed framework breaks video sequences into "3-frame sets," consisting of a start frame, a middle (unlabelled) frame, and an end frame. The system utilizes two primary network architectures, built on VGG-16 or ResNet-50 backbones:

  • 2-Labels Network: This architecture uses the ground-truth labels of the start and end frames to predict the gaze of the unlabelled middle frame.
  • 1-Label Network: This more aggressive version uses only the start frame's label to predict the gaze of subsequent frames in the sequence.

Novel Loss Functions

Rather than relying on simple linear interpolation, the networks are trained using task-specific domain knowledge enforced through three key mechanisms:

  1. Motion Features: The network explicitly calculates the $L_1$ distance between the latent embeddings of consecutive frames. This captures subtle eye and head movements that static images might miss.
  2. Consistency Loss: This is the core innovation of the study. The network enforces a constraint where the distance between frames in the latent feature space must correspond to the distance between them in the label space (the actual gaze angle). This ensures that predicted labels respect the spatio-temporal reality of human ocular kinetics.
  3. Distributional Supervision (KL Divergence): For the 1-label network, Kullback-Leibler (KL) divergence is employed to ensure that predicted gaze angles follow a realistic distribution, compensating for the lack of an end-frame anchor.

Experimental Setup and Datasets

The researchers evaluated the framework across a variety of environments, ranging from controlled labs to unconstrained outdoor settings:

  • CAVE: A highly constrained laboratory dataset.
  • TabletGaze & MPII: Indoor datasets collected via consumer electronics (tablets and laptops).
  • Gaze360: A large-scale, physically unconstrained dataset covering both indoor and outdoor scenarios.
  • YouTube "In-the-Wild": A custom dataset of approximately 400,000 unlabelled frames. To process this data, the authors developed a heuristic based on the geometric symmetry of the iris to automatically detect gaze trajectories without any initial human annotation.

Results and Discussion

Efficiency in Annotation

The proposed method achieved a massive reduction in manual labor. The framework required only 6.56% of the CAVE dataset, 4.67% of MPII, 2.38% of Gaze360, and less than 1% of TabletGaze to be manually labeled to achieve functional results.

Performance and Generalization

The ultimate validation of the framework was whether its generated pseudo-labels could effectively train other models. When the SOTA "Pictorial Gaze" model was trained using labels generated by our 2-labels network, it achieved an angular error of 4.00° on the CAVE dataset—nearly matching the 3.80° error achieved when training on 100% human-annotated data.

Furthermore, the study found that models trained on these weakly supervised labels exhibited superior cross-dataset generalization. This suggests that the temporal consistency constraints help the model avoid over-fitting to dataset-specific biases often present in manual annotations.

Ablation Insights

Ablation studies confirmed that motion features are critical for accuracy. On the CAVE dataset, the Mean Absolute Error (MAE) dropped from 0.34 to 0.25 simply by including the $L_1$ motion feature calculation, highlighting the importance of temporal context in gaze estimation.

Limitations and Future Work

While highly effective for continuous trajectories, the method faces challenges with disjointed frames or random movements where temporal coherence is broken. Performance also degrades during eye blinks and in environments with extremely dark or uneven illumination. Additionally, the current framework is optimized for frontal or near-frontal faces, with limited accuracy in extreme head-pose scenarios.

Future research will focus on subject-specific gaze estimation in more challenging conditions, such as low-resolution video and extreme poses. The authors also intend to explore "extrapolation"—predicting future gaze directions based on past frames—to further expand the utility of the model in real-time applications.

Conclusion

'Labelling the Gaps' demonstrates that temporal coherence is a powerful supervisor for deep learning. By enforcing physical consistency in the latent space, we can bypass the need for exhaustive manual annotation, paving the way for more scalable and robust gaze estimation systems in the wild.

Summary updated

BibTeX
@inproceedings{ghosh2022labelling,
  author = {Shreya Ghosh and Abhinav Dhall and Munawar Hayat and Jarrod Knibbe},
  title = {{'Labelling the Gaps': A Weakly Supervised Automatic Eye Gaze Estimation}},
  booktitle = {ACCV},
  year = {2022},
  doi = {10.1007/978-3-031-26316-3\_44},
}
Figure