Sentence Realization with Unlexicalized Tree Linearization Grammars

Rui Wang, Yi ZhangCOLING 2012

Introduction

Sentence realization is a critical final step in the Natural Language Generation (NLG) pipeline, responsible for transforming structured semantic or syntactic representations into fluent, human-readable text. A core sub-task of realization is linearization: determining the optimal word order for a given dependency tree. Traditionally, this has relied on complex $N$-gram models or feature-heavy discriminative classifiers that often lack linguistic interpretability.

Presented at COLING 2012, this research introduces a generative approach using Unlexicalized Tree Linearization Grammars (UTLG). By prioritizing syntactic categories over specific lexical items, the authors developed an efficient, linear-time algorithm that achieves state-of-the-art performance across multiple languages without the need for extensive feature engineering.

Methodology: Unlexicalized Tree Linearization

The primary innovation of this work is the shift from lexicalized rules (e.g., "The" precedes "Cat") to unlexicalized syntactic rules (e.g., "Determiner" precedes "Noun"). This abstraction allows the grammar to remain compact and generalize effectively from limited training data.

Local Configurations

The grammar operates on "local configurations," which consist of a head word and its immediate dependents. A rule in the UTLG defines a specific linear ordering for these elements based on their syntactic roles.

A local configuration mapping a head verb (v) and its dependents (n1, n2, adv) to possible linear sequences.

The probability of a complete sentence is calculated as the product of the probabilities of the local rules applied throughout the tree, estimated via Maximum Likelihood Estimation (MLE) from existing treebanks.

Efficient Search and Self-Training

The model supports two search modes:

  • 1-best: A deterministic, recursive algorithm that identifies the most probable order in $O(n)$ time.
  • $n$-best: An extension using "lazy expansion" to retrieve the top $n$ linearizations without an exhaustive search.

To address data sparsity, the researchers employed self-training. They used an automated parser to process nearly 800,000 additional sentences from the North American News Text (NANC) corpus, extracting a broader set of rules to improve model coverage.

Evaluation and Results

The model was evaluated using the CoNLL-2009 Shared Task datasets, spanning six languages: English, Chinese, Spanish, Catalan, German, and Czech.

Performance and Baselines

The UTLG model demonstrated significant improvements over traditional methods. On the English dataset, the base model achieved a 83.28 BLEU score, vastly outperforming standard $N$-gram baselines (43.22) and even strong discriminative models (73.09).

Performance metrics including coverage and BLEU scores for POS and CPOS models compared against baselines.

Multilingual Robustness and Limitations

The approach proved robust across diverse linguistic structures, excelling in languages with relatively rigid word orders like English and Chinese. However, performance was lower for "free word order" languages like Czech, primarily due to the model's assumption of "projective" trees (where dependency edges do not cross).

Additionally, the authors noted the "heaviness" problem: the grammar's context-free rules struggle with the linguistic tendency to move long, complex phrases to the end of a sentence. Manual analysis also suggested that while the base model is highly grammatical, adding a language model for reranking (LM-Rerank) further improves naturalness and comprehensibility.

Conclusion

This work demonstrates that a transparent, generative grammar based on syntactic categories can be both more efficient and more accurate than complex "black box" models for sentence linearization. With $O(n)$ complexity and high interpretability, UTLG offers a viable path for real-time, high-quality NLG applications across multiple languages.

Summary updated

BibTeX
@inproceedings{wang2012sentence,
  author = {Rui Wang and Yi Zhang},
  title = {{Sentence Realization with Unlexicalized Tree Linearization Grammars}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2012},
}
Figure