English

Explicit Syntactic Guidance for Neural Text Generation

Computation and Language 2023-06-27 v2

Abstract

Most existing text generation models follow the sequence-to-sequence paradigm. Generative Grammar suggests that humans generate natural language texts by learning language grammar. We propose a syntax-guided generation schema, which generates the sequence guided by a constituency parse tree in a top-down direction. The decoding process can be decomposed into two parts: (1) predicting the infilling texts for each constituent in the lexicalized syntax context given the source sentence; (2) mapping and expanding each constituent to construct the next-level syntax context. Accordingly, we propose a structural beam search method to find possible syntax structures hierarchically. Experiments on paraphrase generation and machine translation show that the proposed method outperforms autoregressive baselines, while also demonstrating effectiveness in terms of interpretability, controllability, and diversity.

Keywords

Cite

@article{arxiv.2306.11485,
  title  = {Explicit Syntactic Guidance for Neural Text Generation},
  author = {Yafu Li and Leyang Cui and Jianhao Yan and Yongjing Yin and Wei Bi and Shuming Shi and Yue Zhang},
  journal= {arXiv preprint arXiv:2306.11485},
  year   = {2023}
}

Comments

ACL 2023

R2 v1 2026-06-28T11:09:34.877Z