Statistical Ranking in Tactical Generation

Erik Velldal, Stephan OepenEMNLP 2006

Abstract

In this paper we describe and evaluate several statistical models for the task of realization ranking, i.e. the problem of discriminating between competing surface realizations generated for a given input semantics. Three models (and several variants) are trained and tested: an n-gram language model, a discriminative maximum entropy model using structural information (and incorporating the language model as a separate feature), and finally an SVM ranker trained on the same feature set. The resulting hybrid tactical generator is part of a larger, semantic transfer MT system.

Introduction

Tactical generation is the process of transforming a formal meaning representation into a human-readable sentence. A robust grammar often produces a vast array of valid paraphrases for a single input. While these outputs are grammatically correct, many are contextually inappropriate or awkward. The challenge of "realization ranking" is to automatically select the most natural sentence from this candidate pool. Traditionally, $n$-gram language models have been used for this task, but they ignore the deep structural information available during the generation process.

Methodology

The study compares three primary statistical approaches:

  1. Trigram Language Model (Baseline): A standard model trained on the British National Corpus (BNC) to score sentences based on surface-level word sequences.
  2. Maximum Entropy (MaxEnt) Model: A discriminative model utilizing structural features extracted from Head-driven Phrase Structure Grammar (HPSG) derivation trees. It incorporates the $n$-gram score as a feature, creating a hybrid model.
  3. SVM Ranker: A Support Vector Machine approach that treats ranking as a geometric problem, maximizing the margin between preferred and non-preferred realizations.

The innovation lies in the feature templates. Instead of surface words alone, the models analyze local sub-trees, "grandparenting" (context of a rule's parent), and lexical type $n$-grams.

HPSG derivation tree for 'the dog barks', illustrating the structural information used for feature extraction.

Experimental Setup

The authors utilize "Symmetric Treebanks" for training and evaluation. By running existing parse treebanks through a generator, they produced all possible paraphrases, treating the original sentence as the "gold" reference. Two datasets were used:

  • Jotunheimen: Instructional tourism texts (2,190 items) used for development and 10-fold cross-validation.
  • Rondane: A separate tourism dataset (634 items) for cross-genre held-out testing to evaluate generalization.

Results and Discussion

The discriminative models (MaxEnt and SVM) significantly outperformed the $n$-gram baseline. On the Jotunheimen dataset, the $n$-gram model achieved 53.24% exact match accuracy, while the MaxEnt model reached 72.28%. On the held-out Rondane set, MaxEnt achieved 64.28% accuracy compared to the baseline's 54.19%, representing a 22.03% reduction in error rate.

Comparison of accuracy across different realization bins for the baseline, language model, SVM, and MaxEnt approaches.

Key insights include:

  • Structure Trumps Surface: Internal generator states provide vital ranking clues not visible in the final word string.
  • Hybrid Advantage: Combining structural MaxEnt models with $n$-gram probabilities yields the best results, as grammatical structure and common word sequences provide complementary signals.
  • Feature Plateau: While complex features like deeper grandparenting help, the benefit eventually plateaus due to information overlap.

Conclusion

This work demonstrates that discriminative models using structural linguistic features significantly improve realization ranking. Future research may explore graded rankings to learn more nuanced preference scales and address the challenges of domain adaptation, as seen in the performance drop between the Jotunheimen and Rondane datasets.

Summary updated

BibTeX
@inproceedings{velldal2006statistical,
  author = {Erik Velldal and Stephan Oepen},
  title = {{Statistical Ranking in Tactical Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2006},
  url = {https://openreview.net/forum?id=SyboAWzuWB},
}
Figure