Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Hu, Xiang, Ji, Pengyu, Zhu, Qingyang, Wu, Wei, Tu, Kewei
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917695962742784
author Hu, Xiang
Ji, Pengyu
Zhu, Qingyang
Wu, Wei
Tu, Kewei
author_facet Hu, Xiang
Ji, Pengyu
Zhu, Qingyang
Wu, Wei
Tu, Kewei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_08293
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale
Hu, Xiang
Ji, Pengyu
Zhu, Qingyang
Wu, Wei
Tu, Kewei
Computation and Language
Artificial Intelligence
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.
title Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2403.08293