Haoyue Shi, Karen Livescu, Kevin Gimpel Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)
Introduction
Constituency parsing is a fundamental task in natural language processing that involves decomposing sentences into nested hierarchical phrases. While supervised parsers have achieved high accuracy, they require large amounts of human-labeled data. This has led to significant interest in "unsupervised" parsing, where models learn structure from raw text using language modeling objectives.
However, a critical methodological question arises: is a parser truly unsupervised if a labeled development set is used to tune its hyperparameters? This paper investigates the extent to which current unsupervised parsers rely on implicit supervision and compares them against a strong few-shot supervised baseline. The findings suggest that even a tiny amount of labeled data can make supervised approaches more effective than their unsupervised counterparts.
Methodology
The researchers compared four prominent unsupervised parsers—PRPN, ON-LSTM, DIORA, and Compound PCFG—against a supervised baseline (Benepar) enhanced with data augmentation and self-training.
Few-Shot Supervised Baseline
The baseline utilizes a state-of-the-art supervised parser (Kitaev and Klein, 2018) trained on limited labeled data (15 to 1,700 examples). To improve performance in low-resource settings, two techniques were employed:
- Subtree Substitution (SUB): This data augmentation technique takes existing labeled trees and swaps subtrees of the same syntactic type between sentences. As shown in Figure 1, this process can generate new training examples that, while potentially nonsensical, provide the model with a wider variety of structural patterns.
- Self-Training (ST): An iterative process where the model predicts trees for unlabeled data, and a subsequent model is trained on these "silver-standard" predictions.
Unsupervised Evaluation Protocols
To isolate the impact of supervision, the unsupervised models were evaluated under two conditions:
- Fully Unsupervised: Hyperparameters are tuned based on language model perplexity.
- Supervised Tuning: Hyperparameters are tuned using the F1 score on a small labeled development set.
Experimental Setup
The study utilized the Wall Street Journal (WSJ) portion of the Penn Treebank. Training and tuning subsets ranged from 15 to 1,700 sentences from the standard development set (Section 22). Evaluation was conducted on the standard test set (Section 23). For self-training and unsupervised learning, the full WSJ training set (approximately 40,000 sentences) was used as unlabeled data.
Results and Discussion
The Supervision Leak
The study found that tuning unsupervised models on as few as 15 labeled examples provides a massive performance boost. This indicates that many reported results for "unsupervised" models are actually inflated by implicit supervision during the tuning phase. When models were tuned using strictly unsupervised criteria like perplexity, performance dropped significantly (e.g., DIORA's F1 score fell from 48.0 to 46.6).
The Tipping Point
A basic supervised model begins to outperform all existing unsupervised methods once it has access to more than 55 labeled examples. When data augmentation (SUB) and self-training are applied, the supervised model dominates with as few as 15 labeled examples. Specifically, with the full 1,700-sentence development set, the few-shot supervised model achieved an 85.1 F1 score, vastly outperforming the best unsupervised model (ON-LSTM), which reached only 52.0 F1.
The Impact of Vocabulary
A notable side finding was the impact of vocabulary size. Reducing the vocabulary by grouping rare words significantly improved the performance of some unsupervised models. This suggests that a smaller vocabulary forces the model to prioritize structural patterns over specific lexical items.
Conclusion
The results of this study challenge the current trajectory of unsupervised parsing research. The authors demonstrate that if even a small amount of labeled data is available for tuning, a few-shot supervised approach is likely to yield superior results.
To ensure more rigorous evaluation in the future, the authors propose two new protocols: researchers should either use strictly unsupervised criteria for tuning or compare their results against a few-shot supervised baseline using the same amount of labeled data. Furthermore, they suggest that extrinsic evaluation on downstream tasks may provide a more objective measure of a parser's utility than comparison against human-annotated "gold" trees, which may follow specific conventions not captured by unsupervised models.
Summary updated