Investigating Linguistic Pattern Ordering in Hierarchical Natural Language Generation

Shang-Yu Su, Yun-Nung Chen
9/19/2018
cs.CL

Official code: MiuLab/HNLG (32 stars, Python, last commit 2018-09-23).

Abstract

Natural language generation (NLG) is a critical component in spoken dialogue system, which can be divided into two phases: (1) sentence planning: deciding the overall sentence structure, (2) surface realization: determining specific word forms and flattening the sentence structure into a string. With the rise of deep learning, most modern NLG models are based on a sequence-to-sequence (seq2seq) model, which basically contains an encoder-decoder structure; these NLG models generate sentences from scratch by jointly optimizing sentence planning and surface realization.

Show full abstract

However, such simple encoder-decoder architecture usually fail to generate complex and long sentences, because the decoder has difficulty learning all grammar and diction knowledge well. This paper introduces an NLG model with a hierarchical attentional decoder, where the hierarchy focuses on leveraging linguistic knowledge in a specific order. The experiments show that the proposed method significantly outperforms the traditional seq2seq model with a smaller model size, and the design of the hierarchical attentional decoder can be applied to various NLG systems. Furthermore, different generation strategies based on linguistic patterns are investigated and analyzed in order to guide future NLG research work.

View on arXivView PDF

Code Implementations(1)

MiuLab/HNLGOfficial100%

Natural Language Generation by Hierarchical Decoding with Linguistic Patterns (NAACL-HLT 2018), Investigating Linguistic Pattern Ordering in Hierarchical Natural Language Generation (SLT 2018)

326Python, ShellSep 15, 20188 years ago

Similar Papers

Cite this paper

@article{su2018investigating,
  title  = {Investigating Linguistic Pattern Ordering in Hierarchical Natural Language Generation},
  author = {Shang-Yu Su and Yun-Nung Chen},
  year   = {2018},
  eprint = {1809.07629},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.07629}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.07629.svg)](https://codeofpaper.com/paper/1809.07629)

Discussion