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

掩码语言建模中的表示缺陷

Representation Deficiency in Masked Language Modeling

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta AI

Yu Meng, Jitin Krishnan, Sinong Wang, Qifan Wang, Yuning Mao, Han Fang, Marjan Ghazvininejad, Jiawei Han, Luke Zettlemoyer

AI总结:

针对MLM预训练中[MASK]令牌导致表示缺陷的问题,提出MAE-LM方法,将[MASK]排除在编码器外,提升维度利用率,在GLUE和SQuAD上优于MLM。

摘要:

掩码语言建模(MLM)因其简单性和有效性,一直是预训练双向文本编码器最突出的方法之一。关于MLM的一个显著担忧是,特殊的$\ exttt{[MASK]}$符号导致了预训练数据与下游数据之间的差异,因为它仅出现在预训练中,而不出现在微调中。在这项工作中,我们对这种差异的后果提供了新的视角:我们在经验和理论上证明,MLM预训练将一些模型维度专门用于表示$\ exttt{[MASK]}$令牌,导致真实令牌的表示缺陷,并在模型适应于不含$\ exttt{[MASK]}$令牌的下游数据时限制了预训练模型的表达能力。受所识别问题的启发,我们提出了MAE-LM,它使用MLM预训练掩码自编码器架构,其中$\ exttt{[MASK]}$令牌被排除在编码器之外。经验上,我们表明MAE-LM提高了真实令牌表示的模型维度利用率,并且在GLUE和SQuAD基准上微调时,MAE-LM在不同预训练设置和模型规模下始终优于MLM预训练模型。

英文摘要:

Masked Language Modeling (MLM) has been one of the most prominent approaches for pretraining bidirectional text encoders due to its simplicity and effectiveness. One notable concern about MLM is that the special $\texttt{[MASK]}$ symbol causes a discrepancy between pretraining data and downstream data as it is present only in pretraining but not in fine-tuning. In this work, we offer a new perspective on the consequence of such a discrepancy: We demonstrate empirically and theoretically that MLM pretraining allocates some model dimensions exclusively for representing $\texttt{[MASK]}$ tokens, resulting in a representation deficiency for real tokens and limiting the pretrained model's expressiveness when it is adapted to downstream data without $\texttt{[MASK]}$ tokens. Motivated by the identified issue, we propose MAE-LM, which pretrains the Masked Autoencoder architecture with MLM where $\texttt{[MASK]}$ tokens are excluded from the encoder. Empirically, we show that MAE-LM improves the utilization of model dimensions for real token representations, and MAE-LM consistently outperforms MLM-pretrained models across different pretraining settings and model sizes when fine-tuned on the GLUE and SQuAD benchmarks.

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

↑