Eye movements during reading offer insights into both the reader's cognitive processes and the characteristics of the text that is being read. Hence, the analysis of scanpaths in reading have attracted increasing attention across fields, ranging from cognitive science over linguistics to computer science. In particular, eye-tracking-while-reading data has been argued to bear the potential to make machine-learning-based language models exhibit a more human-like linguistic behavior. However, one of the main challenges in modeling human scanpaths in reading is their dual-sequence nature: the words are ordered following the grammatical rules of the language, whereas the fixations are chronologically ordered. As humans do not strictly read from left-to-right, but rather skip or refixate words and regress to previous words, the alignment of the linguistic and the temporal sequence is non-trivial. In this paper, we develop Eyettention, the first dual-sequence model that simultaneously processes the sequence of words and the chronological sequence of fixations. The alignment of the two sequences is achieved by a cross-sequence attention mechanism. We show that Eyettention outperforms state-of-the-art models in predicting scanpaths. We provide an extensive within- and across-data set evaluation on different languages. An ablation study and qualitative analysis support an in-depth understanding of the model's behavior.
翻译:阅读期间的眼动提供了关于读者认知过程和正在阅读的文本特征的见解。因此,阅读中的扫描路径分析在跨越领域的范围内越来越受到关注,从认知科学到语言学再到计算机科学。特别地,已经有论据认为,阅读时的眼动跟踪数据可以使基于机器学习的语言模型表现出更类似人类的语言行为的潜力。然而,模拟阅读中的人类扫视路径的主要挑战之一是其双序列性质:单词的顺序遵循语言的语法规则,而凝视的顺序是按时间顺序排列的。由于人类的阅读不是严格从左到右的,而是会跳过或返回之前的单词,将语言和时间序列对齐是难以实现的。在本文中,我们开发了Eyettention,这是第一个同时处理单词序列和扫视序列的双序列模型。通过跨序列注意力机制实现了两个序列的对齐。我们展示了Eyettention在预测扫视路径方面优于现有的最先进模型。我们在不同的语言上进行了大量的数据集内部和跨数据集的评估。切除研究和定性分析支持了该模型行为的深入理解。