arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14676cs.CL
收藏

结合合成扫描路径的预训练语言模型用于自然语言理解

Pre-Trained Language Models Augmented with Synthetic Scanpaths for Natural Language Understanding

University of Potsdam(波茨坦大学);University of Zurich(苏黎世大学)

Shuwen Deng, Paul Prasse, David R. Reich, Tobias Scheffer, Lena A. Jäger

AI总结:

提出将合成扫描路径生成与语言模型结合的框架,无需人类注视数据即可提升自然语言理解性能,效果媲美真实注视数据增强模型。

摘要:

人类注视数据提供了反映自然语言理解的认知信息。事实上,用人类扫描路径增强语言模型已被证明对包括语言理解在内的众多NLP任务有益。然而,由于丰富的文本语料库与稀缺的注视数据形成对比,该方法的适用性受到阻碍。尽管已经开发了在阅读过程中生成类人扫描路径的模型,但合成注视数据在NLP任务中的潜力在很大程度上仍未被探索。我们开发了一个模型,将合成扫描路径生成与扫描路径增强的语言模型相结合,从而消除了对人类注视数据的需求。由于模型的误差梯度能够在模型的所有部分中传播,扫描路径生成器可以针对下游任务进行微调。我们发现,所提出的模型不仅优于基础语言模型,而且实现了与用真实人类注视数据增强的语言模型相当的性能。我们的代码已公开。

英文摘要:

Human gaze data offer cognitive information that reflects natural language comprehension. Indeed, augmenting language models with human scanpaths has proven beneficial for a range of NLP tasks, including language understanding. However, the applicability of this approach is hampered because the abundance of text corpora is contrasted by a scarcity of gaze data. Although models for the generation of human-like scanpaths during reading have been developed, the potential of synthetic gaze data across NLP tasks remains largely unexplored. We develop a model that integrates synthetic scanpath generation with a scanpath-augmented language model, eliminating the need for human gaze data. Since the model's error gradient can be propagated throughout all parts of the model, the scanpath generator can be fine-tuned to downstream tasks. We find that the proposed model not only outperforms the underlying language model, but achieves a performance that is comparable to a language model augmented with real human gaze data. Our code is publicly available.

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

↑