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

Token粒度对语言模型Surprisal预测能力的影响

The Impact of Token Granularity on the Predictive Power of Language Model Surprisal

Center for Data Science(数据科学中心);New York University(纽约大学);Department of Linguistics(语言学系);The Ohio State University(俄亥俄州立大学)

Byung-Doh Oh, William Schuler

AI总结:

本文研究了子词token粒度对语言模型surprisal预测能力的影响,发现8,000词表大小的token最具预测力,且粗粒度token对花园路径效应更敏感,表明token粒度在认知建模中作用显著。

摘要:

逐词的语言模型surprisal常用于建模人类读者的增量处理过程,这引发了关于语言建模中的各种选择如何影响其预测能力的问题。认知建模中被忽视的一个因素是子词token的粒度,它明确编码了关于词长和词频的信息,并最终影响所学习的向量表示的质量。本文进行了操纵token粒度的实验,并评估了其对surprisal解释自然文本和花园路径结构处理难度的能力的影响。自然阅读时间实验显示,token粒度对surprisal有显著影响,其中由8,000的词表大小定义的token产生的surprisal最具预测力。相反,在花园路径结构上,基于较粗粒度token训练的语言模型通常为关键区域分配更高的surprisal,表明对花园路径效应的敏感度高于先前的报告。综上所述,这些结果表明token粒度在认知建模的语言模型surprisal质量中发挥着重要作用。

英文摘要:

Word-by-word language model surprisal is often used to model the incremental processing of human readers, which raises questions about how various choices in language modeling influence its predictive power. One factor that has been overlooked in cognitive modeling is the granularity of subword tokens, which explicitly encodes information about word length and frequency, and ultimately influences the quality of vector representations that are learned. This paper presents experiments that manipulate the token granularity and evaluate its impact on the ability of surprisal to account for processing difficulty of naturalistic text and garden-path constructions. Experiments with naturalistic reading times reveal a substantial influence of token granularity on surprisal, with tokens defined by a vocabulary size of 8,000 resulting in surprisal that is most predictive. In contrast, on garden-path constructions, language models trained on coarser-grained tokens generally assigned higher surprisal to critical regions, suggesting a greater sensitivity to garden-path effects than previously reported. Taken together, these results suggest a large role of token granularity on the quality of language model surprisal for cognitive modeling.

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

↑