Pretraining with Contrastive Sentence Objectives Improves Discourse Performance of Language Models Work done during internship at Google.
Dan Iter Affiliation: Computer Science Department, Stanford University Kelvin Guu Affiliation: Google Research Larry Lansing Affiliation: Google Research Dan Jurafsky Affiliation: Affiliation: Affiliation: Computer Science Department, Stanford University
Abstract
Recent models for unsupervised representation learning of text have employed a number of techniques to improve contextual word representations but have put little focus on discourse-level representations. We propose Conpono11 1 Code is available at https://github.com/google-research/language/tree/master/language/conpono and https://github.com/daniter-cu/DiscoEval, an inter-sentence objective for pretraining language models that models discourse coherence and the distance between sentences. Given an anchor sentence, our model is trained to predict the text $k$ sentences away using a sampled-softmax objective where the candidates consist of neighboring sentences and sentences randomly sampled from the corpus. On the discourse representation benchmark DiscoEval, our model improves over the previous state-of-the-art by up to 13% and on average 4% absolute across 7 tasks. Our model is the same size as BERT-Base, but outperforms the much larger BERT-Large model and other more recent approaches that incorporate discourse. We also show that Conpono yields gains of 2%-6% absolute even for tasks that do not explicitly evaluate discourse: textual entailment (RTE), common sense reasoning (COPA
原文 arXiv:2005.10389;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2005.10389v1