GazeMoE: Perception of Gaze Target with Mixture-of-Experts
Authors: Zhuangzhuang Dai, Zhongxi Lu, Vincent G. Zakka, Luis J. Manso, Jose M Alcaraz Calero, Chen Li
Organizations: Dept. of Applied AI and Robotics, Aston University, Birmingham, United Kingdom · Computing Science, University of Leicester, Leicester, United Kingdom · Dept. of Materials and Production, Aalborg University, Aalborg, Denmark
Estimating human gaze target from visible images is a critical task for robots to understand human attention, yet the development of generalizable neural architectures and training paradigms remains challenging. While recent advances in pre-trained vision foundation models offer promising avenues for locating gaze targets, the integration of multi-modal cues -- including eyes, head poses, gestures, and contextual features -- demands adaptive and efficient decoding mechanisms. Inspired by Mixture-of-Experts (MoE) for adaptive domain expertise in large vision-language models, we propose GazeMoE, a novel end-to-end framework that selectively leverages gaze-target-related cues from a frozen foundation model through MoE modules. To address class imbalance in gaze target classification (in-frame vs. out-of-frame) and enhance robustness, GazeMoE incorporates a class-balancing auxiliary loss alongside strategic data augmentations, including region-specific cropping and photometric transformations. Extensive experiments on benchmark datasets demonstrate that our GazeMoE achieves state-of-the-art performance, outperforming existing methods on challenging gaze estimation tasks. The code and pre-trained models are released at https://huggingface.co/zdai257/GazeMoE
Figures & tables
Fig. 1: GazeMoE data flow diagram. A frozen DINOv2 is used to extract fine-grained scene representations alongside the Mixture-of-Experts (MoE) module specialized in selectively routing gaze-related cues.
Fig. 2: GazeMoE architecture. Given an input image, the model predicts whether a person’s gaze target is in-frame or out-of-frame and where target is. A frozen DINOv2 ViT-L backbone is used to extract fine-grained scene representations. The GazeMoE decoder with three Mix-of-Experts blocks is specialized in selectively routing gaze-target-related features.
Method
Learnable Params
GazeFollow
VideoAttentionTarget
AUC ↑
Mean L2 ↓
AUC ↑
Mean L2 ↓
AP in/out↑
Human Expert
-
0.924
0.096
0.921
0.051
0.925
Recasens et al. [ 10 ]
50M
0.878
0.19
-
-
-
Chong et al. [ 7 ]
51M
0.896
0.187
0.833
0.171
0.712
Chong et al. [ 11 ]
61M
0.921
0.137
0.86
0.134
0.853
Fang et al. [ 25 ]
68M
0.922
0.124
0.905
0.108
0.896
TABLE I: Methods comparison on GazeFollow and VideoAttentionTarget (VAT) datasets.
Method
ChildPlay
AUC ↑
Mean L2 ↓
AP in/out↑
Gupta et al. [ 30 ]
0.919
0.113
0.983
Tafasca et al. [ 4 ]
0.935
0.107
0.986
Gaze-LLE ViT−B† [ 17 ]
0.939
0.123
0.992
Gaze-LLE ViT−L† [ 17 ]
0.942
0.111
0.993
GazeMoE
0.945
0.106
0.994
TABLE II: Evaluation results on ChildPlay dataset. † We test released Gaze-LLE models on the test set that the authors of ChildPlay dataset suggested.
Method
GazeFollow360
Spherical Dist ↓
AUC ↑
Human Expert
0.2531
0.935
Random
1.5357
0.5056
Lian et al. [ 31 ]
1.254
0.6057
SALICON [ 32 ]
1.094
0.8002
Chong et al. [ 7 ]
0.9183
0.7765
TABLE III: Evaluation results on GazeFollow360 dataset.
Method
EYEDIAP
AUC ↑
Mean L2 ↓
AP in/out↑
Gaze-LLE ViT-B
0.617
0.411
0.725
Gaze-LLE ViT-L
0.596
0.421
0.614
Gaze-LLE ViT-B + head prompt
0.597
0.423
0.73
Gaze-LLE ViT-L + head prompt
0.593
0.431
0.662
GazeMoE
0.618
0.312
0.702
TABLE IV: Evaluation results on EYEDIAP dataset.
Loss
Type
GazeFollow
VideoAttentionTarget
AUC ↑
Mean L2 ↓
AUC ↑
Mean L2 ↓
AP in/out↑
Heatmap Head
BCELoss (GazeMoE)
0.959
0.101
0.939
0.097
0.917
MSELoss + KL-D
0.955
0.108
0.938
0.106
0.909
In/out Head
Focal Loss (GazeMoE)
-
-
0.939
0.097
0.917
BCELoss
-
-
0.938
0.098
0.912
TABLE V: Ablation study on different loss functions.
Fig. 3: Qualitative results. We use dlib face detector to automate head bounding boxes prompting as green frames.
Gaze target estimation, the task of predicting where a person is looking in a scene, is crucial to understanding human attention and intent. It is a challenging task that combines high-level understanding of global scene semantics and precise spatial reasoning using human appearance (e.g. pose, eye orientation). As a result, human-level performance remains elusive for existing models, limiting their practical application. To this end, we propose PaGE (Practical Gaze Estimator), a gaze estimation model that explicitly models the complex interaction between scene and head features. Using a PaGE model with a large ViT-H+ backbone as the teacher, we further distill student models with lighter backbones on a much larger and more diverse unlabeled dataset. The architectural improvements and novel training recipe allow PaGE to achieve state-of-the-art performance on several gaze estimation tasks, outperforming humans in 7 out of 9 metrics while reducing the human-AI gap by at least 60% in the remaining 2. The distilled student models retain most of the teacher's performance while being lightweight enough for practical deployment on robots and consumer devices. The code and model checkpoints are available at our project page.
Gaze target estimation aims to infer the position of a person's gaze within a scene. Within mainstream design logic, multi-branch methods require extra supervision and annotations, while streamlined designs prioritize low-level visual saliency over true gaze intent. The former leads to a high annotation burden and hinders domain transfer, whereas the latter causes misalignment between predicted attention and actual gaze targets. To address this issue, we propose TextGaze, a unified cross-modal architecture that leverages a Large Vision-Language Model (LVLM) as scalable semantic guidance to balance the two design paradigms. The model extracts visual features from a frozen encoder and utilizes an LVLM to obtain gaze-aligned textual cues. We design a transformer-based fusion module with hierarchical text supervision to preserve task semantics. Lightweight decoding heads enable the joint prediction of gaze heatmaps and in-/out-of-frame status. We evaluate our method on four mainstream datasets, and the results show competitive performance across key metrics with robust cross-dataset generalisation without extra fine-tuning. Overall, we provide a streamlined alternative to traditional designs and highlight the potential of LVLMs as accessible auxiliary guidance for gaze estimation.
Junhui She, Fei Wang, Kun Li +4
University of Science and Technology of China · Institute of Artificial Intelligence, Hefei Comprehensive National Science Center · 2Hefei University of Technology +2
Estimating human gaze targets from images in-the-wild is an important and formidable task. Existing approaches primarily employ brittle, multi-stage pipelines that require explicit inputs, like head bounding boxes and human pose, in order to identify the subject of gaze analysis. As a result, detection errors can cascade and lead to failure. Moreover, these prior works lack the flexibility of specifying the gaze analysis task via natural language prompting, an approach which has been shown to have significant benefits in convenience and scalability for other image analysis tasks. To overcome these limitations, we introduce the Promptable Gaze Target Estimation (PGE) task, a new end-to-end, concept-driven paradigm for gaze analysis. PGE conditions gaze prediction on flexible user text or visual prompts (e.g., "the boy in the red shirt" or "person in point [0.52, 0.48]") to identify a specific subject for gaze analysis. This approach integrates subject localization with gaze estimation, and eliminates the rigid dependency on intermediate analysis stages. We develop a scalable data engine to generate Gaze-Co (Gaze Estimation with Concepts), a dataset and benchmark of 120K high-quality, prompt-annotated image pairs. We also propose GazeAnywhere, the first model designed for PGE. GazeAnywhere uses a transformer-based detector to fuse features from frozen encoders and simultaneously solves subject localization, in/out-of-frame presence, and gaze target heatmap estimation. GazeAnywhere achieves state-of-the-art performance on multiple PGE benchmarks, setting a strong baseline for this new problem even on a difficult out-of-domain, real-world clinical dataset. GazeAnywhere is open-sourced in github.com/IrohXu/GazeAnywhere.