Tree-Structured Neural Machine for Linguistics-Aware Sentence Generation

Abstract

Different from other sequential data, sentences in natural language are structured by linguistic grammars. Previous generative conversational models with chain-structured decoder ignore this structure in human language and might generate plausible responses with less satisfactory relevance and fluency. In this study, we aim to incorporate the results from linguistic analysis into the process of sentence generation for high-quality conversation generation. Specifically, we use a dependency parser to transform each response sentence into a dependency tree and construct a training corpus of sentence-tree pairs. A tree-structured decoder is developed to learn the mapping from a sentence to its tree, where different types of hidden states are used to depict the local dependencies from an internal tree node to its children. For training acceleration, we propose a tree canonicalization method, which transforms trees into equivalent ternary trees. Then, with a proposed tree-structured search method, the model is able to generate the most probable responses in the form of dependency trees, which are finally flattened into sequences as the system output. Experimental results demonstrate that the proposed X2Tree framework outperforms baseline methods over 11.15% increase of acceptance ratio.

Cite

Text

Zhou et al. "Tree-Structured Neural Machine for Linguistics-Aware Sentence Generation." AAAI Conference on Artificial Intelligence, 2018. doi:10.1609/AAAI.V32I1.11969

Markdown

[Zhou et al. "Tree-Structured Neural Machine for Linguistics-Aware Sentence Generation." AAAI Conference on Artificial Intelligence, 2018.](https://mlanthology.org/aaai/2018/zhou2018aaai-tree/) doi:10.1609/AAAI.V32I1.11969

BibTeX

@inproceedings{zhou2018aaai-tree,
  title     = {{Tree-Structured Neural Machine for Linguistics-Aware Sentence Generation}},
  author    = {Zhou, Ganbin and Luo, Ping and Cao, Rongyu and Xiao, Yijun and Lin, Fen and Chen, Bo and He, Qing},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2018},
  pages     = {5722-5729},
  doi       = {10.1609/AAAI.V32I1.11969},
  url       = {https://mlanthology.org/aaai/2018/zhou2018aaai-tree/}
}