Discourse Analysis via Questions and Answers: Parsing Dependency Structures of Questions Under Discussion

Wei-Jen Ko, Yating Wu, Cutter Dalton, Dananjay Srinivas, Greg Durrett, Junyi Jessy Li

Introduction

Understanding how sentences in a document connect to form a coherent narrative—known as discourse analysis—is a fundamental challenge in natural language processing. Traditional approaches have long relied on rigid taxonomies that require expert linguistic knowledge to apply. Researchers at UT Austin and CU Boulder have introduced a paradigm shift by developing the first-of-its-kind parser for "Questions Under Discussion" (QUD). This framework treats discourse not as a set of abstract labels, but as a series of implicit questions and answers, making the analysis more intuitive and computationally accessible.

The Limitations of Traditional Discourse Analysis

For decades, Rhetorical Structure Theory (RST) has been the dominant framework for discourse analysis. RST represents a document as a tree where leaves are text segments and internal nodes describe the relationship between them (e.g., "Evidence," "Contrast," or "Elaboration"). While powerful, RST faces a significant data bottleneck. The complexity of its taxonomy makes it difficult for non-experts to annotate, hindering the creation of large-scale datasets through crowdsourcing.

Furthermore, fixed labels can be reductive. Labeling a sentence as an "elaboration" indicates that it provides more detail, but it fails to capture the specific curiosity the sentence addresses. The QUD framework solves this by viewing every sentence as an answer to a question triggered by a previous "anchor" sentence. This approach replaces abstract labels with free-form natural language questions, providing a richer, more nuanced representation of discourse.

Comparison of QUD dependency structures (a) and traditional RST discourse trees (b).

A Two-Stage Parsing Pipeline

To automate the derivation of QUD structures, the researchers developed a two-stage pipeline consisting of anchor prediction and question generation.

1. Anchor Prediction

The first task is to identify the "anchor"—the preceding sentence that most likely prompted the question answered by the current sentence. Because documents can be extensive, the model utilizes a Longformer architecture. Longformer is specifically designed to handle long-range dependencies across thousands of tokens, allowing the model to consider a wide context when selecting the most relevant anchor.

2. Question Generation

Once the anchor is identified, the model generates a free-form question using a fine-tuned GPT-2 model. To ensure high-quality output, the system employs several sophisticated techniques:

  • BERT-based Reranking: The model generates multiple candidate questions, and a BERT-based reranker selects the most plausible one.
  • NER Masking: A common pitfall in question generation is "foreseeing," where the model includes specific details in the question that only appear in the answer. To prevent this, the researchers temporarily replace Named Entities (e.g., "California") with their general types (e.g., "LOCATION") during the generation process.
The two-stage pipeline for QUD parsing.

Key Insights and Experimental Results

The researchers evaluated their parser using the DCQA dataset, which contains over 22,000 crowdsourced question-answer pairs. The results demonstrate the viability of the QUD approach:

  • Human Approval: In a rigorous evaluation, 71.5% of the generated questions were rated as "good" by human judges. Furthermore, for these high-quality questions, the target sentence was found to successfully answer the question 78.8% of the time.
  • Anchor Accuracy: The model achieved an anchor prediction agreement of 46.8% with human annotators, a performance level comparable to the agreement between two human annotators on the same task.
  • Structural Nuance: Comparison with RST trees revealed that QUD structures tend to be deeper and feature longer "arcs," suggesting they capture long-range thematic threads that hierarchical models might miss.

Conclusion and Future Directions

By leveraging natural language as an interface for discourse analysis, this work aligns the field with the strengths of modern Large Language Models. While the current model is limited to single-sentence answers and does not yet account for "question stacks" (nested sub-questions), it represents a significant step toward more accessible and detailed document understanding. Future work will focus on modeling these complex hierarchies and expanding the parser's capabilities to handle multi-sentence answers, further bridging the gap between computational linguistics and human intuition.

Summary updated

BibTeX
@inproceedings{ko2023discourse,
  author = {Wei-Jen Ko and Yating Wu and Cutter Dalton and Dananjay Srinivas and Greg Durrett and Junyi Jessy Li},
  title = {{Discourse Analysis via Questions and Answers: Parsing Dependency Structures of Questions Under Discussion}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  url = {https://openreview.net/forum?id=pxmEMw9WBu},
}
Figure