Training a Natural Language Generator From Unaligned Data

Ondrej Dusek, Filip JurcícekACL 2015

Introduction

Traditional Natural Language Generation (NLG) systems often rely on "alignment-hungry" models. To map an abstract meaning representation (MR)—such as inform(name=X, food=Italian)—to a natural language sentence, these systems typically require fine-grained, manually annotated alignments between semantic slots and specific words. This dependency creates a significant bottleneck in data preparation.

This paper presents a novel NLG system that learns to generate fluent text from unaligned data. By utilizing deep-syntactic dependency trees as an intermediate representation and a specialized A* search algorithm, the generator bypasses the need for expensive preprocessing while maintaining high grammatical standards.

System Architecture

The proposed generator follows a two-stage pipeline that separates semantic planning from linguistic realization.

Overview of the two-stage NLG architecture, from meaning representation to final text.

1. Statistical Sentence Planning

The first stage converts the abstract MR into a deep-syntactic dependency tree (tectogrammatical tree). This tree represents the "sentence plan," focusing on content words (nouns, verbs, adjectives) and their logical relationships, while omitting surface-level details like articles or auxiliary verbs.

  • Incremental Search: The system uses an A* search algorithm to build the tree node-by-node.
  • Ranking: A perceptron-based ranker evaluates candidate trees. To guide the search, the authors implement Future Promise Estimation, which helps the algorithm prioritize partial plans likely to lead to a complete, high-quality tree.

2. Surface Realization

Once the deep-syntactic tree is finalized, it is processed by the Treex NLP toolkit. This rule-based component handles the mechanical aspects of language, including word ordering, punctuation, morphological agreement, and the insertion of grammatical function words.

Training via Differing Subtree Updates

A core innovation of this work is the training methodology. Standard perceptron ranking often struggles with incremental search because it typically only evaluates the final output. The authors introduce Differing Subtree Updates, which allow the model to learn from intermediate states.

Differing subtrees used for model updates during training.

By comparing the current top-ranked partial tree with the gold-standard partial tree, the model can identify and correct errors early in the generation process. This prevents the search from drifting toward poor-quality but "complete-looking" structures.

Experimental Evaluation

The system was benchmarked on the BAGEL dataset, which contains 404 sentences across 202 unique dialogue acts related to restaurant information (e.g., food type, price range, location).

Performance Metrics

The system achieved a BLEU score of 59.89 and a NIST score of 5.231. While these scores were lower than contemporary state-of-the-art systems (~67 BLEU), those systems relied on the very fine-grained alignments that this work explicitly avoids.

Key Findings

  • Impact of Subtree Updates: The "Differing Subtree Updates" were critical for performance. Without them, the model failed to improve as more training data was added. With them, the model demonstrated robust learning of underlying semantic-to-syntactic patterns.
  • Implicit Alignment: By using semantic compatibility rules during tree construction, the model effectively learns to align meaning to structure implicitly, eliminating the need for a separate alignment phase.

Conclusion and Future Directions

The use of deep syntax acts as a buffer, allowing the statistical model to focus on semantic mapping rather than basic grammar. However, limitations remain: the system occasionally struggles with rare slot-value pairs and can produce redundant information. Future work involves replacing the linear perceptron with a neural network to capture more complex features and testing the architecture on more diverse domains like weather or flight data.

Summary updated

BibTeX
@inproceedings{dusek2015training,
  author = {Ondrej Dusek and Filip Jurcícek},
  title = {{Training a Natural Language Generator From Unaligned Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1044},
}
Figure