Abstract
Discourse parsing, the task of identifying the hierarchical structure of a document, has traditionally faced a trade-off between the accuracy of high-order $O(n^3)$ models and the speed of linear-time $O(n)$ models. We introduce CIDER (Contextually Informed Discourse ParsER), a model that bridges this gap. CIDER utilizes bidirectional LSTMs with "LSTM-minus" features to generate context-aware span representations and a recursive neural network to capture structural dependencies. By employing a sliding-window Conditional Random Field (CRF), the parser maintains linear-time complexity while achieving state-of-the-art results on the RST Discourse Treebank. Our results demonstrate that CIDER outperforms existing linear-time models and rivals computationally expensive high-order parsers in both speed and accuracy.
Introduction
In Natural Language Processing, discourse parsing involves uncovering the hidden logical structure of a document. Using Rhetorical Structure Theory (RST), parsers construct a tree where leaves are Elementary Discourse Units (EDUs) and branches represent relationships such as Contrast, Cause, or Elaboration.
Historically, researchers faced a "speed vs. accuracy" trade-off. High-order parsers using CKY-style algorithms are accurate but slow ($O(n^3)$), making them impractical for long documents. Conversely, existing linear-time parsers ($O(n)$) often rely on local features, missing broader document context and long-distance dependencies. CIDER aims to provide the best of both worlds: the efficiency of a linear model with the contextual depth of a high-order one.
Methodology
CIDER's architecture is built on three key technical innovations:
- Contextual Encoding via LSTM-Minus: To represent text spans efficiently, the model uses a bidirectional LSTM. Instead of re-encoding every possible span, it employs "LSTM-minus" features—subtracting the hidden state at the start of a span from the state at the end—to provide a fixed-length vector capturing the span's context.
- Hybrid Representations: The model combines a flat sequential representation (from the LSTM) with a structural representation (from a Recursive Neural Network). The Recursive NN builds representations of parent nodes based on their children, capturing the specific "rhetorical grammar" of nested ideas.
- Sliding-Window CRFs: To maintain linear complexity, CIDER avoids global optimization. Instead, it uses Conditional Random Fields (CRFs) with a sliding window. The model makes local decisions about linking units based on a neighborhood of surrounding context, keeping computation time tied directly to the number of units.
Results and Discussion
The model was evaluated on the RST Discourse Treebank (RST-DT) benchmark. CIDER achieved a Relation classification F1 score of 59.0, outperforming previous linear-time models and even some cubic-time neural models.
In terms of efficiency, CIDER processed the test set in approximately 3.8 seconds, whereas a comparable cubic-time neural parser required 26 seconds. This demonstrates that a greedy, linear-time approach can match or exceed the performance of complex models if the underlying feature representations are sufficiently powerful and contextually informed.
Conclusion
CIDER demonstrates that linear-time discourse parsing can be highly accurate when supported by contextually informed representations. By leveraging the strengths of both sequential and recursive neural architectures within a windowed CRF framework, CIDER offers a scalable solution for document-level NLP. Future work will focus on mitigating greedy error propagation and exploring the use of unlabeled data to further enhance discourse representation learning.
Summary updated