A Linear-Time Bottom-Up Discourse Parser with Constraints and Post-Editing

Vanessa Wei Feng, Graeme HirstACL 2014

Abstract

Discourse parsing, the task of identifying hierarchical relationships between text segments, has traditionally faced a steep trade-off between computational efficiency and structural accuracy. This paper presents a novel discourse parser that operates in linear time ($O(n)$) while achieving state-of-the-art results. By employing a greedy bottom-up strategy enhanced with cascaded linear-chain Conditional Random Fields (CRFs), Viterbi constraints, and a unique post-editing phase, the system bridges the gap between fast local models and slow global optimizers. Evaluated on the RST Discourse Treebank, the model demonstrates significant speedups—processing large documents in seconds rather than hours—while outperforming previous joint-modeling approaches.

Introduction

Discourse parsing involves uncovering the latent structure of a text by identifying how Elementary Discourse Units (EDUs) relate to one another to form a coherent narrative. Most frameworks utilize Rhetorical Structure Theory (RST), which represents these relationships as a hierarchical tree.

An example of a Rhetorical Structure Theory (RST) tree, representing the hierarchical discourse relations within a text.

The primary challenge in this field is balancing speed and accuracy. Optimal models often rely on $O(n^3)$ complexity algorithms, which are impractical for real-time applications on long documents. Conversely, faster greedy models frequently suffer from "local optima" errors, where an early incorrect merge propagates through the entire tree.

Methodology

The proposed parser utilizes a greedy bottom-up approach, mitigated by three key architectural innovations:

1. Cascaded Linear-Chain CRFs

To maintain efficiency, the model separates the prediction of discourse structure (which units to merge) from the prediction of relations (e.g., "Contrast"). By using separate linear-chain CRFs, the system captures sequential dependencies between neighboring units without the exponential cost of joint modeling.

2. Viterbi Constraints

During structural parsing, the authors enforce "commonsense" constraints via the Viterbi algorithm. For instance, a unit is restricted to merging with at most one adjacent unit at a time, preventing logically impossible structural leaps and ensuring a valid tree.

3. Post-Editing

The most significant contribution is the "post-editing" module. After the initial tree is constructed, this module performs a top-down pass to refine the structure. It utilizes high-level context—such as the depth of constituents—that was unavailable during the initial bottom-up pass to correct early greedy mistakes.

The overall architecture of the discourse parser, showing the intra-sentential and multi-sentential stages along with the post-editing modules.

The parsing process is divided into two distinct stages: intra-sentential (building trees for individual sentences) and multi-sentential (linking sentence-level trees into a document-level structure).

Experimental Results

The model was evaluated on the RST Discourse Treebank (RST-DT), consisting of 385 Wall Street Journal articles.

  • Accuracy: The proposed model ($gCRF^{PE}$) achieved a relation assignment accuracy of 58.2%, surpassing the previous state-of-the-art joint model ($jCRF$, 55.73%).
  • Efficiency: The speed improvements are transformative. A document that would take an optimal $O(n^3)$ model approximately 16 hours to parse is processed by the $gCRF$ model in roughly 40 seconds.
  • Human Parity: With human-to-human agreement on this task at 65.8%, the model's 58.2% accuracy indicates that automated discourse parsing is nearing practical utility.

Conclusion

By combining the speed of greedy parsing with the corrective power of post-editing and the sequential modeling of CRFs, this work provides a scalable solution for document-level discourse analysis. While the model still faces challenges with rare, abstract relations (e.g., "Topic-Change"), it establishes a new benchmark for efficient, high-accuracy parsing. Future research will focus on enhancing the post-editing features and incorporating semantic understanding to better handle infrequent discourse relations.

Summary updated

BibTeX
@inproceedings{feng2014linear,
  author = {Vanessa Wei Feng and Graeme Hirst},
  title = {{A Linear-Time Bottom-Up Discourse Parser with Constraints and Post-Editing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2014},
  doi = {10.3115/v1/p14-1048},
}
Figure