掩码自编码器作为预训练句子表示的统一学习器
Masked Autoencoders As The Unified Learners For Pre-Trained Sentence Representation
摘要:
尽管在预训练语言模型方面取得了进展,但缺乏统一的预训练句子表示框架。因此,它需要针对特定场景的不同预训练方法,并且预训练模型可能受到其通用性和表示质量的限制。在这项工作中,我们扩展了最近提出的MAE风格的预训练策略,RetroMAE,这样它可以有效地支持各种各样的句子表示任务。扩展框架包括两个阶段,RetroMAE在整个过程中进行。第一阶段对通用语料库(如维基百科、BookCorpus等)执行RetroMAE,从中学习基本模型。第二阶段发生在特定于域的数据上,例如,MS MARCO和NLI,其中基础模型基于RetroMAE和对比学习进行持续训练。这两个阶段的预训练输出可以用于不同的应用,其有效性通过综合实验进行了验证。在BEIR基准测试中,基本模型对zero-shot检索是有效的。持续预训练的模型进一步有利于更多的下游任务,包括MS MARCO上的特定领域稠密检索,Natural Questions,以及SentEval中标准STS和迁移任务的句子嵌入质量。这项工作的经验性见解可能会启发未来的设计句子表征预训练。我们的预训练模型和源代码将向公众社区发布。
英文摘要:
Despite the progresses on pre-trained language models, there is a lack of unified frameworks for pre-trained sentence representation. As such, it calls for different pre-training methods for specific scenarios, and the pre-trained models are likely to be limited by their universality and representation quality. In this work, we extend the recently proposed MAE style pre-training strategy, RetroMAE, such that it may effectively support a wide variety of sentence representation tasks. The extended framework consists of two stages, with RetroMAE conducted throughout the process. The first stage performs RetroMAE over generic corpora, like Wikipedia, BookCorpus, etc., from which the base model is learned. The second stage takes place on domain-specific data, e.g., MS MARCO and NLI, where the base model is continuingly trained based on RetroMAE and contrastive learning. The pre-training outputs at the two stages may serve different applications, whose effectiveness are verified with comprehensive experiments. Concretely, the base model are proved to be effective for zero-shot retrieval, with remarkable performances achieved on BEIR benchmark. The continuingly pre-trained models further benefit more downstream tasks, including the domain-specific dense retrieval on MS MARCO, Natural Questions, and the sentence embeddings' quality for standard STS and transfer tasks in SentEval. The empirical insights of this work may inspire the future design of sentence representation pre-training. Our pre-trained models and source code will be released to the public communities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。