Figure 1. Overview of FlexGaze. Top left: example predictions with 3D gaze directions projected onto the image plane. Top right: parameter count versus mean angular error on the face-detected subset of Gaze360. Bottom: the automatic label generation pipeline and model training.

Abstract

Most gaze estimation models are trained on data collected using specialized equipment. The limited diversity of subjects, scenes, and head poses in these datasets hinders generalization to new conditions. We present FlexGaze, a family of 3D gaze estimators pretrained with weak supervision from gaze labels (pseudo-labels) automatically generated from in-the-wild images. We use off-the-shelf models to predict 2D gaze targets and scene depth, then combine these predictions to generate 3D gaze labels for approximately 3.24 million head instances. At inference, FlexGaze predicts gaze from a head crop alone and can handle profile and rear views without requiring face detection or head pose estimation. We use data augmentation during training to improve robustness to variations in crop position and scale. Pretrained using only these generated gaze labels, FlexGaze generalizes to unseen benchmarks. After supervised fine-tuning on public gaze datasets, we evaluate FlexGaze on eight benchmarks under a unified evaluation protocol. Our models match or outperform publicly available gaze estimators with several times as many parameters on most benchmarks. We release our dataset of generated gaze labels, all trained models, and code via github.com/ihp-lab/FlexGaze.

Live demo

Coming soon.

Results

Comparison with publicly available gaze estimators

Method Params Preproc. Gaze360Face (88%) XGaze Gaze
Capture
MPII
FaceGaze
EYEDIAP Columbia RT-GENEOriginal GFIEFace (86%)
Oracle baseline with constant predictions
Mean direction — — 51.48 42.64 7.78 11.75 23.83 12.05 27.18 36.89
Baselines with head-crop input
GaT + ST-WSGE 27.9M H 11.90, in-domain 14.36 6.95 6.79 8.56 8.07 9.54 15.06
Baselines with face-crop input
L2CS-Net 23.9M F 16.66, in-domain 17.52 10.20 9.01 11.62 8.20 30.22 38.32
PureGaze 23.5M F,L,P,K 33.32 4.62, in-domain 7.69 9.21 8.31 7.65 18.41 57.79
XGaze baseline 23.5M F,L,P,K 34.97 4.44, in-domain 8.50 9.07 10.03 9.19 17.24 60.90
GazeTR-Hybrid 11.4M F,L,P,K 34.15 4.29 (best), in-domain 10.66 10.06 13.07 9.53 20.15 49.43
UniGaze-B 85.8M F,L,P,K 16.19, in-domain 5.73, in-domain 3.83, in-domain 5.80, in-domain 5.16, in-domain 4.56 11.00 31.96
UniGaze-L 303.3M F,L,P,K 15.77, in-domain 5.61, in-domain 3.55, in-domain 5.30, in-domain 4.98, in-domain 4.22 (best) 15.97 30.47
UniGaze-H 630.8M F,L,P,K 16.12, in-domain 5.40, in-domain 3.50, in-domain 5.09, in-domain 4.83 (best), in-domain 4.46 26.87 30.92
Ours, head-crop input, fine-tuned (8 sets)
FlexGaze-S, fine-tuned on 8 sets 21.8M H,K 11.11 ± 0.08, in-domain 5.97 ± 0.04, in-domain 3.68 ± 0.03, in-domain 5.35 ± 0.16, in-domain 5.86 ± 0.10, in-domain 5.01 ± 0.11, in-domain 6.86 ± 0.20, in-domain 12.17 ± 0.24, in-domain
FlexGaze-B, fine-tuned on 8 sets 86.0M H,K 10.95 ± 0.10, in-domain 5.31 ± 0.06, in-domain 3.46 ± 0.03 (best), in-domain 4.92 ± 0.25 (best), in-domain 5.39 ± 0.01, in-domain 4.42 ± 0.15, in-domain 6.20 ± 0.10 (best), in-domain 11.09 ± 0.54 (best), in-domain
Ours, head-crop input, fine-tuned (5 sets shared with UniGaze)
FlexGaze-S, fine-tuned on the 5 sets shared with UniGaze 21.8M H,K 11.17 ± 0.07, in-domain 5.98 ± 0.04, in-domain 3.67 ± 0.05, in-domain 5.54 ± 0.15, in-domain 5.90 ± 0.06, in-domain 5.54 ± 0.42 10.41 ± 0.66 17.70 ± 1.10
FlexGaze-B, fine-tuned on the 5 sets shared with UniGaze 86.0M H,K 10.90 ± 0.15 (best), in-domain 5.30 ± 0.03, in-domain 3.46 ± 0.01 (best), in-domain 4.93 ± 0.21, in-domain 5.33 ± 0.05, in-domain 4.52 ± 0.14 10.21 ± 0.25 14.34 ± 0.61
Ours, head-crop input, pretrained (weak labels only)
FlexGaze-S, pretrained on generated labels only 21.8M H,K 12.69 ± 0.03 12.90 ± 0.07 10.59 ± 0.26 9.97 ± 0.26 8.35 ± 0.27 9.32 ± 0.30 11.62 ± 0.34 12.19 ± 0.15
FlexGaze-B, pretrained on generated labels only 86.0M H,K 12.47 ± 0.11 13.54 ± 0.16 12.28 ± 0.92 11.67 ± 0.99 8.71 ± 0.16 8.00 ± 0.44 12.24 ± 0.65 12.69 ± 0.25
Preproc.
Input preparation requirements: H (head box), F (face box), L (facial landmarks), P (head pose), K (camera intrinsics).
in-domain
The model was trained on this dataset.
Table 1. Comparison of FlexGaze with publicly available gaze estimators (mean angular error in degrees, lower is better).

Sensitivity to crop scale and center shift

    Figure 2. Sensitivity to crop scale and center shift. (a,c) Larger ratios indicate tighter crops. (b,d) Center shifts in random directions, with each method's default crop scale fixed. Eye distance is measured between the two eye centers in the image. Across both datasets, FlexGaze-B has flatter error curves overall and maintains lower mean angular errors over the tested ranges of crop scale and center shift. These results indicate that the model tolerates deviations from its default cropping settings.

    Citation

    @article{li2026flexgaze,
      title   = {FlexGaze: Weakly Supervised Gaze Estimation at Scale},
      author  = {Li, Zongjian and Soleymani, Mohammad},
      journal = {arXiv preprint arXiv:2611.30012},
      year    = {2026}
    }