A Side-by-side Comparison of Transformers for Implicit Discourse Relation Classification

Bruce W. Lee, Bongseok Yang, Jason D. Lee2023 · DOI

This paper, presented at CODI 2023, provides a much-needed "reality check" for the task of implicit discourse relation classification. By systematically benchmarking seven popular Transformer models, the authors not only set a new state-of-the-art (SOTA) but also overturn some long-held assumptions about how these models "understand" the flow of a conversation.

TL;DR

Researchers conducted a comprehensive "side-by-side" comparison of seven major Transformer models on the PDTB-3 dataset, raising the state-of-the-art accuracy for implicit discourse classification to 0.671. Their findings reveal that simpler pre-training objectives (like Masked Language Modeling) actually outperform complex sentence-level objectives, and that "long-document" attention mechanisms can actually hurt performance on this specific task.

What Problem Does This Paper Address?

In NLP, discourse relation classification is the art of determining how two segments of text relate to one another. If I say, "It was raining, but I went for a walk," the word "but" makes the Contrast relation explicit. However, if I say, "It was raining. I went for a walk," the relation is implicit.

Classifying these implicit relations is notoriously difficult because the model must infer the speaker's unstated logic from subtle semantic cues. While many researchers have focused on building custom architectures for this, there hasn't been a broad, systematic search to see which off-the-shelf pre-trained language models (PLMs) actually perform best. Furthermore, previous research suggested that specific pre-training tasks like Next Sentence Prediction (NSP) were essential for this "sentence-linking" logic—a claim this paper puts to the test.

Methods

The authors performed a straightforward, rigorous fine-tuning comparison. They selected seven diverse models: RoBERTa, ALBERT, BigBird, BART, Longformer, SpanBERT, and DeBERTa.

To ensure a fair fight, they:

  • Used 12-fold cross-validation to handle label sparsity.
  • Standardized hyperparameters (learning rates of 2e-6 or 5e-6, batch size of 8).
  • Tested two input configurations:
  • Argument Spans: Only the specific text segments annotated as being part of the relation.
  • Full Sentences: The entire sentences containing those spans (providing more context but also more noise).

Datasets

The study utilized PDTB-3 (Penn Discourse Treebank 3.0), the gold standard for discourse annotation. They focused on Level-2 senses (a 14-way classification task), including relations like Contingency.Cause, Comparison.Contrast, and Expansion.Conjunction. To ensure statistical reliability, they only included senses with at least 100 instances in the dataset.

Key Insights and Ideas

  • NSP is not the "Secret Sauce": Contrary to earlier findings (e.g., Shi and Demberg, 2019b), sentence-level pre-training objectives like Next Sentence Prediction (NSP) or Sentence Order Prediction (SOP) generally failed to produce the best results. Models trained only with Masked Language Modeling (MLM)—like RoBERTa and DeBERTa—performed better.
  • Long-Document Modifications are a Drawback: Models like BigBird and Longformer use "sparse" or "block" attention to handle long texts. However, implicit discourse relations are often "dense" and rely on very specific, local textual cues. The authors found that these modified attention schemes actually decreased performance compared to standard "full attention."
  • The Simpler, The Better: The best-performing combination was the most basic: MLM + Full Attention. This suggests that for discourse, the model needs to attend to every single token to catch the subtle nuances that signal a relationship.
  • The "Real-World" Bottleneck: While models perform best when given human-annotated "argument spans," in a real-world application, those spans must be extracted by another model first. The authors demonstrate a massive "error propagation" effect: if the span extractor is only 70% accurate, the discourse classifier's performance plummets from ~67% to ~47%.

Key Results

  • New SOTA: DeBERTa-large achieved the highest accuracy at 0.671, closely followed by RoBERTa-large at 0.670.
  • The Underperformer: ALBERT-large, despite its sophisticated Sentence Order Prediction objective, performed the worst among the group with an accuracy of 0.565.
  • Span vs. Sentence: Using human-annotated spans consistently outperformed using full sentences (e.g., DeBERTa scored 0.671 on spans vs. 0.634 on full sentences), proving that extra context often acts as distracting noise for the model.

Limitations and Future Work

The authors acknowledge that their study focused on a "bird's-eye view," meaning they didn't dive deep into model-specific architectural optimizations that might squeeze out more performance.

The most significant takeaway for future work is the argument extraction gap. Since the performance of discourse classification is so dependent on having clean argument spans, the authors suggest that the community needs to focus on improving argument extractors or developing more robust end-to-end systems that can handle the noise of full sentences more effectively.

Summary updated

Abstract

Though discourse parsing can help multiple NLP fields, there has been no wide language model search done on implicit discourse relation classification. This hinders researchers from fully utilizing public-available models in discourse analysis. This work is a straightforward, fine-tuned discourse performance comparison of 7 pre-trained language models. We use PDTB-3, a popular discourse relation annotated dataset. Through our model search, we raise SOTA to 0.671 ACC and obtain novel observations. Some are contrary to what has been reported before (Shi and Demberg, 2019b), that sentence-level pre-training objectives (NSP, SBO, SOP) generally fail to produce the best-performing model for implicit discourse relation classification. Counterintuitively, similar-sized PLMs with MLM and full attention led to better performance. Our code is publicly released.
BibTeX
@misc{lee2023side,
  author = {Bruce W. Lee and Bongseok Yang and Jason D. Lee},
  title = {{A Side-by-side Comparison of Transformers for Implicit Discourse Relation Classification}},
  year = {2023},
  doi = {10.18653/v1/2023.codi-1.2},
}
Figure