arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2108.11193cs.CLcs.AIcs.LG
收藏

拼写蜜蜂中的模型:语言模型隐式学习标记的字符组成

Models In a Spelling Bee: Language Models Implicitly Learn the Character Composition of Tokens

Tel Aviv University(特拉维夫大学)

Itay Itzhak, Omer Levy

摘要:

标准的预训练语言模型对子字标记序列进行操作,而不直接存取组成每个标记的字符串表示的字符。我们探测了预训练的语言模型的嵌入层,并表明模型在令人惊讶的程度上学习了整个单词和子单词标记的内部字符组成,而从未看到与标记相结合的字符。我们的研究结果表明,RoBERTa的嵌入层拥有足够的信息,可以准确拼写多达三分之一的词汇,并在所有标记类型上达到高平均字符ngram重叠。我们进一步测试了用额外的字符信息丰富子词模型是否可以改善语言建模,并观察到这种方法具有与没有基于拼写的丰富训练几乎相同的学习曲线。总的来说,我们的研究结果表明,语言建模目标激励模型隐式地学习一些拼写的概念,而明确地教模型如何拼写似乎并不能提高其在这些任务上的表现。

英文摘要:

Standard pretrained language models operate on sequences of subword tokens without direct access to the characters that compose each token's string representation. We probe the embedding layer of pretrained language models and show that models learn the internal character composition of whole word and subword tokens to a surprising extent, without ever seeing the characters coupled with the tokens. Our results show that the embedding layer of RoBERTa holds enough information to accurately spell up to a third of the vocabulary and reach high average character ngram overlap on all token types. We further test whether enriching subword models with additional character information can improve language modeling, and observe that this method has a near-identical learning curve as training without spelling-based enrichment. Overall, our results suggest that language modeling objectives incentivize the model to implicitly learn some notion of spelling, and that explicitly teaching the model how to spell does not appear to enhance its performance on such tasks.

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

↑