Learning Syntax from Naturally-Occurring Bracketings

Tianze Shi, Ozan Irsoy, Igor Malioutov, Lillian Lee

Abstract

Traditionally, training constituency parsers requires expensive, expert-annotated "Gold Standard" data. This paper explores an alternative: leveraging "naturally-occurring" bracketings found in Wikipedia hyperlinks and question-answer pairs. By using a specialized structured ramp loss objective, the authors demonstrate that these noisy and incomplete signals can teach models to induce syntactic structures that rival state-of-the-art unsupervised systems without ever seeing a formal syntax tree.

Introduction

In linguistics, constituency parsing involves breaking a sentence into its component parts, such as noun or verb phrases. While supervised models excel at this, they do not scale well to new languages or domains due to the high cost of annotation. Unsupervised parsing, which learns from raw text, often fails to capture human syntactic intuition.

The authors bridge this gap by utilizing "accidental" linguistic data. When a user creates a hyperlink or answers a question with a short phrase, they implicitly identify a linguistic "chunk." While these chunks are not intended as grammatical labels, they often align with syntactic boundaries. The challenge lies in the fact that this data is both "noisy" (not always perfectly syntactic) and "incomplete" (most of the sentence remains unbracketed).

Methodology

The researchers developed a discriminative constituency parser using BERT representations to score potential phrasal boundaries. The system employs a biaffine scoring function and the CKY algorithm to find the optimal binary-branching tree structure.

To handle the incomplete nature of the data, they introduced Structured Ramp Loss. Unlike standard cross-entropy, this objective rewards the model for predicting structures that include the "natural" brackets and penalizes those that conflict with them. They tested two cost functions:

  • $c_{loose}$: Penalizes only spans that directly cross (conflict with) a natural bracket.
  • $c_{strict}$: Penalizes any predicted span not explicitly present in the natural data.

Data Sources

The study utilized two primary sources of naturally-occurring data:

  1. QA-SRL (Question-Answer Driven Semantic Role Labeling): A small but high-quality set of 1,241 sentences where human answers to semantic questions serve as brackets.
  2. Wikipedia Hyperlinks: A massive but noisier set of ~926,000 sentences where anchor text provides the brackets.
Dataset statistics showing the alignment of naturally-occurring brackets with linguistic constituents.

Analysis of these datasets revealed that human intuition is pervasive; approximately 55% of QA-SRL answers and 31% of Wikipedia links correspond exactly to linguistic constituents.

Key Results and Analysis

The model trained on the small QA-SRL dataset achieved an unlabeled F1 score of 68.9 on the English WSJ corpus, significantly outperforming the model trained on the much larger Wikipedia dataset. This suggests that the intent behind the bracketing (semantic answering vs. conceptual linking) is a more critical signal than raw volume.

Performance comparison of NOB models against unsupervised baselines on the WSJ corpus.

As shown in the results, the NOB (Naturally-Occurring Bracketing) approach is highly competitive with "pure" unsupervised models like URNNG (45.4 F1) and even complex systems utilizing constituency tests (67.9 F1). Different data sources also provided complementary strengths: Wikipedia links were notably effective at identifying Adjective Phrases (ADJP), likely due to the descriptive nature of many hyperlinks.

Discussion and Future Work

While successful, the current model has limitations. It performs unlabeled parsing, meaning it identifies the boundaries of a phrase but not its type (e.g., Noun Phrase vs. Verb Phrase). Furthermore, the assumption of binary branching limits the model's ability to represent "flatter" linguistic structures, such as lists.

Future research may involve automatically clustering induced spans to generate labels or exploring how these natural signals translate to informal or technical domains where hyperlinking and QA patterns may differ significantly from news text.

Summary updated

BibTeX
@inproceedings{shi2021learning,
  author = {Tianze Shi and Ozan Irsoy and Igor Malioutov and Lillian Lee},
  title = {{Learning Syntax from Naturally-Occurring Bracketings}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.234},
}
Figure