Abstract
This paper presents several practical ways of incorporating linguistic structure into language models. A headword detector is first applied to detect the headword of each phrase in a sentence. A permuted headword trigram model (PHTM) is then generated from the annotated corpus. Finally, PHTM is extended to a cluster PHTM (C-PHTM) by defining clusters for similar words in the corpus. We evaluated the proposed models on the realistic application of Japanese Kana-Kanji conversion. Experiments show that C-PHTM achieves 15% error rate reduction over the word trigram model. This demonstrates that the use of simple methods such as the headword trigram and predictive clustering can effectively capture long distance word dependency, and substantially outperform a word trigram model.
Introduction
Standard $n$-gram language models have long been the foundation of natural language processing tasks. However, they are inherently limited by their "local" scope; a trigram model, for instance, only considers the two preceding words. This local focus often fails to capture long-distance dependencies, such as the relationship between a subject at the start of a sentence and a verb at the end. While researchers have explored full syntactic parsing to solve this, such methods are often computationally prohibitive for real-time applications. This research explores a "middle ground" by focusing on headwords—the core semantic components of phrases—to capture linguistic structure efficiently.
Methodology
The researchers propose two primary enhancements to traditional language modeling to bridge the gap between simple $n$-grams and complex parsing:
Permuted Headword Trigram Model (PHTM)
The PHTM relies on Headword Detection, distinguishing between content-rich "headwords" and grammatical "function words." In Japanese, sentences are composed of phrases (bunsetsu), each typically containing one headword. The model assumes that headwords depend more strongly on other headwords than on intervening function words. Furthermore, to account for the flexible word order (scrambling) common in Japanese, the model employs Permutation, allowing headword sequences to be order-neutral.
Predictive Clustering (C-PHTM)
To address the issue of data sparseness—where rare words lack sufficient training data—the authors introduce Predictive Clustering. By grouping semantically similar words into clusters, the C-PHTM can predict word probabilities based on cluster-level behavior, significantly improving the model's robustness.
Experimental Results
The models were evaluated using a Japanese Kana-Kanji conversion task, a practical application where phonetic input is converted into the correct script. The performance was measured using the Character Error Rate (CER).
As shown in the results, the baseline word trigram model achieved a CER of 3.73%. The introduction of headword dependencies and permutations in the U-PHTM model reduced this to 3.34%. The most advanced model, C-PHTM, which incorporates predictive clustering, achieved a CER of 3.17%, representing a 15.0% reduction over the baseline.
The gap between the baseline and the "Oracle of 100-best" (1.51%) highlights the significant potential for improvement in language modeling for this task. The proposed C-PHTM makes a substantial stride toward closing this gap, even outperforming a standard 5-gram model (3.71% CER) by focusing on the most informative linguistic relationships.
Conclusion
By focusing on the linguistic "skeleton" of sentences through headword dependencies and leveraging predictive clustering, the authors demonstrate that significant performance gains can be achieved without the overhead of full syntactic parsing. The C-PHTM model proves that linguistic intuition is a powerful tool for improving language model accuracy, effectively capturing long-distance dependencies that standard $n$-grams miss.
Summary updated