Uptraining for Accurate Deterministic Question Parsing

Slav Petrov, Pi-Chuan Chang, Michael Ringgaard, Hiyan AlshawiEMNLP 2010

Abstract

Deterministic shift-reduce parsers are essential for web-scale natural language processing due to their linear-time complexity. However, these models often struggle with domain shifts, particularly when processing questions, where accuracy can drop significantly compared to standard news text. This paper introduces "uptraining," a teacher-student framework where a fast deterministic parser is trained on the output of a more accurate but computationally expensive constituency parser. By leveraging massive amounts of unlabeled web queries, uptraining improves question parsing accuracy from approximately 60% to over 84% Labeled Attachment Score (LAS), effectively bridging the performance gap while maintaining high inference speeds.

Introduction

In Natural Language Processing (NLP), a fundamental trade-off exists between speed and accuracy. Deterministic shift-reduce parsers are favored for large-scale applications because of their $O(n)$ time complexity. Conversely, latent variable constituency parsers achieve higher accuracy by considering global sentence structures but are limited by $O(n^3)$ or worse complexity. This performance gap is most pronounced in specific domains like user-generated questions, which are vital for search engines and virtual assistants but underrepresented in standard training corpora like the Wall Street Journal (WSJ).

The Challenge of Domain Shift

Most modern parsers are trained on the WSJ section of the Penn Treebank, where questions constitute less than 1% of the data. When applied to questions, fast parsers often fail because they lack the global constraints necessary to handle the distinct syntactic "shapes" and word orders of interrogative sentences. This results in a "syntactic shift" where the model cannot correctly identify subject-verb relationships or the presence of required verbs in a question format.

The Uptraining Methodology

To address this, the authors propose Uptraining. Unlike self-training, which can propagate a model's own errors, uptraining utilizes a high-accuracy "teacher" model to guide a "student" model.

  1. Teacher Model: A slow but highly accurate Berkeley Parser (constituency-based) processes millions of unlabeled questions from the web.
  2. Conversion: The resulting constituency trees are converted into dependency trees, creating "silver" training data.
  3. Student Model: A fast, deterministic shift-reduce parser is trained on this silver data, learning to mimic the teacher's structural insights.
Comparison of constituency (a) and dependency (b) representations for a sample question.

Additionally, the researchers explored "POS-less" parsing, using automated Brown clusters instead of traditional Part-of-Speech tags to increase robustness against the varied vocabulary of web queries.

Experimental Results

The study utilized the WSJ corpus for the source domain, 4,000 manually labeled questions from QuestionBank for the target domain, and 2 million unlabeled search queries.

The results demonstrate the efficacy of the uptraining approach. A baseline fast parser trained only on news text achieved a meager 60.06% LAS on questions. By introducing 100,000 "silver" labels from the teacher model, the LAS jumped to 76.94%. When combined with a small amount of human-labeled data from QuestionBank, the final accuracy reached 84.14%.

UAS and LAS performance as a function of the number of unlabeled questions used for uptraining.

Crucially, the authors found that training on 100,000 silver labels was as effective as using 2,000 gold (human-labeled) samples, highlighting the power of large-scale unlabeled data when paired with a strong teacher model.

Conclusion

Uptraining provides a scalable solution for improving the accuracy of fast parsers in specialized domains. By transferring knowledge from a sophisticated constituency parser to a linear-time dependency parser, the researchers achieved state-of-the-art results on question parsing without increasing computational overhead during inference. This methodology holds promise for other domains where labeled data is scarce but unlabeled text is abundant.

Summary updated

BibTeX
@inproceedings{petrov2010uptraining,
  author = {Slav Petrov and Pi-Chuan Chang and Michael Ringgaard and Hiyan Alshawi},
  title = {{Uptraining for Accurate Deterministic Question Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
}
Figure