Co-training an Unsupervised Constituency Parser with Weak Supervision

Nickil Maveli, Shay B. Cohen
10/5/2021
cs.CLcs.AIcs.LG

Official code: Nickil21/weakly-supervised-parsing (4 stars, Python, MIT, last commit 2022-11-30).

Abstract

We introduce a method for unsupervised parsing that relies on bootstrapping classifiers to identify if a node dominates a specific span in a sentence. There are two types of classifiers, an inside classifier that acts on a span, and an outside classifier that acts on everything outside of a given span.

Show full abstract

Through self-training and co-training with the two classifiers, we show that the interplay between them helps improve the accuracy of both, and as a result, effectively parse. A seed bootstrapping technique prepares the data to train these classifiers. Our analyses further validate that such an approach in conjunction with weak supervision using prior branching knowledge of a known language (left/right-branching) and minimal heuristics injects strong inductive bias into the parser, achieving 63.1 F$_1$ on the English (PTB) test set. In addition, we show the effectiveness of our architecture by evaluating on treebanks for Chinese (CTB) and Japanese (KTB) and achieve new state-of-the-art results. Our code and pre-trained models are available at https://github.com/Nickil21/weakly-supervised-parsing.

View on arXivView PDF

Code Implementations(1)

MIT

Official Code for our Findings of ACL 2022 paper: Co-training an Unsupervised Constituency Parser with Weak Supervision

41PythonAug 28, 20214 years agoMIT
co-trainingnatural-language-processingpytorch-lightningself-trainingtransformers+2 more

Similar Papers

Cite this paper

@article{maveli2021cotraining,
  title  = {Co-training an Unsupervised Constituency Parser with Weak Supervision},
  author = {Nickil Maveli and Shay B. Cohen},
  year   = {2021},
  eprint = {2110.02283},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.02283}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.02283.svg)](https://codeofpaper.com/paper/2110.02283)

Discussion