Abstract
Parser disambiguation with precision grammars generally takes place via statistical ranking of the parse yield of the grammar using a supervised parse selection model. In the standard process, the parse selection model is trained over a hand-disambiguated treebank, meaning that without a significant investment of effort to produce the treebank, parse selection is not possible. Furthermore, as treebanking is generally streamlined with parse selection models, creating the initial treebank without a model requires more resources than subsequent treebanks. In this work, we show that, by taking advantage of the constrained nature of these HPSG grammars, we can learn a discriminative parse selection model from raw text in a purely unsupervised fashion. This allows us to bootstrap the treebanking process and provide better parsers faster, and with less resources.
Introduction
In the field of Deep Linguistic Processing, precision grammars such as Head-driven Phrase Structure Grammar (HPSG) provide mathematically rigorous and detailed analyses of sentence structure. However, these grammars are inherently ambiguous; a single sentence can often result in hundreds or even thousands of valid parses. To resolve this, a parse selection model is employed to statistically rank and select the most likely interpretation.
Traditionally, these models rely on treebanks—large collections of sentences manually annotated by experts. This creates a significant bottleneck: building a treebank is resource-intensive, yet a good parser is needed to make treebanking efficient. This "chicken and egg" problem hinders the adaptation of precision grammars to new languages or specialized domains. This paper proposes a method to break this bottleneck by training parse selection models using only raw text and the grammar itself.
Methodology
The researchers, Rebecca Dridan and Timothy Baldwin, explored an unsupervised approach that leverages the internal constraints of the grammar. The core of their method is unsupervised supertagging. In HPSG, words are assigned "lexical types" (lextypes) that encode rich syntactic information. These lextypes act as complex tags that dictate how a word can combine with others.
To train the model without human labels, the authors used the grammar to identify all possible lextypes for every word in a raw text corpus. They then initialized a Hidden Markov Model (HMM) based on these possibilities. Two training strategies were evaluated:
- Initial Counts: Building a model based on the frequency of tags allowed by the grammar.
- EM Training: Refining the model using the Expectation-Maximization (EM) algorithm (Baum-Welch) to iteratively estimate the most likely tag sequences from raw text.
Evaluation and Datasets
The study evaluated these methods across two languages to demonstrate cross-lingual robustness: English (using the English Resource Grammar) and Japanese (using the Jacy grammar).
While training was entirely unsupervised, the models were tested against existing gold-standard treebanks to measure accuracy. The evaluation focused on both "Exact Match" (picking the perfect full parse) and dependency accuracy (F-score) for individual word relationships.
Key Results and Insights
The unsupervised supertagging approach significantly outperformed random baselines and simple structural heuristics.
Key findings include:
- Grammar as a Constraint: A well-defined grammar acts as a powerful teacher. By strictly limiting legal tag sequences, the grammar allows the model to learn language patterns simply by observing what is mathematically possible.
- Strong Dependency Performance: While exact match accuracy reached ~40% for Japanese and ~26% for English (roughly halfway between random and gold-standard), the dependency F-scores were remarkably high. The models achieved F-scores of 0.89 for Japanese and 0.83 for English, approaching the gold-standard upper bounds of 0.95 and 0.91, respectively.
- Domain Adaptation: The authors demonstrated that an unsupervised model could be used to "self-train" on new domains, such as moving from tourism text to essays, improving performance without additional human intervention.
Conclusion
By removing the requirement for pre-existing treebanks, this research provides a path toward deep linguistic analysis for under-resourced languages and specialized domains. Leveraging the inherent constraints of precision grammars allows for the creation of high-quality parse selection models with significantly reduced human effort, effectively bootstrapping the linguistic annotation process.
Summary updated