Introduction to Eye Tracking: A Hands-On Tutorial for Students and Practitioners

Enkelejda Kasneci, Hong Gao, Süleyman Özdel, Virmarie Maquiling, Enkeleda Thaqi, Ka Hei Carrie Lau, Yao Rong, Gjergji Kasneci, Efe BozkirarXiv 2024 · DOI

Introduction

Eye tracking has become a cornerstone of research in Human-Computer Interaction (HCI), psychology, and marketing. However, the barrier to entry remains high due to fragmented information regarding hardware selection, experimental design, and the complex "black box" of data processing. This paper provides a comprehensive, hands-on roadmap for mastering eye-tracking technology, bridging the gap between the biological basics of vision and advanced computational gaze analysis.

Anatomy of the human eye, illustrating the structures involved in vision and gaze.

Methodology and Workflow

The paper outlines a rigorous end-to-end workflow for eye-tracking research, categorized into hardware selection, event detection, and scanpath analysis.

Hardware and Environment

Research typically utilizes either remote (screen-based) or wearable (head-mounted) systems. Remote systems offer high precision in controlled lab settings, while wearables enable ecologically valid "in-the-wild" studies, such as driving or navigating 3D environments, albeit with challenges like device slippage.

Event Detection Algorithms

Two primary algorithms are used to segment raw gaze data into meaningful events:

  • I-VT (Velocity-Threshold): Classifies movements based on point-to-point velocity.
  • I-DT (Dispersion-Threshold): Identifies fixations based on the spatial "clustering" of gaze points over time.

Scanpath Analysis

Gaze sequences are analyzed using four main approaches: String Alignment (treating gaze as a sequence of characters), Geometrical (measuring Euclidean distances), Probabilistic (utilizing Hidden Markov Models), and Deep Learning (employing CNNs to extract semantic features from viewed images).

Key Insights for Practitioners

A critical takeaway for researchers is the distinction between data precision and accuracy. As illustrated below, a system can be highly precise (consistent) but inaccurate (consistently wrong). Understanding this distinction is vital for ensuring valid data.

Visual representation of the difference between accuracy (closeness to the target) and precision (consistency of the cluster).

Other key considerations include:

  • Slippage Compensation: Physical movement of wearable trackers on a user's face is a major error source that requires specific algorithmic correction.
  • Expert vs. Novice Gaze: Experts typically demonstrate concentrated fixations on task-relevant areas, whereas novices show more scattered, exploratory patterns.
  • Context-Awareness: Modern analysis uses Deep Learning to understand the semantic content of what a user is looking at, moving beyond simple spatial coordinates.

Applications and Datasets

The tutorial utilizes several datasets to illustrate these methods, including CUB-GHA for fine-grained bird classification, CXR-Eye for medical imaging (chest X-rays), and a Museum Visitor Dataset for 3D scanpath visualizations. The authors also provide a dedicated GitLab repository with Python code snippets to assist practitioners.

Conclusion and Future Directions

While eye tracking is becoming more accessible, challenges remain in hardware battery life, the computational costs of deep learning, and privacy concerns in XR environments. Future research is directed toward more robust "in-the-wild" tracking and the development of privacy-preserving algorithms for sensitive biometric data.

Summary updated

BibTeX
@misc{kasneci2024introduction,
  author = {Enkelejda Kasneci and Hong Gao and Süleyman Özdel and Virmarie Maquiling and Enkeleda Thaqi and Ka Hei Carrie Lau and Yao Rong and Gjergji Kasneci and Efe Bozkir},
  title = {{Introduction to Eye Tracking: A Hands-On Tutorial for Students and Practitioners}},
  year = {2024},
  eprint = {2404.15435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.15435},
}
Figure