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

CAPT:学习去噪序列表示的对比预训练

CAPT: Contrastive Pre-Training for Learning Denoised Sequence Representations

Peking University(北京大学)

Fuli Luo, Pengcheng Yang, Shicheng Li, Xuancheng Ren, Xu Sun

摘要:

预训练的自监督模型,如BERT,在学习序列表示方面取得了惊人的成功,特别是在自然语言处理方面。这些模型通常会使用某些类型的噪声(例如掩蔽、混洗或替换)破坏给定的序列,然后尝试恢复原始输入。然而,这种预训练方法容易学习与噪声协变的表示,导致预训练和微调阶段之间的差异。为了解决这个问题,我们提出了一种新的预训练(CAPT)来学习噪声不变序列表示。建议的CAPT鼓励通过无监督的实例训练信号的原始序列和其损坏的版本的表示之间的一致性。通过这种方式,它不仅消除了由预训练的噪声引起的预训练-微调差异,而且还通过更有效的中间层监督帮助预训练模型更好地捕获输入的全局语义。与以往大多数工作集中在一个特定的通道,全面的经验证据表明,CAPT是适用于语言和视觉语言任务的11个自然语言理解和跨通道的任务,并获得了惊人的一致性的改善,包括0.6\%的绝对增益GLUE基准和0.8\%的绝对增量$\text{NLVR}^2$。

英文摘要:

Pre-trained self-supervised models such as BERT have achieved striking success in learning sequence representations, especially for natural language processing. These models typically corrupt the given sequences with certain types of noise, such as masking, shuffling, or substitution, and then try to recover the original input. However, such pre-training approaches are prone to learning representations that are covariant with the noise, leading to the discrepancy between the pre-training and fine-tuning stage. To remedy this, we present ContrAstive Pre-Training (CAPT) to learn noise invariant sequence representations. The proposed CAPT encourages the consistency between representations of the original sequence and its corrupted version via unsupervised instance-wise training signals. In this way, it not only alleviates the pretrain-finetune discrepancy induced by the noise of pre-training, but also aids the pre-trained model in better capturing global semantics of the input via more effective sentence-level supervision. Different from most prior work that focuses on a particular modality, comprehensive empirical evidence on 11 natural language understanding and cross-modal tasks illustrates that CAPT is applicable for both language and vision-language tasks, and obtains surprisingly consistent improvement, including 0.6\% absolute gain on GLUE benchmarks and 0.8\% absolute increment on $\text{NLVR}^2$.

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

↑