Advancing dynamic-time warp techniques for correcting eye tracking data in reading source code

  • Naser Al Madi Department of Computer Science, Colby College
Keywords: eye movement, reading, gaze, source code, eye tracking, correction, drift

Abstract

Background: Automated eye tracking data correction algorithms such as Dynamic-Time Warp always made a trade-off between the ability to handle regressions (jumps back) and distortions (fixation drift). At the same time, eye movement in code reading is characterized by non-linearity and regressions.

Objective: In this paper, we present a family of hybrid algorithms that aim to handle both regressions and distortions with high accuracy.

Method: Through simulations with synthetic data, we replicate known eye movement phenomena to assess our algorithms against Warp algorithm as a baseline.  Furthermore, we utilize two real datasets to evaluate the algorithms in correcting data from reading source code and see if the proposed algorithms generalize to correcting data from reading natural language text.

Results: Our results demonstrate that most proposed algorithms match or outperform baseline Warp in correcting both synthetic and real data. Also, we show the prevalence of regressions in reading source code.

Conclusion: Our results highlight our hybrid algorithms as an improvement to Dynamic-Time Warp in handling regressions.

Published
2024-03-18
How to Cite
Al Madi, N. (2024). Advancing dynamic-time warp techniques for correcting eye tracking data in reading source code. Journal of Eye Movement Research, 17(1). https://doi.org/10.16910/jemr.17.1.4
Section
Articles