Imitation learning for language generation from unaligned data

Gerasimos Lampouras, Andreas VlachosCOLING 2016

Abstract: Gerasimos Lampouras, Andreas Vlachos. Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers.

2016.

Introduction

Natural Language Generation (NLG) is the critical task of converting structured, machine-interpretable meaning representations (MRs) into fluent natural language. For example, a system might need to transform a predicate like inform(name="The Mill", type=restaurant) into the sentence "The Mill is a restaurant."

Historically, training such systems has faced two primary hurdles. First, the alignment bottleneck: most supervised learning models require word-level alignments between the input attributes and the output text, which are expensive and time-consuming to annotate manually. Second, the vast search space of natural language makes it difficult for models to navigate possible outputs without relying on rigid, repetitive templates. While neural models like LSTMs began addressing unaligned data around 2016, they were typically trained using local word-level cross-entropy, which fails to optimize for global sentence-level quality metrics like BLEU or ROUGE.

Example of a meaning representation (MR) and its corresponding natural language reference with delexicalized verbatim values.

This paper introduces a novel approach to NLG by adapting the Locally Optimal Learning to Search (LOLS) imitation learning framework. Instead of treating generation as a single-step prediction, the model decomposes the task into a sequence of actions: Content Prediction (deciding which attribute to discuss) and Word Prediction (selecting the specific tokens to describe that attribute).

Key Innovations

  • Non-Decomposable Loss Optimization: Unlike standard classifiers, the LOLS framework allows the model to optimize directly for global metrics. During training, the model can observe how a specific word choice at the beginning of a sentence impacts the final BLEU or ROUGE score of the completed utterance.
  • Roll-outs and Expert Policies: The model learns by "rolling out" trajectories. It compares the actions of its current policy against a "suboptimal expert" (a heuristic-based oracle). This allows the model to learn even when the guiding expert is imperfect.
  • Sequence Correction: To improve robustness, the authors implemented a correction mechanism. If the model deviates from a successful path during a training "roll-in," it attempts to recover and correct the error, teaching the system to handle its own mistakes during inference.
The interleaving of content and word prediction within the learning-to-search framework.

Experimental Evaluation

The approach was evaluated on three benchmark datasets for task-oriented NLG: BAGEL (Cambridge restaurant descriptions) and the SF Restaurant & SF Hotel datasets (San Francisco hospitality). Crucially, these datasets were used in their unaligned form, requiring the model to discover the relationships between attributes and words autonomously.

Results and Insights

The imitation learning model achieved performance competitive with state-of-the-art (SOTA) LSTM-based and rule-based systems of the time, with several key advantages:

  1. Superior Information Accuracy: On the SF Restaurant dataset, the model achieved an Error Rate (ERR) of 0.15%, significantly outperforming the 2.54% error rate of the SOTA RNN model. This indicates a high degree of reliability in ensuring all input data points are accurately reflected in the output text.
  2. Robustness to Suboptimal Guidance: A major finding was that the model could eventually outperform the heuristic experts used during training by optimizing for global sentence loss.
  3. Joint Learning Benefits: By interleaving content selection and surface realization, the model naturally learned dependencies, such as avoiding the repetition of attributes already mentioned.

Conclusion and Future Work

While the model demonstrated high informativeness and competitive BLEU scores (e.g., 80.00 on SF Hotel), some limitations remain. The reliance on attribute-specific dictionaries can occasionally result in less fluid phrasing compared to end-to-end neural models. Additionally, performance drops when encountering "non-overlapping" MRs—combinations of attributes not seen during training.

The authors suggest that the future of NLG lies in combining the structural rigor of the learning-to-search framework with the continuous representations of deep learning models to achieve both high factual accuracy and human-like fluency.

Summary updated

BibTeX
@inproceedings{lampouras2016imitation,
  author = {Gerasimos Lampouras and Andreas Vlachos},
  title = {{Imitation learning for language generation from unaligned data}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2016},
  url = {https://openreview.net/forum?id=dxbRXBhbdd5},
}
Figure