The Role of Context and Uncertainty in Shallow Discourse Parsing

Katherine Atwell, Remi Choi, Junyi Jessy Li, Malihe AlikhaniCOLING 2022

Abstract

Discourse parsing—identifying the logical relationships between text spans—is a fundamental yet difficult task in natural language processing. This paper demonstrates that providing models with broader context and incorporating human-derived "confidence scores" significantly improves both the accuracy and the reliability of these models. By analyzing human uncertainty, the researchers developed methods to better calibrate AI predictions, particularly for implicit relations where explicit connectives are absent.

The Challenge of Implicit Discourse Relations

In shallow discourse parsing, the objective is to identify the relationship between two spans of text, referred to as Argument 1 and Argument 2. For instance, in the sequence "It rained. I stayed home," a parser should ideally identify a Contingency.Cause relation.

The primary difficulty arises with implicit relations, where connective words like "because" or "but" are missing. While most current AI models analyze these arguments in isolation, human annotators typically benefit from the broader document context. This research explores whether providing such context improves human accuracy and if human "uncertainty" (confidence levels) can be used to train more robust machine learning models.

Overview of the discourse parsing task with context and confidence prediction.

Methodology: Integrating Context and Human Confidence

The researchers employed a dual approach involving a human study and machine learning experiments.

Human Study

Expert linguists were tasked with labeling discourse relations and providing a confidence score (1–5). They first performed this task using only the two arguments. Subsequently, they were shown the surrounding sentences (context) and asked to re-label the relations.

Modeling and Integration

Using XLNet-large as a baseline, the authors explored three methods to integrate human insights:

  • Feature Engineering: An SVM was trained to predict human correctness and confidence, which were then used as additional features for the XLNet model.
  • Sample Reweighting: Training examples with low predicted human confidence were upsampled to focus the model on ambiguous cases.
  • Temperature Scaling for Calibration: The model's "temperature" was adjusted based on predicted human confidence. For cases where humans were likely to be certain, the model was encouraged to produce "sharper," more confident probability distributions.

The Impact of Context on Human Annotation

The study revealed that context is a significant "level-up" for human annotators. Providing context increased annotation accuracy by approximately 6.4% and substantially boosted confidence levels.

Distribution of annotator confidence with and without context.

Without context, humans often defaulted to generic relations like Expansion.Conjunction. With context, they were able to identify more specific relationships, such as Cause or Restatement. This was particularly true for short arguments or those containing many pronouns, where the necessary semantic clues resided entirely in the surrounding text.

Improving Model Performance and Calibration

The integration of human uncertainty as a signal proved highly effective.

  • Accuracy Boost: On the PDTB-3 dataset, incorporating predicted human confidence as a feature improved XLNet's accuracy from 63.26% to 65.18%.
  • Better Calibration: Temperature scaling significantly improved the Brier Score, which measures how well a model's predicted probabilities align with actual outcomes. For PDTB-2, the score improved from 0.6781 to 0.6075 (lower is better).

These results suggest that the most effective models are those that "understand" the inherent difficulty of a task as perceived by humans.

Conclusion and Future Work

While the study demonstrates the value of context and uncertainty, it also highlights challenges. The human study was relatively small (498 samples), and in some instances, context introduced "noise" that confused annotators. Future research will focus on "decontextualization"—identifying the specific parts of the surrounding text that are truly helpful versus those that are distracting. Nonetheless, this work provides a clear path toward more reliable and well-calibrated discourse parsing models.

Summary updated

BibTeX
@inproceedings{atwell2022role,
  author = {Katherine Atwell and Remi Choi and Junyi Jessy Li and Malihe Alikhani},
  title = {{The Role of Context and Uncertainty in Shallow Discourse Parsing}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=1VCDBsCwAwi},
}
Figure