Improved Latent Tree Induction with Distant Supervision via Span Constraints

Zhiyang Xu, Andrew Drozdov, Jay-Yoon Lee, Tim O'Gorman, Subendhu Rongali, Dylan Finkbeiner, Shilpa Suresh, Mohit Iyyer, Andrew McCallum

Syntactic parsing—the process of determining the hierarchical structure of a sentence—is a cornerstone of natural language processing. However, the field faces a significant "data wall." Supervised parsers require massive, manually annotated treebanks that are expensive to produce, while unsupervised latent tree induction models often yield noisy structures that lack linguistic plausibility. Researchers from UMass Amherst have proposed a middle ground: using distant supervision through simple span constraints to guide unsupervised models toward better structures.

The Challenge of Latent Tree Induction

Latent tree induction models, such as the Deep Inside-Outside Recursive Autoencoder (DIORA), attempt to learn hierarchical representations by optimizing for word prediction in context. Without grounding, these models can converge on grammars that do not align with human syntax. For example, an unsupervised model might fail to recognize that a named entity should be treated as a single constituent, leading to fragmented and incorrect trees.

Comparison of unsupervised parsing versus distant supervision using span constraints. The constraint on "evermore falls" helps the model recover a more accurate hierarchical structure.

Bridging the Gap with Distant Supervision

The core insight of this work is that partial information—such as knowing that "New York City" or "evermore falls" is a single unit (a span)—can act as a powerful anchor for the rest of the tree. The authors introduce the Partially Structured SVM (PS-SVM) loss to incorporate these constraints during training.

Unlike simple constrained decoding, which forces the model to obey rules only at test time, the PS-SVM loss trains the model to inherently prefer structures that satisfy the provided spans. The loss function compares the highest-scoring unconstrained tree (the "negative" tree) with the highest-scoring tree that satisfies the constraints (the "positive" tree). By penalizing the model when the constrained tree's score is not sufficiently higher than the unconstrained one, the model learns to generalize syntactic patterns from partial evidence. This "soft" supervision allows the model to learn general grammar even for sentences where no constraints are available.

Empirical Evaluation and Results

The researchers evaluated their approach across several benchmarks, including the WSJ Penn Treebank and specialized biomedical datasets like CRAFT and MedMentions. They utilized various sources for distant supervision, ranging from ground-truth named entities in Ontonotes to "noisy" automatic matches from a Wikipedia Gazetteer.

Performance breakdown across syntactic categories, showing constraint counts, initial recall, and final Parsing F1 scores.

The results demonstrate significant improvements. On the WSJ dataset, adding entity constraints boosted DIORA’s F1 score from 56.8 to 61.9 (+5.1 points). In the biomedical domain, where expert trees are rare but entity dictionaries are plentiful, the model saw similar gains. Notably, the PS-SVM approach also reduced the high performance variance typically associated with unsupervised learning, providing a more stable training signal. Even using a "naive" gazetteer from Wikipedia to find spans provided a +2 F1 boost, proving that perfect labels are not required to improve the model.

Conclusion and Future Work

By leveraging readily available partial information, this research provides a scalable path toward high-quality syntactic parsing in low-resource and specialized domains. While a gap remains between these distantly supervised models and fully supervised parsers, the ability to improve performance significantly using simple dictionary matches marks a major step forward. Future work may involve combining this method with automated span discovery via large language models to further reduce the need for manual supervision.

Summary updated

BibTeX
@inproceedings{xu2021improved,
  author = {Zhiyang Xu and Andrew Drozdov and Jay-Yoon Lee and Tim O'Gorman and Subendhu Rongali and Dylan Finkbeiner and Shilpa Suresh and Mohit Iyyer and Andrew McCallum},
  title = {{Improved Latent Tree Induction with Distant Supervision via Span Constraints}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.395},
}
Figure