Appearance-Based Gaze Estimation Using Attention and Difference Mechanism

L. R. D. Murthy, Pradipta BiswasWorkshops @ CVPR 2021

Abstract

Appearance-based gaze estimation using standard 2D cameras faces significant challenges due to "nuisance variables" such as person-specific traits, lighting conditions, and head poses. This paper presents two novel deep learning architectures: the Inter-eye Difference Network (I2D-Net) and the Attention-based Gaze Estimation Network (AGE-Net). I2D-Net introduces a difference layer to filter out person-specific features, while AGE-Net utilizes an attention mechanism to prioritize relevant eye features. Both models employ dilated convolutions to preserve fine spatial details. Evaluated on the MPIIGaze and RT-Gene datasets, AGE-Net achieves state-of-the-art accuracy (4.09° mean error on MPIIGaze) while maintaining high parameter efficiency compared to existing models.

Introduction

Gaze estimation is a critical component for human-computer interaction, traditionally requiring specialized infrared hardware. The shift toward appearance-based methods—using standard webcams—demands models robust to variations in eye shape, skin tone, and illumination. A key challenge is isolating gaze-dependent features (iris and pupil positioning) from person-specific features (eye morphology). Most current approaches simply concatenate features from both eyes, which often fails to generalize across different subjects.

Proposed Architectures

The researchers proposed two distinct strategies to address feature isolation and robustness:

I2D-Net (Inter-eye Difference Network)

I2D-Net employs a "Difference Layer" to act as a person-independent filter. By extracting features from both eyes using a shared CNN backbone and calculating their absolute difference, the model cancels out common traits like skin texture or eye shape. This forces the network to focus on the subtle differences that indicate gaze direction.

AGE-Net (Attention-based Gaze Estimation)

AGE-Net adapts attention mechanisms to gaze estimation. It features two parallel branches: one for feature extraction and an "attention branch" that assigns weights (0 to 1) to these features. This allows the model to dynamically prioritize the most informative parts of the eye image, which is particularly effective under uneven lighting conditions where one eye might be more visible than the other.

Architectural details of I2D-Net and AGE-Net, including the CNN backbones for eye and attention branches.

Both architectures utilize dilated convolutions in their backbones. Unlike standard pooling-based CNNs, dilated convolutions expand the receptive field without losing the fine spatial resolution necessary to track the iris and pupil.

Experimental Results

The models were benchmarked on the MPIIGaze (laptop-based, 15 subjects) and RT-Gene (large head pose variations) datasets.

Performance and Efficiency

AGE-Net set a new state-of-the-art benchmark with a mean error of 4.09° on MPIIGaze and 7.44° on RT-Gene. While I2D-Net was slightly less accurate, it remained competitive with previous state-of-the-art methods. Notably, both models are highly parameter-efficient. AGE-Net (~105M parameters) and I2D-Net (~87M parameters) are significantly smaller than competitors like FARE-Net (~848M), facilitating real-time deployment on consumer hardware.

Comparison of Mean Angle Error across subjects in the MPIIGaze dataset for FARE-Net, I2D-Net, and AGE-Net.

Ablation Studies

Ablation tests confirmed the efficacy of the proposed components:

  • The attention branch in AGE-Net improved accuracy by 10%.
  • Dilated convolutions provided a 3.5% accuracy boost over standard convolutions.
  • The inclusion of a "face channel" (low-resolution whole-face crop) was found to be vital for providing head pose context.

Conclusion and Future Work

The introduction of difference and attention mechanisms significantly improves the robustness of appearance-based gaze estimation. However, challenges remain regarding extreme "pitch" (vertical gaze), where eyelids often occlude the pupil. Future work will focus on improving robustness to varied camera placements (e.g., side-mounted tablets) and further reducing parameter counts for ultra-low-latency mobile applications.

Summary updated

BibTeX
@inproceedings{murthy2021appearance,
  author = {L. R. D. Murthy and Pradipta Biswas},
  title = {{Appearance-Based Gaze Estimation Using Attention and Difference Mechanism}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00351},
}
Figure