Abstract
Statistical parsers trained on specific domains, such as the Wall Street Journal (WSJ), often fail to generalize to more diverse text. This study investigates the impact of corpus variation on parser performance using Collins’ Model 1. By analyzing cross-corpus results and applying parameter pruning, the research demonstrates that lexical bigrams—highly specific word-pair features—are largely corpus-dependent. Pruning these features can reduce model size by over 40% with negligible impact on accuracy, suggesting that much of a parser's complexity is dedicated to memorizing domain-specific quirks rather than universal linguistic rules.
Introduction
In the late 1990s and early 2000s, the Wall Street Journal (WSJ) portion of the Penn Treebank served as the primary benchmark for natural language parsing. While researchers achieved increasingly high scores on this dataset, it remained unclear whether these models were learning general-purpose linguistic structures or simply optimizing for the specific style of financial news. This paper addresses the problem of corpus variation, examining how a parser trained on the uniform style of the WSJ performs when applied to the more diverse Brown Corpus, which includes various genres such as fiction and editorials.
Methodology
The study utilizes Collins’ Model 1, a generative, lexicalized probabilistic context-free grammar (PCFG) that predicts sentence structure based on head words and their relationships with child nodes. To evaluate generalization, the author conducted cross-corpus training and testing between the WSJ and Brown datasets. Additionally, a parameter pruning technique—the Seymore and Rosenfeld weighted difference method—was employed to selectively remove lexical bigrams, which are probabilities dependent on specific word pairs (e.g., the likelihood of "Exchange" following "Stock").
The Generalization Gap
A primary finding of the research is the significant performance drop when a model is tested outside its training domain. While a model trained and tested on the WSJ achieves approximately 86% accuracy, this performance falls to roughly 80-81% when the same model is tested on the Brown corpus. Interestingly, the study found that a small amount of training data from the target domain is more valuable than a massive amount of unmatched data. Adding WSJ data to a Brown-trained model provided negligible improvements for parsing Brown text, highlighting the "matched data" advantage.
Lexical Specificity and Model Pruning
The research reveals that lexical bigrams are highly brittle and corpus-specific. Bigrams learned from the WSJ, such as "Stock Exchange" or "San Francisco," are largely irrelevant when parsing the Brown corpus. More surprisingly, these features appear to be less critical even for within-domain parsing than previously assumed. By applying pruning thresholds, the author was able to significantly reduce the model's complexity.
As shown in the results, the model size was reduced by 43% (from approximately 735,850 to 420,000 parameters) with only a 0.5% drop in recall on the WSJ task. This suggests that a substantial portion of the model's parameters are essentially "memorizing" the training domain rather than contributing to general syntactic understanding.
Conclusion
The findings suggest that the high performance of parsers on the WSJ may be inflated by its uniform style. The study highlights a significant opportunity for creating more efficient, lightweight parsers by pruning non-essential lexical features. Future work should investigate whether more advanced models, which use semantic clustering or more complex features, can capture more universal linguistic patterns that transcend specific corpora.
Summary updated