Abstract
This paper presents a highly accurate, appearance-based gaze estimation method that secured first place in the ETH-XGaze Competition. By ensembling four distinct neural network architectures—including a custom attention-enhanced iTracker and three heavy-duty general vision models (BoTNet, HRNet, ResNeSt)—the authors achieve state-of-the-art performance on face images with extreme poses and lighting variations. The final ensemble achieved a 3.11° angular error on the competition test set, demonstrating the power of architectural diversity and high-resolution input in gaze estimation tasks.
Introduction
Estimating exactly where a person is looking based purely on a 2D image of their face is a critical challenge in human-computer interaction, affective computing, and medical diagnostics. Historically, "appearance-based" gaze estimation models (which predict gaze directly from pixels rather than building a 3D geometric model of the eye) have struggled with extreme head poses, poor lighting, and occlusions like glasses.
To push the field forward, the ETH-XGaze dataset was recently introduced, featuring over a million high-resolution images with massive variations in gaze and head pose. Standard convolutional neural networks (like ResNet-50) lack the representational power to accurately predict gaze under these extreme, highly variable conditions. This paper tackles the challenge of designing a robust architecture capable of handling the extreme diversity of the ETH-XGaze dataset.
Methodology
The authors treat gaze estimation as a regression problem, mapping normalized face images to 2D pitch-yaw directional vectors. Rather than relying on a single model, they utilize an ensemble of four distinct architectures to capture different types of visual features:
- iTracker-MHSA (Custom): The authors upgrade the classic iTracker model. They use a standard ResNet-50 to extract face features and a dilated ResNet-50 to extract eye features (cropped using facial landmarks). To fuse these features, they introduce a Transformer encoder with Multi-Head Self-Attention (MHSA), allowing the network to dynamically learn the relationship between the face and the eyes.
- BoTNet: A network that replaces standard spatial convolutions with Multi-Head Self-Attention layers (Bottleneck Transformers) to better capture global image features.
- HRNet: A network designed to maintain high-resolution representations throughout the entire inference process, rather than downsampling. This is particularly useful for preserving fine details like pupil location.
- ResNeSt: A network that uses a split-attention mechanism to capture cross-channel relationships and multi-path representations.
The final prediction is generated by taking a linearly weighted average of the top six trained models across these architectures.
Datasets and Training
The models were trained and evaluated exclusively on the ETH-XGaze dataset, a massive benchmark containing over 1 million high-resolution images with extreme head poses and gaze variations. Because the competition test set labels are hidden, the authors created their own validation set by isolating 10 subjects from the training data, carefully balancing for sex, skin tone, and the presence of glasses. Training also utilized Online Hard Example Mining (OHEM) to force the model to focus on the most difficult images.
Key Insights and Results
The success of the ensemble relies on the diverse strengths of its constituent models. HRNet preserves fine, high-resolution spatial details; BoTNet captures global context; ResNeSt models complex channel relationships; and iTracker-MHSA explicitly models the geometric relationship between the face and eyes.
A critical finding was that input resolution is paramount. The authors found that simply scaling up the input image size yielded massive performance gains. For example, increasing HRNet's input size from 224x224 to 640x640 dropped the angular error significantly. High-resolution inputs are vital for capturing the micro-features of the eye.
The HRNet architecture with an input size of 640x640 was the strongest standalone model, achieving an average angular error of 3.22°. By combining the predictions of 6 models (one iTracker-MHSA, one BoTNet, three HRNets at different resolutions, and one ResNeSt), the authors achieved a final average angular error of 3.11° on the ETH-XGaze test set, earning first place on the competition leaderboard.
Conclusion
While the ensemble approach achieved state-of-the-art accuracy, it comes with significant computational overhead. Running inference through six heavy, high-resolution vision models makes the approach currently unsuitable for real-time applications (like eye-tracking for VR or standard webcams). Future work could explore learning these ensemble weights dynamically or distilling this massive ensemble into a single, lightweight model for real-time use.
Summary updated