arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.06490cs.CLcs.AIcs.LG
收藏

Dict-BERT:用字典增强语言模型预训练

Dict-BERT: Enhancing Language Model Pre-training with Dictionary

Microsoft Cognitive Services Research(微软认知服务研究院);University of Notre Dame(圣母大学);Carnegie Mellon University(卡内基梅隆大学)

Wenhao Yu, Chenguang Zhu, Yuwei Fang, Donghan Yu, Shuohang Wang, Yichong Xu, Michael Zeng, Meng Jiang

摘要:

预训练语言模型(PLM)旨在通过在大规模语料库上进行自我监督训练任务来学习通用语言表示。由于PLM在不同的上下文中捕获单词语义,单词表示的质量高度依赖于词频,其通常在预训练语料库中遵循重尾分布。因此,尾部的稀有词的嵌入通常优化得很差。在这项工作中,我们专注于通过利用字典中罕见单词的定义来增强语言模型预训练(例如,Wiktionary)。为了将一个罕见词的定义作为输入的一部分,我们从字典中获取它的定义,并将其附加到输入文本序列的末尾。除了使用掩蔽语言建模目标进行训练外,我们还提出了两个新的自监督预训练任务,用于输入文本序列和稀有词定义之间的词和词级对齐,以增强字典的语言建模表示。我们评估建议的Dict-BERT模型上的语言理解基准GLUE和八个专业领域的基准数据集。大量的实验表明,Dict-BERT可以显着提高对稀有词的理解,并提高各种NLP下游任务的模型性能。

英文摘要:

Pre-trained language models (PLMs) aim to learn universal language representations by conducting self-supervised training tasks on large-scale corpora. Since PLMs capture word semantics in different contexts, the quality of word representations highly depends on word frequency, which usually follows a heavy-tailed distributions in the pre-training corpus. Therefore, the embeddings of rare words on the tail are usually poorly optimized. In this work, we focus on enhancing language model pre-training by leveraging definitions of the rare words in dictionaries (e.g., Wiktionary). To incorporate a rare word definition as a part of input, we fetch its definition from the dictionary and append it to the end of the input text sequence. In addition to training with the masked language modeling objective, we propose two novel self-supervised pre-training tasks on word and sentence-level alignment between input text sequence and rare word definitions to enhance language modeling representation with dictionary. We evaluate the proposed Dict-BERT model on the language understanding benchmark GLUE and eight specialized domain benchmark datasets. Extensive experiments demonstrate that Dict-BERT can significantly improve the understanding of rare words and boost model performance on various NLP downstream tasks.

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

↑