Skip to main content
QUICK REVIEW

[Paper Review] Web-scale Surface and Syntactic n-gram Features for Dependency Parsing

Dominick Ng, Mohit Bansal|arXiv (Cornell University)|Feb 25, 2015
Natural Language Processing TechniquesComputer Science13 references3 citations
TL;DR

This paper introduces novel first- and second-order surface and syntactic n-gram features derived from the Google Books and Google Syntactic Ngrams corpora to improve dependency parsing accuracy. By combining these complementary features with the MSTParser, the authors achieve up to 1.4% absolute UAS improvement on web text and 0.8% on newswire, demonstrating significant gains across in-domain and out-of-domain settings.

ABSTRACT

We develop novel first- and second-order features for dependency parsing based on the Google Syntactic Ngrams corpus, a collection of subtree counts of parsed sentences from scanned books. We also extend previous work on surface $n$-gram features from Web1T to the Google Books corpus and from first-order to second-order, comparing and analysing performance over newswire and web treebanks. Surface and syntactic $n$-grams both produce substantial and complementary gains in parsing accuracy across domains. Our best system combines the two feature sets, achieving up to 0.8% absolute UAS improvements on newswire and 1.4% on web text.

Motivation & Objective

  • To improve dependency parsing accuracy using large-scale, web-scale n-gram features from diverse sources.
  • To extend first-order surface n-grams to second-order features for enhanced contextual modeling.
  • To investigate the utility of scanned book corpora (Google Books, Syntactic Ngrams) as sources of surface and syntactic n-grams.
  • To evaluate the complementarity of surface and syntactic n-gram features across in-domain (newswire) and out-of-domain (web treebank) settings.
  • To assess the impact of different n-gram source corpora (Web1T vs. Google Books) and feature types on parsing performance.

Proposed method

  • Extract first- and second-order surface n-grams from Web1T and Google Books Ngram corpus, using bucketed frequency counts based on log2(frequency)/5 to reduce sparsity.
  • Develop syntactic n-gram features from the Google Syntactic Ngrams corpus, which contains Stanford dependency subtree counts over 345 billion words of parsed scanned books.
  • Encode features using word, POS tag, directionality (head left/right), and binned frequency (bucketed in increments of 5) to improve run-time efficiency.
  • Generate paraphrase-style context features using top words and POS tags before, between, and after head-argument dependencies.
  • Pre-compute feature counts during training to speed up inference, using a minimum frequency cutoff of 10,000 to reduce noise from OCR and parsing errors.
  • Combine surface and syntactic n-gram features in a graph-based MSTParser to evaluate complementary gains in unlabeled attachment score (UAS).

Experimental results

Research questions

  • RQ1Can second-order surface n-grams from the Google Books Ngram corpus improve parsing accuracy compared to first-order features?
  • RQ2How do syntactic n-gram features from the Google Syntactic Ngrams corpus compare to surface n-grams in terms of parsing accuracy across domains?
  • RQ3Do surface and syntactic n-gram features provide complementary improvements when combined in a dependency parser?
  • RQ4How does the performance of features from Web1T compare to those from the Google Books Ngram corpus in out-of-domain settings?
  • RQ5To what extent do features from scanned book corpora mitigate the limitations of linear word-order dependencies in surface n-grams?

Key findings

  • The best system combining surface and syntactic n-gram features achieved 92.5% UAS on newswire and 85.2% UAS on web text, representing 0.8% and 1.4% absolute improvements over baseline scores of 91.7% and 83.8% respectively.
  • Second-order surface n-grams from the Google Books Ngram corpus provided statistically significant gains, with performance comparable to Web1T despite the latter having double the total n-gram count.
  • Syntactic n-gram features offered substantial improvements, particularly in handling syntactic ambiguity, though performance was limited by parser and OCR errors in the source corpus.
  • The intersection of n-gram queries between Web1T and Google Books was only 24.7%, indicating meaningful distributional differences between the two corpora, which may explain the complementary nature of their features.
  • Surface and syntactic n-gram features were found to be complementary, with the combined system leveraging the strengths of both: surface n-grams for lexical co-occurrence and syntactic n-grams for structural disambiguation.
  • Despite potential noise from OCR and parsing errors in the Google Syntactic Ngrams corpus, the feature counts proved robust and useful, especially when combined with surface n-gram features.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.