A Conditional Splitting Framework for Efficient Constituency Parsing

Thanh-Tung Nguyen, Xuan-Phi Nguyen, Shafiq R. Joty, Xiaoli Li

Introduction

Constituency parsing, the task of decomposing text into nested structural components, traditionally involves a trade-off between speed and accuracy. Chart-based parsers offer high accuracy through global search but suffer from $O(n^3)$ complexity. Conversely, transition-based or top-down parsers are faster ($O(n)$ or $O(n^2)$) but often fall victim to "exposure bias," where early errors propagate through the tree. Furthermore, discourse parsing typically requires a separate, error-prone segmentation step.

This paper introduces a unified framework that treats both syntactic and discourse analysis as a sequence of "conditional splitting" decisions. By framing parsing as a sequence-to-sequence problem and employing an efficient top-down beam search, the proposed model achieves state-of-the-art (SoTA) results in discourse parsing and near-SoTA in syntactic parsing, processing over 1,100 sentences per second.

Methodology: The Conditional Splitting Framework

The core of the approach is a Seq2Seq Pointer Network. Instead of scoring every possible span, the model recursively identifies the optimal split point within a given span.

Architecture of the Seq2Seq Pointer Network showing the encoder-decoder structure and pointing mechanism.

Technical Components

  • Encoder-Decoder Architecture: A Bi-LSTM encoder generates representations for word boundaries. A unidirectional LSTM decoder then "points" to the most likely boundary to split the current span.
  • Conditional Decisions: Unlike independent top-down decisions, each split is conditioned on the history of previous splits, maintaining structural consistency and mitigating exposure bias.
  • Unified Representation: The framework uses a boundary-based splitting representation $\mathbb{C}(T)$ alongside traditional labeled spans $\mathbb{S}(T)$.
Comparison of labeled span and boundary-based splitting representations for syntactic (left) and discourse (right) trees.

Unified Discourse Parsing

A key innovation is the treatment of discourse segmentation as a "terminal split." If the model predicts a split at the end of a span ($k=j$), it signals that the span is an Elementary Discourse Unit (EDU). This integrates segmentation directly into the parsing process, eliminating the need for a separate pre-processing step.

Experimental Setup and Results

The model was evaluated on the Penn Treebank (PTB) for English syntax, the SPMRL datasets for multilingual parsing, and the RST Discourse Treebank (RST-DT).

Performance Highlights

  • Efficiency: The parser processes 1,127 sentences per second on a GPU, roughly 187x faster than the Berkeley parser.
  • Accuracy: On the PTB, it achieved an F1 score of 95.7 (using BERT). In discourse parsing, it set a new SoTA on RST-DT with an F1 of 78.82, significantly outperforming previous joint models.
  • Multilingual Robustness: The model achieved record F1 scores for French, Hungarian, and Korean in the SPMRL tasks without relying on pre-trained representations.

Conclusion

The Conditional Splitting Framework bridges the gap between global chart-based accuracy and local top-down efficiency. By unifying segmentation and parsing through a pointer-based architecture, the model provides a highly portable, feature-light solution for high-speed natural language understanding. Future work may explore Transformer-based encoders to further enhance parallelization and extend the framework to document-level parsing.

Summary updated

BibTeX
@inproceedings{nguyen2021conditional,
  author = {Thanh-Tung Nguyen and Xuan-Phi Nguyen and Shafiq R. Joty and Xiaoli Li},
  title = {{A Conditional Splitting Framework for Efficient Constituency Parsing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.450},
}
Figure