arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.03566cs.SE
收藏

语义邻域密度与人类程序员注意力中的眼动时间

Semantic Neighborhood Density and Eye Gaze Time in Human Programmer Attention

University of Notre Dame(圣母大学);Vanderbilt University(范德堡大学)

Robert Wallace, Emory Michaels, Yu Huang, Collin McMillan

AI总结:

本文探讨了源代码中单词的语义邻域密度与注视时间的关系,发现高语义邻域密度的单词具有更高的注视时间,尤其在不常见单词中更为明显。

摘要:

本文研究了人类在源代码中对单词的注视时间与这些单词的语义邻域密度(SND)之间的关系。人类注视时间是衡量人类注意力的一种流行方法,例如用来量化人们阅读的词语重要性和人们所付出的认知努力。同时,SND是衡量一个词在相同上下文中与其他词在意义上的相似程度的指标。SND在心理学研究中有着悠久的历史,它在不同领域中与注视时间相关联,并有助于解释人类认知因素,如困惑和阅读理解的质量。但SND在软件工程中可能具有未知且独特的意义。在本文中,我们计算了在两个先前的注视追踪实验中人们所查看的源代码中单词的SND,一个实验是C语言,另一个是Java语言。我们对SND与注视时间之间的统计关系进行了无模型分析,并对SND对注视时间的预测能力进行了基于模型的分析。我们发现,具有高SND的单词往往比低SND的单词有更高的注视时间,尤其是在不常见的单词(即频率低的单词)中。我们还发现SND和频率对注视时间的预测能力较小,尽管眼动追踪数据中普遍存在高噪声水平。

英文摘要:

This paper studies the relationship between human eye gaze time on words in source code and the Semantic Neighborhood Density (SND) of those words. Human eye gaze time is a popular way to quantify human attention such as the importance of words people read and the cognitive effort people exert. Meanwhile, SND is a measure of how similar a word is in meaning to other words in the same context. SND has a long history in Psychology research where it has been connected to eye gaze time in various domains and helps explain human cognitive factors such as confusion and quality of reading comprehension. But SND carries an unknown and potentially unique meaning in software engineering. In this paper, we compute SND for tokens in source code that people viewed in two previous eye-tracking experiments, one in C and one in Java. We conduct a model-free analysis for statistical relationships between SND and gaze time, and a model-based analysis for predictive power of SND to gaze time. We found that words with high SND tend to have higher gaze time then low SND words, especially for words that are uncommon (i.e., have low frequency). We also found SND and frequency to have a minor predictive power on gaze time, despite high levels of noise common in eye tracking data

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑