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

是什么让语言模型“足够好”?

What Makes Language Models Good-enough?

University of Delaware(特拉华大学);National Institute of Informatics(情报学研究所)

Daiki Asami, Saku Sugawara

AI总结:

本文通过构建GELP评估数据集,研究Transformer层数和自注意力头数对语言模型学习人类“足够好”语言处理能力的影响,发现浅层少头模型也能实现该能力。

摘要:

心理语言学研究指出,人类可能会构建一种对手头任务而言“足够好”的语言输入表征。本研究考察了哪些架构特征使语言模型能够学习类似人类的“足够好”语言处理方式。我们重点关注Transformer中的层数和自注意力头数。我们创建了一个“足够好”语言处理(GELP)评估数据集(包含7,680个示例),旨在测试两种合理性类型、八种构式类型以及三种记忆代价程度对语言处理的影响。为了标注GELP,我们首先开展了一项众包实验,其设计遵循先前的心理语言学研究。随后,我们基于标注后的GELP对模型进行评估,结果显示完整模型以及层数和/或自注意力头数较少的模型都表现出“足够好”的性能。这一结果表明,深度较浅且头数较少的模型能够学习“足够好”的语言处理。

英文摘要:

Psycholinguistic research suggests that humans may build a representation of linguistic input that is 'good-enough' for the task at hand. This study examines what architectural features make language models learn human-like good-enough language processing. We focus on the number of layers and self-attention heads in Transformers. We create a good-enough language processing (GELP) evaluation dataset (7,680 examples), which is designed to test the effects of two plausibility types, eight construction types, and three degrees of memory cost on language processing. To annotate GELP, we first conduct a crowdsourcing experiment whose design follows prior psycholinguistic studies. Our model evaluation against the annotated GELP then reveals that the full model as well as models with fewer layers and/or self-attention heads exhibit a good-enough performance. This result suggests that models with shallower depth and fewer heads can learn good-enough language processing.

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

↑