Self-Training for Unsupervised Parsing with PRPN

Anhad Mohananey, Katharina Kann, Samuel R. Bowman

Abstract

Neural unsupervised parsing (UP) models learn to parse without access to syntactic annotations, while being optimized for another task like language modeling. In this work, we propose self-training for neural UP models: we leverage aggregated annotations predicted by copies of our model as supervision for future copies. To be able to use our model's predictions during training, we extend a recent neural UP architecture, the PRPN (Shen et al., 2018a) such that it can be trained in a semi-supervised fashion. We then add examples with parses predicted by our model to our unlabeled UP training data. Our self-trained model outperforms the PRPN by 8.1% F1 and the previous state of the art by 1.6% F1. In addition, we show that our architecture can also be helpful for semi-supervised parsing in ultra-low-resource settings.

Introduction

Unsupervised parsing (UP) represents a fundamental challenge in computational linguistics: discovering the underlying hierarchical structure of language without human-annotated examples. Most modern UP models approach this by optimizing for a proxy task, such as language modeling. However, these models often suffer from high variance across training runs and struggle with the structural complexity of longer sentences. This research addresses these limitations by introducing a self-training framework that leverages the collective "wisdom" of multiple model instances to generate reliable "silver-standard" labels for further training.

The SS-PRPN Architecture

To enable self-training, the authors developed the Semi-Supervised Parsing-Reading-Predictor Network (SS-PRPN). The original PRPN architecture uses latent "syntactic distances" to guide language modeling. The SS-PRPN extends this by producing dual outputs: latent distances ($D_l$) for the internal language modeling task and explicit distances ($D_g$) intended for direct supervision.

The SS-PRPN architecture featuring dual distance outputs for latent language modeling and explicit supervision.

This architecture allows for multi-task learning, where the model is jointly optimized using a standard language modeling loss on raw text and a hinge ranking loss on the silver-standard parses provided during the self-training phase.

Self-Training via Consensus Filtering

The core of the proposed method is a two-stage self-training pipeline. First, an ensemble of 15 unsupervised models is trained on unlabeled data. The models then perform "ensemble voting" on the training corpus. The authors discovered a critical correlation: when a high number of independent models agree on a specific parse tree, that tree is significantly more likely to be correct.

Relationship between the number of models agreeing on a parse and the resulting F1 score, showing that consensus is a strong proxy for accuracy.

As shown in the figure above, while the number of sentences with total agreement is small, their average F1 score is remarkably high. By filtering for these high-confidence "silver" labels, the authors create a high-quality dataset to re-train the SS-PRPN from scratch, effectively solidifying the model's knowledge of simpler structures to better generalize to complex ones.

Key Results

The SS-PRPN achieves a new state-of-the-art F1 score of 54.4% on the English Penn Treebank (PTB), representing a 1.6% improvement over the previous best (C-PCFG) and an 8.1% jump over the original PRPN. Beyond raw accuracy, the method significantly reduces performance variance; the standard deviation dropped from 5.6 in the original PRPN to just 0.6 in the self-trained version.

Furthermore, the model demonstrates exceptional performance in ultra-low-resource settings. With as few as 150 human-labeled examples, the SS-PRPN outperforms fully supervised parsers by effectively utilizing the vast amounts of available unlabeled text through its semi-supervised objective.

Discussion and Conclusion

While the self-training approach is highly effective, it comes with a significant computational cost due to the requirement of training multiple initial models for consensus filtering. Additionally, the PRPN architecture may harbor inherent biases toward right-branching structures typical of English, suggesting that further research is needed to validate these gains across typologically diverse languages. Nevertheless, this work demonstrates that model agreement is a powerful proxy for accuracy in unsupervised learning, providing a robust path forward for bridging the gap between unsupervised and supervised parsing.

Summary updated

Abstract

Neural unsupervised parsing (UP) models learn to parse without access to syntactic annotations, while being optimized for another task like language modeling. In this work, we propose self-training for neural UP models: we leverage aggregated annotations predicted by copies of our model as supervision for future copies. To be able to use our model's predictions during training, we extend a recent neural UP architecture, the PRPN (Shen et al., 2018a) such that it can be trained in a semi-supervised fashion. We then add examples with parses predicted by our model to our unlabeled UP training data. Our self-trained model outperforms the PRPN by 8.1% F1 and the previous state of the art by 1.6% F1. In addition, we show that our architecture can also be helpful for semi-supervised parsing in ultra-low-resource settings.
BibTeX
@inproceedings{mohananey2020self,
  author = {Anhad Mohananey and Katharina Kann and Samuel R. Bowman},
  title = {{Self-Training for Unsupervised Parsing with PRPN}},
  booktitle = {IWPT},
  year = {2020},
  url = {https://openreview.net/forum?id=dBiiiq6qcP},
}
Figure