Exploiting Web-Derived Selectional Preference to Improve Statistical Dependency Parsing

Guangyou Zhou, Jun Zhao, Kang Liu, Li Cai

Introduction

Dependency parsing is a fundamental task in natural language processing that involves identifying head-modifier relationships between words in a sentence. While modern supervised statistical parsers, such as the MSTParser, perform exceptionally well on short-range dependencies (adjacent words), their accuracy drops significantly as the distance between words increases.

Long-distance dependencies, such as prepositional phrase (PP) attachments, are often highly ambiguous. Resolving these requires "selectional preference"—lexical knowledge that certain words are more likely to pair than others (e.g., "eat" is a likely head for "spaghetti"). Because standard annotated treebanks are too small to capture all possible lexical pairs, they suffer from severe data sparsity. This research addresses the problem by leveraging massive, unannotated web-scale N-gram corpora to provide the necessary lexical statistics.

Methodology

The authors enhance the MSTParser, a graph-based, log-linear dependency parser, by incorporating web-derived N-gram features.

Calculating Selectional Preference

The core of the approach involves calculating Pointwise Mutual Information (PMI) between word pairs (head and modifier) and trigrams (for second-order parsing features). To obtain the frequencies required for PMI, the researchers utilized two massive data sources:

  1. Google hits: Live search engine query counts.
  2. Google Web 1T: A static 1-trillion-token 5-gram corpus.

The Z-Score Normalization

Injecting continuous PMI values directly into a log-linear parser designed for binary features can lead to optimization issues. To solve this, the authors converted PMI values into z-scores, normalizing them by the mean and standard deviation of the PMI distribution. This allows the parser to effectively integrate continuous lexical statistics with traditional structural features.

The Power of Scale

A central finding of the study is the direct correlation between the size of the external N-gram corpus and the resulting parsing accuracy. The researchers observed a log-linear relationship: as the vocabulary of unique N-grams grows, the Unlabeled Attachment Score (UAS) improves steadily.

UAS score improvement as a function of the number of unique N-grams.

Key Results and Insights

Rescuing Long-Distance Dependencies

The most significant impact of web-derived features is seen in long-distance dependencies (length > 3). While structural features are sufficient for short-range attachments, lexical preferences become the primary signal for resolving distant modifiers. The addition of N-gram features effectively flattens the performance decay typically seen as dependency length increases.

F1 score comparison between MST2 and MST2+N-gram across varying dependency lengths, showing significant gains for longer dependencies.

Performance Benchmarks

  • State-of-the-Art Accuracy: The second-order parser using Google hits achieved a 92.64% UAS on the Penn Treebank (Section 23), outperforming contemporary parsers that rely solely on treebank data.
  • Google Hits vs. Static Corpora: Surprisingly, live Google search hits slightly outperformed the static Google Web 1T corpus, likely due to the broader coverage of rare bigrams and trigrams provided by the live web.
  • Cross-Domain Robustness: The model demonstrated remarkable stability when tested on out-of-domain data (biomedical text). Because web N-grams capture general language usage, they act as a regularizer that prevents the parser from over-fitting to the specific syntax of the training domain (e.g., financial news).

Conclusion

By tapping into the vast resources of the web, this work demonstrates that simple lexical co-occurrence statistics can significantly improve the structural accuracy of dependency parsers. While search engine hits are noisy and subject to rate-limiting, they provide a powerful proxy for human selectional preference that standard annotated datasets cannot match. Future work may focus on more efficient ways to utilize static web-scale corpora to achieve similar performance gains without the overhead of live web queries.

Summary updated

BibTeX
@inproceedings{zhou2011exploiting,
  author = {Guangyou Zhou and Jun Zhao and Kang Liu and Li Cai},
  title = {{Exploiting Web-Derived Selectional Preference to Improve Statistical Dependency Parsing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure