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

基于语法驱动的迭代扩展语言模型的可控文本生成

Syntax-driven Iterative Expansion Language Models for Controllable Text Generation

Lucy Software(露西软件公司);United Language Group(联合语言集团);TALP Research Center, Universitat Politècnica de Catalunya(加泰罗尼亚理工大学TALP研究中心)

Noe Casas, José A. R. Fonollosa, Marta R. Costa-jussà

摘要:

占主导地位的语言建模范式将文本处理为离散标记的序列。虽然该方法可以捕获文本的潜在结构,但它本质上受限于文本生成的顺序动态。我们提出了一个新的范例,引入一个句法归纳偏见神经文本生成,依赖解析树被用来驱动Transformer模型迭代生成句子。我们的实验表明,这种范式是有效的文本生成,与LSTM和Transformers之间的质量,和可比的多样性,需要不到一半的解码步骤,其生成过程允许直接控制生成的文本的句法结构,使诱导的风格变化。

英文摘要:

The dominant language modeling paradigm handles text as a sequence of discrete tokens. While that approach can capture the latent structure of the text, it is inherently constrained to sequential dynamics for text generation. We propose a new paradigm for introducing a syntactic inductive bias into neural text generation, where the dependency parse tree is used to drive the Transformer model to generate sentences iteratively. Our experiments show that this paradigm is effective at text generation, with quality between LSTMs and Transformers, and comparable diversity, requiring less than half their decoding steps, and its generation process allows direct control over the syntactic constructions of the generated text, enabling the induction of stylistic variations.

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

↑