ABSTRACT
During eye-tracking studies there is a possibility for the actual fixation to shift a little when recorded. The cause of this shift could be due to various reasons such as the accuracy of the calibration or drift. Researchers usually correct fixations manually. Manual corrections are error prone especially if done on large samples for extended periods. There is also no guarantee that two corrections done by different people on the same data set will be consistent with each other. In order to solve this problem, we introduce an attempt at automatically correcting fixations that uses a variable offset for groups of fixations. Our focus is on source code, which is read differently than natural language requiring an algorithm that adapts to these differences. We introduce a Hill Climbing algorithm that shifts fixations to a best-fit location based on a scoring function. In order to evaluate the algorithm's effectiveness, we compare the automatically corrected fixations against a set of manually corrected ones, giving us an accuracy of 89%. These findings are discussed with additional ways to improve the algorithm.
Supplemental Material
- Busjahn, T., Bednarik, R., Begel, A., Crosby, M., Paterson, J. H., Schulte, C., Sharif, B., and Tamm, S. 2015. Eye movements in code reading: Relaxing the linear order. In Intl. Conference on Program Comprehension 2015, 255--265. Google ScholarDigital Library
- Carl, M. 2013. Dynamic programming for re-mapping noisy fixations in translation tasks. Journal of Eye Movement Research 6, 2, 1--11.Google ScholarCross Ref
- Cerrolaza, J. J., Villanueva, A., Villanueva, M., and Cabeza, R. 2012. Error characterization and compensation in eye tracking systems. In ETRA, 205--208. Google ScholarDigital Library
- Cohen, A. L. 2012. Software for the automatic correction of recorded eye fixation locations in reading experiments. Behavior research methods, 679--683.Google Scholar
- Drewes, J., Masson, G. S., and Montagnini, A. 2012. Shifts in reported gaze position due to changes in pupil size: ground truth and compensation. In ETRA, ACM, Santa Barbara, California, 209--212. Google ScholarDigital Library
- Hornof, A. J., and Halverson, T. 2002. Cleaning up systematic error in eye-tracking data by using required fixation locations. Behavior Research Methods, Instruments, & Computers 34, 4 (Nov.), 592--604.Google ScholarCross Ref
- Hyrskykari, A. 2006. Utilizing eye movements: Overcoming inaccuracy while tracking the focus of attention during reading. Attention aware systems Special issue: Attention aware systems 22, 4 (July), 657--671.Google Scholar
- Lohmeier, S. 2015. Experimental Evaluation and Modelling of the Comprehension of Indirect Anaphors in a Programming Language. Master's thesis, Technische Universität Berlin, Germany.Google Scholar
- Mishra, A., Carl, M., and Bhattacharya, P. 2012. A heuristic-based approach for systematic error correction of gaze data for reading. In Workshop on Eye-tracking and Natural Language Processing, COLING 2012, 71--80.Google Scholar
- Nüssli, M.-A. 2011. Dual Eye-Tracking Methods for the Study of Remote Collaborative Problem Solving. PhD thesis, École Polytechnique Fédérale de Lausanne, Switzerland.Google Scholar
- Nyström, M., Andersson, R., Holmqvist, K., and van de Weijer, J. 2012. The influence of calibration method and eye physiology on eyetracking data quality. Behavior Research Methods 45, 1, 272--288.Google ScholarCross Ref
- Sharafi, Z., Soh, Z., and Guéhéneuc, Y.-G. 2015. A systematic literature review on the usage of eye-tracking in software engineering. Inf. Softw. Technol. 67, C (Nov.), 79--107. Google ScholarDigital Library
- Wyatt, H. J. 2010. The human pupil and the use of video-based eyetrackers. Vision Research 50, 19 (Sept.), 1982--1988.Google ScholarCross Ref
- Zhang, Y., and Hornof, A. J. 2014. Easy post-hoc spatial recalibration of eye tracking data. In Proceedings of the Symposium on Eye Tracking Research and Applications, ACM, Safety Harbor, Florida, 95--98. Google ScholarDigital Library
Index Terms
- Towards automating fixation correction for source code
Recommendations
Can the E-Z Reader Model Predict Eye Movements Over Code? Towards a Model of Eye Movements Over Source Code
ETRA '20 Short Papers: ACM Symposium on Eye Tracking Research and ApplicationsStudies of eye movements during source code reading have supported the idea that reading source code differs fundamentally from reading natural text. The paper analyzed an existing data set of natural language and source code eye movement data using the ...
Ego-motion compensation improves fixation detection in wearable eye tracking
ETRA '12: Proceedings of the Symposium on Eye Tracking Research and ApplicationsThe objective is an efficient means to improve the accuracy of detected fixations. The context is studies of natural behavior of subjects wearing eye trackers while observing distant objects. Fixation detection algorithms try to determine when the image ...
Measuring Focused Attention Using Fixation Inner-Density
Augmented Cognition: Users and ContextsAbstractExamining user reactions via the unobtrusive method of eye tracking is becoming increasingly popular in user experience studies. A major focus of this type of research is accurately capturing user attention to stimuli, which is typically ...
Comments