Skip to main content
QUICK REVIEW

[Paper Review] Investigating Linguistic Pattern Ordering in Hierarchical Natural Language Generation

Shang‐Yu Su, Yun-Nung Chen|arXiv (Cornell University)|Sep 19, 2018
Topic ModelingComputer Science20 references4 citations
TL;DR

This paper proposes a hierarchical attentional decoder for natural language generation (NLG) that improves sequence generation by ordering linguistic pattern decoding according to part-of-speech (POS) tags. By decoupling word generation into phased layers—each handling a specific POS set—the model achieves significant performance gains over standard seq2seq models, with up to 102.07% BLEU improvement using curriculum learning, even with a smaller model size. The method demonstrates that generating order significantly impacts performance and should be guided by dataset-specific linguistic structure.

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. 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.

Motivation & Objective

  • To address the limitations of standard seq2seq models in generating complex, long-form sentences due to difficulty in learning grammar and diction simultaneously.
  • To investigate how the ordering of linguistic pattern generation (e.g., POS tags) affects NLG performance in a hierarchical decoding framework.
  • To design a generalizable hierarchical decoder architecture that improves generation quality without increasing model size.
  • To provide empirical guidelines for selecting effective linguistic pattern ordering based on dataset-specific characteristics such as subsequence length and syntactic structure.

Proposed method

  • The model uses a sequence-to-sequence architecture with a bidirectional GRU encoder to encode semantic input into a latent representation.
  • A hierarchical decoder is introduced, where each layer is responsible for generating words from a specific set of POS tags, enabling phased, structured generation.
  • Attention mechanisms are applied within each decoder layer to attend to relevant encoder states and previous decoder outputs, improving alignment and context awareness.
  • The decoding hierarchy is designed by ordering POS tags into a sequence of generation phases, with the model trained to generate words in this specific order.
  • Curriculum learning is applied by training on simpler, shorter subsequences first, gradually increasing complexity to improve learning stability.
  • The model is evaluated across multiple generating hierarchies to analyze the impact of order on performance, with ablation studies on attention and repeat-input mechanisms.

Experimental results

Research questions

  • RQ1How does the ordering of linguistic pattern generation (e.g., POS tag sequence) affect the performance of hierarchical NLG models?
  • RQ2Can a hierarchical decoder with phased generation outperform standard seq2seq models in generating complex and long sentences?
  • RQ3What role does curriculum learning play in improving training efficiency and generation quality in hierarchical NLG?
  • RQ4How do dataset-specific properties—such as subsequence length distribution and syntactic structure—affect the optimal generation order?
  • RQ5Is the hierarchical decoder architecture generalizable across different NLG systems, or is it sensitive to the chosen linguistic pattern hierarchy?

Key findings

  • Replacing a standard seq2seq decoder with a hierarchical decoder yields significant performance gains: 49.25% BLEU, 30.03% ROUGE-1, 96.48% ROUGE-2, and 25.99% ROUGE-L improvements on average.
  • Applying curriculum learning to the best-performing hierarchy results in a 102.07% BLEU improvement, 48.26% ROUGE-1, 144.8% ROUGE-2, and 39.18% ROUGE-L improvement.
  • The worst-performing hierarchy—generating verbs first, then nouns/proper nouns/pronouns, then adjectives/adverbs—fails due to an imbalanced workload, where the second layer must insert up to 8 words on average into a 3.62-word base sequence.
  • Inserting adverbs before verbs yields better performance, as adverbs often modify adjectives, and early verb generation provides insufficient context for adverb placement.
  • Attention mechanisms do not consistently improve performance, as the hierarchical structure already provides explicit positional and structural guidance, reducing reliance on implicit attention.
  • The optimal generating hierarchy is not universal; it depends on dataset-specific factors such as the length distribution of subsequences and the syntactic role of POS tags.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.