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

生成式预训练结构化Transformer:大规模无监督句法语言模型

Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale

Ant Group(蚂蚁集团);ShanghaiTech University(上海科技大学)

Xiang Hu, Pengyu Ji, Qingyang Zhu, Wei Wu, Kewei Tu

AI总结:

本文提出大规模无监督句法语言模型GPST,通过表示代理和硬EM实现句法建模与组合模型的并行预训练,在语言理解、生成及语法归纳上优于GPT-2和现有无监督SLM,并显著加速训练。

摘要:

句法语言模型(SLM)以从左到右的方式逐步生成句子及其句法树。我们提出了生成式预训练结构化Transformer(GPST),这是一种大规模的无监督句法语言模型,能够以高并行度在原始文本上从头开始预训练。GPST克服了以往句法语言模型的局限性,例如依赖黄金句法树和顺序训练。它由两个组件组成:一个常规的句法语言模型,由单向语言建模损失监督;以及一个额外的组合模型,该模型归纳句法解析树并计算成分表示,由双向语言建模损失监督。我们提出了一种表示代理机制,以硬期望最大化(hard-EM)方式实现两个模型的联合并行训练。我们在OpenWebText(一个包含90亿个token的语料库)上预训练GPST,并在涵盖语言理解和语言生成的众多任务中证明了GPST相对于规模相当的GPT-2的优越性。同时,GPST在从左到右的语法归纳上也显著优于现有的无监督句法语言模型,并且在训练上实现了大幅加速。

英文摘要:

A syntactic language model (SLM) incrementally generates a sentence with its syntactic tree in a left-to-right manner. We present Generative Pretrained Structured Transformers (GPST), an unsupervised SLM at scale capable of being pre-trained from scratch on raw texts with high parallelism. GPST circumvents the limitations of previous SLMs such as relying on gold trees and sequential training. It consists of two components, a usual SLM supervised by a uni-directional language modeling loss, and an additional composition model, which induces syntactic parse trees and computes constituent representations, supervised by a bi-directional language modeling loss. We propose a representation surrogate to enable joint parallel training of the two models in a hard-EM fashion. We pre-train GPST on OpenWebText, a corpus with $9$ billion tokens, and demonstrate the superiority of GPST over GPT-2 with a comparable size in numerous tasks covering both language understanding and language generation. Meanwhile, GPST also significantly outperforms existing unsupervised SLMs on left-to-right grammar induction, while holding a substantial acceleration on training.

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

↑