Abstract
This paper introduces a novel transition-based constituency parser that operates directly on sentence spans rather than partial trees. By combining a simplified "structure-label" transition system with the first provably optimal $O(1)$ dynamic oracle for the $F_1$ metric, the authors achieve state-of-the-art accuracy on English and French benchmarks. The system maintains fast, linear-time greedy inference while effectively learning to recover from parsing errors through exploration-based training.
Introduction
Constituency parsing—the process of breaking a sentence into nested hierarchical phrases—has historically been more complex than dependency parsing. Traditional transition-based constituency parsers often require "binarization" of multi-branch trees and struggle with "cascading errors" where a single mistake during greedy inference leads to a sequence of further errors. While dynamic oracles solve this in dependency parsing by teaching models to recover from mistakes, creating an efficient dynamic oracle for constituency parsing (optimizing for $F_1$ score) remained a significant challenge.
Proposed Methodology
1. Span-Based Transition System
The authors propose a transition system that stores sentence spans (represented by boundary indices) on a stack rather than partial tree structures. The system alternates between two types of actions:
- Structural actions: Shift (push a new word/span) or Combine (merge the top two spans).
- Label actions: Assign a non-terminal label (e.g., NP, VP) to the current top span or choose nolabel.
This factored approach removes the need for tree binarization and allows the model to see the full extent of a phrase before assigning a label.
2. LSTM-Minus Span Features
To represent a span from index $i$ to $j$, the model uses a two-layer bi-directional LSTM and computes the difference between the hidden states at those positions ($h_j - h_i$). This "LSTM-Minus" approach allows for a compact representation of any arbitrary span within the global context of the sentence using a minimal number of features.
3. Provably Optimal $O(1)$ Dynamic Oracle
A key innovation is the design of a dynamic oracle that determines the best possible action from any arbitrary state in amortized constant time. The authors prove this oracle is optimal for the $F_1$ metric. This enables "training with exploration," where the model intentionally makes mistakes during training to learn how to minimize subsequent loss in precision and recall.
Experimental Results
The model was evaluated on the Penn Treebank (PTB) for English and the French Treebank (FTB).
- Accuracy: On the PTB, the parser achieved an $F_1$ score of 91.3, a state-of-the-art result for single-model parsers without reranking at the time. It also excelled on the FTB with an $F_1$ of 83.31.
- Efficiency: As a strictly greedy, linear-time ($O(n)$) system, it is significantly faster than traditional chart-based parsers.
- Impact of Exploration: Results confirmed that dynamic training with exploration consistently outperformed static training, validating the importance of learning error recovery.
Conclusion
By focusing on spans as the atomic unit and utilizing an efficient dynamic oracle, this work simplifies constituency parsing while achieving high performance. The system's compatibility with neural architectures and its linear-time complexity make it a robust choice for large-scale NLP tasks. Future work may explore the addition of beam search or more complex feature sets to further push accuracy boundaries.
Summary updated