基于随机过程的语言建模
Language modeling via stochastic processes
AI总结:
针对长文本生成中模型易偏离主题或不连贯的问题,提出时间控制(TC)方法,通过对比学习表示并解码生成文本,在顺序和长度一致性上分别提升高达15%和90%。
摘要:
现代语言模型能够生成高质量的短文本。然而,在生成较长文本时,它们常常偏离主题或缺乏连贯性。这些问题源于仅基于下一个词元(next-token)的语言建模目标。近期自监督学习的研究表明,模型可以通过对比学习(contrastive learning)学习良好的潜在表示,这有助于判别性任务。我们的工作分析了对比表示在生成任务(如长文本生成)中的应用。我们提出了一种利用对比表示的方法,称为时间控制(Time Control,TC)。TC首先学习目标文本域的对比表示,然后通过从这些表示解码来生成文本。与特定领域的方法以及在多种文本域上微调的GPT2相比,TC在话语连贯性方面与专门学习句子表示的方法表现相当。在长文本生成设置中,TC在文本结构上保持了顺序(最高提升+15%)和文本长度一致性(最高提升+90%)。
英文摘要:
Modern language models can generate high-quality short texts. However, they often meander or are incoherent when generating longer texts. These issues arise from the next-token-only language modeling objective. Recent work in self-supervised learning suggests that models can learn good latent representations via contrastive learning, which can be effective for discriminative tasks. Our work analyzes the application of contrastive representations for generative tasks, like long text generation. We propose one approach for leveraging constrastive representations, which we call Time Control (TC). TC first learns a contrastive representation of the target text domain, then generates text by decoding from these representations. Compared to domain-specific methods and fine-tuning GPT2 across a variety of text domains, TC performs competitively to methods specific for learning sentence representations on discourse coherence. On long text generation settings, TC preserves the text structure both in terms of ordering (up to $+15\%$ better) and text length consistency (up to $+90\%$ better).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。