TEyeD: Over 20 million real-world eye images with Pupil, Eyelid, and Iris 2D and 3D Segmentations, 2D and 3D Landmarks, 3D Eyeball, Gaze Vector, and Eye Movement Types

Wolfgang Fuhl, Gjergji Kasneci, Enkelejda Kasneci · DOI

TL;DR

The authors introduce TEyeD (TüEyeD), the world’s largest unified public dataset for eye tracking, containing over 20 million real-world images captured across seven different head-mounted devices (including VR/AR headsets). Featuring extensive 2D and 3D annotations—ranging from semantic segmentations to gaze vectors and eye movement types—TEyeD provides a massive, diverse benchmark designed to solve the notorious challenge of cross-device generalization in computer vision.

What Problem Does This Paper Address?

While eye tracking is crucial for next-generation VR/AR, healthcare diagnostics, and driver safety, training robust machine learning models remains a bottleneck. Existing eye-image datasets suffer from two main flaws: they are either too small and task-specific, or they rely on synthetic data that fails to capture real-world messiness.

In actual deployment, eye-tracking algorithms must contend with "the wild": varying lighting conditions, steep viewing angles, reflections, and device slippage (where the headset shifts on the user's face). Furthermore, most datasets are collected using a single specific device, meaning models trained on them fail to generalize when deployed on different hardware. The authors address this gap by creating a massive, multi-device, multi-task dataset with highly detailed 2D and 3D ground truth annotations.

Methods

Manually annotating 20 million images is practically impossible, so the authors developed a clever semi-supervised pipeline:

  • Multiple Annotation Maturation (MAM): They initiated the process by manually labeling 20,000 images and training two competing deep learning architectures: a ResNet-50 for landmark regression and a U-Net for semantic segmentation.
  • Iterative Quality Control: The models predicted annotations over new data across five iterations. To ensure accuracy, the landmarks from the ResNet model were converted into segments and compared against the U-Net's segmentations using the Jaccard index (Intersection over Union). If the agreement score fell below 0.9, the images were flagged for manual correction.
  • Refined 3D Modeling: For 3D eyeball and optical vector annotations, the authors uniquely utilized the iris ellipse rather than the pupil ellipse, because the iris is less distorted by corneal refraction.
  • Temporal Classification: Eye movements (fixations, saccades, smooth pursuits, and blinks) were annotated by analyzing the angular velocities of the calculated optical vectors and validating them against established biological parameters.

Datasets

The paper introduces TEyeD, which unifies and significantly extends several existing close-up eye datasets (including LPW, GIW, ElSe, ExCuSe, and PNET) alongside entirely new data collected from driving studies, simulators, outdoor sports, and VR/AR environments.

  • Scale: Over 20 million images.
  • Hardware Diversity: Captured using 7 different head-mounted eye trackers operating at sampling rates from 25 Hz to 200 Hz.
  • Evaluation Protocol: The authors withheld a distinct test set of over 6.3 million images from specific eye trackers (Look! and Enke GmbH) solely to benchmark how well models generalize to completely unseen hardware.

Key Insights and Ideas

  • The Power of Scale in Generalization: Models trained on a single dataset (like LPW) perform poorly when tested on different hardware. However, training the exact same architecture on the diverse TEyeD dataset yields a massive boost in cross-tracker generalization, proving that data diversity is key to overcoming hardware-specific biases.
  • Iris > Pupil for 3D Geometry: Due to the physics of the eye, corneal refraction and steep camera angles distort the appearance of the pupil, often making it seem off-center relative to the iris. Mapping the 3D eyeball using the iris provides a much more stable geometric anchor.
  • Gaze Vectors Stabilize Slippage: When classifying eye movements (e.g., distinguishing a fixation from a saccade), using the 3D Gaze Vector (GV) as input drastically outperforms using the 2D Pupil Center (PC). This is because the gaze vector inherently compensates for physical headset movement and slippage.

Key Results

The authors established baseline evaluations using popular architectures like ResNet-34, ResNet-50, MobileNetV2, and U-Net:

  • Landmark Regression (Table 3): A ResNet-34 trained only on the LPW dataset achieved an average normalized pixel distance error of 2.45 (at 768×576 resolution). When trained on the full TEyeD dataset, the error dropped to 1.76, while a larger ResNet-50 pushed it down further to 1.54.
  • Gaze Vector Estimation (Table 4): The best-performing model (ResNet-50) achieved a low angular error of 2.97 degrees for gaze vector prediction under challenging cross-tracker testing conditions.
  • Eye Movement Segmentation (Table 6): When predicting eye movement types, models utilizing the Gaze Vector (GV) achieved significantly higher mean Jaccard Indices than those using Pupil Centers (PC). For instance, ResNet-50 hit a score of 0.94 for fixations and 0.89 for saccades using GV, compared to 0.86 and 0.75 using PC.

Limitations and Future Work

  • Licensing Restrictions: The authors note that they were legally blocked from including eye images captured with Tobii eye trackers due to prohibitory license agreements, leaving a minor gap in hardware representation.
  • Independent Eyelid Dynamics: In the baseline landmark regression tasks, all landmarks (pupil, iris, eyelids) were predicted jointly. However, because eyelids move independently of the eyeball and the pupil shifts due to refraction, the authors suggest that creating separate, specialized models for each component will likely yield higher accuracy in future iterations.

Summary updated

BibTeX
@inproceedings{fuhl2021teyed,
  author = {Wolfgang Fuhl and Gjergji Kasneci and Enkelejda Kasneci},
  title = {{TEyeD: Over 20 million real-world eye images with Pupil, Eyelid, and Iris 2D and 3D Segmentations, 2D and 3D Landmarks, 3D Eyeball, Gaze Vector, and Eye Movement Types}},
  booktitle = {ISMAR},
  year = {2021},
  doi = {10.1109/ismar52148.2021.00053},
}
Figure