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

词序很重要(洗牌语言模型知道)

Word Order Does Matter (And Shuffled Language Models Know It)

University of Oslo(奥斯陆大学);University of Copenhagen(哥本哈根大学);Uppsala University(乌普萨拉大学)

Vinit Ravishankar, Mostafa Abdou, Artur Kulmizev, Anders Søgaard

摘要:

最近的研究表明,在随机排列的句子上预训练和/或微调的语言模型在GLUE上表现出竞争性的性能,这对词序信息的重要性提出了质疑。有些与直觉相反的是,其中一些研究还报告说,位置嵌入似乎对模型在洗牌文本中的良好表现至关重要。我们探测这些语言模型的词序信息,并调查什么位置嵌入学习洗牌文本编码,显示这些模型保留有关的原始,自然的词序信息。我们表明,这部分是由于如何在以前的工作中实现洗牌的微妙之处-之前,而不是之后的子词切分。令人惊讶的是,我们发现,即使是在子词切分后进行洗牌的文本上训练的语言模型也保留了一些关于词序的语义信息,因为句子长度和单字概率之间存在统计依赖关系。最后,我们表明,除了胶水,各种语言理解的任务确实需要词序信息,往往在某种程度上,不能通过微调学习。

英文摘要:

Recent studies have shown that language models pretrained and/or fine-tuned on randomly permuted sentences exhibit competitive performance on GLUE, putting into question the importance of word order information. Somewhat counter-intuitively, some of these studies also report that position embeddings appear to be crucial for models' good performance with shuffled text. We probe these language models for word order information and investigate what position embeddings learned from shuffled text encode, showing that these models retain information pertaining to the original, naturalistic word order. We show this is in part due to a subtlety in how shuffling is implemented in previous work -- before rather than after subword segmentation. Surprisingly, we find even Language models trained on text shuffled after subword segmentation retain some semblance of information about word order because of the statistical dependencies between sentence length and unigram probabilities. Finally, we show that beyond GLUE, a variety of language understanding tasks do require word order information, often to an extent that cannot be learned through fine-tuning.

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

↑