arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.08272cs.CLcs.IR
收藏

面向 Transformer 的结构性自监督目标

Structural Self-Supervised Objectives for Transformers

University of Trento(特伦托大学);Amazon Alexa AI(亚马逊Alexa AI)

Luca Di Liello

AI总结:

本论文提出三种替代 MLM 的词元交换预训练目标及与下游应用结构对齐的自监督任务,在减少预训练时间和标注数据需求的同时显著提升了多种 NLP 任务性能并实现 SOTA。

摘要:

本论文致力于利用无监督原始数据改进自然语言模型的预训练,使其更高效并更好地与下游应用对齐。在第一部分,我们引入了三种替代 BERT 掩码语言建模(MLM)的预训练目标,即随机词元替换(RTS)、基于聚类的随机词元替换(C-RTS)和交换语言建模(SLM)。这些目标采用词元交换而非掩码,RTS 和 C-RTS 旨在预测词元原始性,SLM 预测原始词元值。结果表明,RTS 和 C-RTS 所需预训练时间更少,同时保持与 MLM 相当的性能。令人惊讶的是,尽管使用相同的计算预算,SLM 在某些任务上优于 MLM。在第二部分,我们提出了在结构上与下游应用对齐的自监督预训练任务,从而减少对标注数据的需求。我们使用 Wikipedia 和 CC-News 等大型语料库,以多种方式训练模型识别文本片段是否来自同一段落或同一文档。通过从 RoBERTa、ELECTRA、DeBERTa、BART 和 T5 等现有模型开始进行持续预训练,我们在事实验证、答案句子选择和摘要等任务中展示了显著的性能提升。当标注数据有限时,这些提升尤为明显。所提目标还在多个基准数据集上取得了最先进的结果,包括 FEVER(dev set)、ASNQ、WikiQA 和 TREC-QA,并提升了摘要质量。重要的是,这些技术无需改变 Transformer 模型的内部结构即可轻松与其他方法集成,使其适用于各种 NLP 应用。

英文摘要:

This thesis focuses on improving the pre-training of natural language models using unsupervised raw data to make them more efficient and aligned with downstream applications. In the first part, we introduce three alternative pre-training objectives to BERT's Masked Language Modeling (MLM), namely Random Token Substitution (RTS), Cluster-based Random Token Substitution (C-RTS), and Swapped Language Modeling (SLM). These objectives involve token swapping instead of masking, with RTS and C-RTS aiming to predict token originality and SLM predicting the original token values. Results show that RTS and C-RTS require less pre-training time while maintaining performance comparable to MLM. Surprisingly, SLM outperforms MLM on certain tasks despite using the same computational budget. In the second part, we proposes self-supervised pre-training tasks that align structurally with downstream applications, reducing the need for labeled data. We use large corpora like Wikipedia and CC-News to train models to recognize if text spans originate from the same paragraph or document in several ways. By doing continuous pre-training, starting from existing models like RoBERTa, ELECTRA, DeBERTa, BART, and T5, we demonstrate significant performance improvements in tasks like Fact Verification, Answer Sentence Selection, and Summarization. These improvements are especially pronounced when limited annotation data is available. The proposed objectives also achieve state-of-the-art results on various benchmark datasets, including FEVER (dev set), ASNQ, WikiQA, and TREC-QA, as well as enhancing the quality of summaries. Importantly, these techniques can be easily integrated with other methods without altering the internal structure of Transformer models, making them versatile for various NLP applications.

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

↑