Natural Language Generation by Hierarchical Decoding with Linguistic Patterns

Shang-Yu Su, Kai-Ling Lo, Yi-Ting Yeh, Yun-Nung Chen
8/8/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 systems. Classic NLG can be divided into two phases: (1) sentence planning: deciding on the overall sentence structure, (2) surface realization: determining specific word forms and flattening the sentence structure into a string.

Show full abstract

Many simple NLG models are based on recurrent neural networks (RNN) and 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 using a simple cross entropy loss training criterion. However, the simple encoder-decoder architecture usually suffers from generating complex and long sentences, because the decoder has to learn all grammar and diction knowledge. This paper introduces a hierarchical decoding NLG model based on linguistic patterns in different levels, and shows that the proposed method outperforms the traditional one with a smaller model size. Furthermore, the design of the hierarchical decoding is flexible and easily-extensible in various NLG systems.

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{su2018natural,
  title  = {Natural Language Generation by Hierarchical Decoding with Linguistic Patterns},
  author = {Shang-Yu Su and Kai-Ling Lo and Yi-Ting Yeh and Yun-Nung Chen},
  year   = {2018},
  eprint = {1808.02747},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.02747}
}

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/1808.02747.svg)](https://codeofpaper.com/paper/1808.02747)

Discussion