Abstract
In Natural Language Generation (NLG), sentence realization is the final step of transforming abstract semantic or structural representations into fluent surface text. Traditional approaches often rely on extensive, manually-crafted grammar rules (e.g., LFG or HPSG), which are difficult to build and maintain. This paper proposes a statistical, grammar-free method for Chinese sentence realization that maps dependency trees directly to surface strings. By employing a divide-and-conquer strategy and a log-linear model, the system achieves a state-of-the-art BLEU score of 0.8874.
Introduction
Most existing realization systems are "grammar-heavy," requiring formal linguistic theories to define word ordering. These systems often utilize a "generate-and-select" paradigm, which is computationally expensive as it generates numerous candidates before selecting the most probable one. The proposed approach seeks to bypass formal grammar entirely by learning to "linearize" a dependency tree—a map of head-modifier relationships—directly into a sentence using machine learning.
Methodology
The core of the system is a bottom-up approach that decomposes the complex task of whole-sentence ordering into local ordering decisions within small sub-trees.
Divide and Conquer Strategy
Instead of ordering the entire sentence at once, the system breaks the dependency tree into depth-one sub-trees, each consisting of a head word and its immediate children. These sub-trees are ordered independently from the leaves up to the root.
Relative Position Determination (RPD)
The system first applies simple statistics to determine the relative position of modifiers. In Chinese, many dependency relations are highly rigid; for example, attributes (ATT) almost always precede their heads, while objects (VOB) follow them. By categorizing dependents as "pre-dependents" or "post-dependents" based on their relation type, the system deterministically resolves the order for approximately 72% of sub-trees.
Log-Linear Model
For the remaining 28% of cases—typically where multiple modifiers appear on the same side of a head—the system employs a log-linear model to score potential sequences. This model integrates three primary feature sets:
- Dependency Relation Model: Analyzes the sequence of relationship labels (e.g., Subject-Adverb-Verb).
- Word Model: A standard n-gram language model trained on the Chinese Gigaword corpus to evaluate surface fluency.
- Headword Model: An n-gram model focusing specifically on headwords, which improves robustness when encountering rare modifiers by focusing on more stable linguistic structures.
Experimental Results
The system was trained on the HIT Chinese Dependency Treebank (HIT-CDT) and evaluated using BLEU scores and Exact Match (EM) accuracy.
- Baseline (Random): 0.1478 BLEU
- RPD Only: 0.5943 BLEU
- Full Model (RPD + Log-Linear): 0.8874 BLEU
The full model achieved an Exact Match rate of 54.75%, meaning over half of the generated sentences were identical to the human-annotated gold standard. Analysis of errors revealed that 60% of failures occurred when a head word had multiple modifiers of the same relationship type (e.g., multiple adjectives), making the relative order ambiguous for the model.
Conclusion
This research demonstrates that high-quality Chinese sentence realization can be achieved without complex formal grammars. By leveraging the predictive power of dependency relations and a robust statistical framework, the system provides an efficient and effective alternative to rule-based NLG components. Future work will focus on incorporating semantic features to resolve ambiguities in flexible word orders and duplicate relation types.
Summary updated