Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code

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....

Full description

Bibliographic Details
Main Author: Naser Al Madi
Format: Article
Language:English
Published: Bern Open Publishing 2024-03-01
Series:Journal of Eye Movement Research
Subjects:
Online Access:https://bop.unibe.ch/JEMR/article/view/10741
_version_ 1797248484484579328
author Naser Al Madi
author_facet Naser Al Madi
author_sort Naser Al Madi
collection DOAJ
description 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 handles 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 three 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 with higher accuracy and better runtime.
first_indexed 2024-04-24T20:15:19Z
format Article
id doaj.art-8438d165f8eb4a7988e18a799527bebb
institution Directory Open Access Journal
issn 1995-8692
language English
last_indexed 2024-04-24T20:15:19Z
publishDate 2024-03-01
publisher Bern Open Publishing
record_format Article
series Journal of Eye Movement Research
spelling doaj.art-8438d165f8eb4a7988e18a799527bebb2024-03-23T03:15:09ZengBern Open PublishingJournal of Eye Movement Research1995-86922024-03-0117110.16910/jemr.17.1.4Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source CodeNaser Al Madi0Colby College 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 handles 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 three 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 with higher accuracy and better runtime. https://bop.unibe.ch/JEMR/article/view/10741code comprehensiondrift-correction algorithm
spellingShingle Naser Al Madi
Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code
Journal of Eye Movement Research
code comprehension
drift-correction algorithm
title Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code
title_full Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code
title_fullStr Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code
title_full_unstemmed Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code
title_short Advancing Dynamic-Time Warp Techniques for Correcting Eye Tracking Data in Reading Source Code
title_sort advancing dynamic time warp techniques for correcting eye tracking data in reading source code
topic code comprehension
drift-correction algorithm
url https://bop.unibe.ch/JEMR/article/view/10741
work_keys_str_mv AT naseralmadi advancingdynamictimewarptechniquesforcorrectingeyetrackingdatainreadingsourcecode