Joint Morphological Generation and Syntactic Linearization

Linfeng Song, Yue Zhang, Kai Song, Qun Liu

Abstract

Surface realization in Natural Language Generation (NLG) involves transforming abstract semantic representations into grammatically correct, ordered strings. Traditional approaches treat syntactic linearization (ordering) and morphological generation (inflection) as sequential pipeline steps. However, this separation leads to error propagation and ignores the inherent interdependencies between the two tasks. This paper presents a joint model that performs linearization and morphological generation simultaneously within a single search framework. Using an online learning algorithm and a rich feature set, the model achieves state-of-the-art performance on the 2011 Surface Realisation Challenge, proving that joint decoding is both effective and computationally feasible.

Introduction

A core problem in NLG is the "shallow realization" task: converting an unordered tree of base words (lemmas) into a final sentence. In a traditional pipeline, a system first determines the word order (linearization) and then applies morphological rules to produce the correct word forms (e.g., changing "be" to "is" or "was").

This sequential approach has two major drawbacks. First, error propagation: an incorrect word order in the first stage often makes correct morphological generation impossible. Second, interdependency: the tasks are mutually informative. For instance, the choice between the articles "a" and "an" depends entirely on the phonetics of the following word, which is determined by linearization. Conversely, morphological constraints (like subject-verb agreement) can provide strong cues for correct syntactic ordering.

Methodology

The authors propose a joint decoding framework that explores the search space of both word orders and inflections simultaneously.

Search and Decoding

The system employs a best-first search algorithm. Instead of a single fixed form for each lemma, the algorithm considers all possible candidate inflections generated from hand-written rules and the MulText inflection dictionary. As the tree is constructed, the model evaluates hypotheses using a combination of n-gram features, part-of-speech tags, and dependency relations.

Comparison of pipeline paths versus the proposed joint approach for mapping unordered lemmas to ordered forms.

To maintain consistency, the system enforces mutual exclusion, ensuring that exactly one morphological form is selected for each lemma in the final output.

Learning

The model is trained using an averaged perceptron, an online learning algorithm. This approach allows the model to learn weights for features that distinguish the "gold standard" sentence from incorrect alternatives generated during the search process.

Experimental Setup

The model was evaluated on the 2011 Surface Realisation Shared Task dataset, which includes approximately 34,400 training sentences and 1,809 development sentences. The MulText dictionary provided the morphological base for English lemmas.

Results and Discussion

The joint model demonstrated superior performance compared to both standard pipelines and previous state-of-the-art systems.

Performance Metrics

On the test set, the joint method achieved a BLEU score of 89.62, surpassing the previous state-of-the-art (STUMABA-S) at 89.11. On development data, the joint approach significantly outperformed the "Linearize then Inflect" pipeline, achieving an overall score of 91.67 compared to the pipeline's 90.44.

Efficiency

A common concern with joint models is the increased search space complexity. However, the authors found that local ambiguities are often resolved quickly, allowing the beam search to prune incorrect paths early.

Training time comparison across iterations for pipeline and joint methods.

As shown in the training performance data, while the joint method initially requires more computation time, its efficiency improves rapidly as the model learns, eventually reaching parity with simpler pipelined systems.

Conclusion

By breaking the traditional pipeline and treating linearization and morphology as a single joint task, this research effectively mitigates error propagation and leverages local context for better decision-making. Future work aims to extend this joint approach to "deep realization" tasks, integrating semantic-to-syntactic mapping into the unified decoding process.

Summary updated

BibTeX
@inproceedings{song2014joint,
  author = {Linfeng Song and Yue Zhang and Kai Song and Qun Liu},
  title = {{Joint Morphological Generation and Syntactic Linearization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.8927},
}
Figure