TEPrompt: Task Enlightenment Prompt Learning for Implicit Discourse Relation Recognition

Wei Xiang, Chao Liang, Bang WangACL 2023

Abstract

Implicit Discourse Relation Recognition (IDRR) is a challenging task in natural language processing because logical links between text segments are not explicitly stated. We present TEPrompt, a novel framework that utilizes "Task Enlightenment" to improve IDRR. By jointly training a primary relation recognition task with two auxiliary tasks—semantic sense classification and connective prediction—and fusing their internal representations, TEPrompt effectively leverages the latent knowledge within pre-trained language models. Our approach achieves new state-of-the-art results on the PDTB 3.0 corpus.

Introduction

In natural language, sentences are often connected by implicit logic. For instance, in the sequence "He worked all night yesterday. He slept all day today," a human reader easily infers a "Contingency" relation (as if the word "so" were present). Identifying these hidden links is the core objective of Implicit Discourse Relation Recognition (IDRR).

Traditional methods struggle with IDRR due to the lack of explicit anchor words. While recent prompt-learning techniques have attempted to frame IDRR as a cloze task, they often rely on simple ensemble methods like majority voting, which do not fundamentally improve the model's underlying feature representations. TEPrompt addresses this by introducing auxiliary tasks that provide "enlightenment" to the main model during training through a neural fusion mechanism.

Methodology: Task Enlightenment

The core of TEPrompt is the simultaneous execution of three distinct tasks designed to capture different levels of discourse information:

  1. Discourse Relation Recognition (DRR): The primary task where the model predicts a representative connective (e.g., "because") to determine the discourse relation.
  2. Sense Semantics Classification (SSC): An auxiliary task focusing on high-level semantic categories such as Comparison or Temporal.
  3. Annotated Connective Prediction (ACP): A granular auxiliary task where the model predicts the specific connective originally provided by human annotators (out of 174 possibilities).
The TEPrompt architecture featuring the MLM head, fusion gate, and multi-task prompt templates.

The Fusion Gate Mechanism

Unlike standard multi-task learning that simply shares a backbone, TEPrompt utilizes a fusion gate. This mechanism takes the hidden states ($h_{[CLS]}$ and $h_{[MASK]}$) from the auxiliary SSC and ACP tasks and injects them into the main DRR task's prediction path. This ensures that the specific linguistic nuances learned from predicting connectives directly inform the broader relation classification, effectively "enlightening" the main task with auxiliary knowledge.

Experimental Results

We evaluated TEPrompt on the Penn Discourse TreeBank (PDTB) 3.0, focusing on the four top-level relation senses: Comparison, Contingency, Expansion, and Temporal.

Performance and Ablation Study

TEPrompt achieved significant improvements over previous state-of-the-art models. Using a RoBERTa-large backbone, the model reached an accuracy of 75.51% and a Macro F1-score of 72.26%, outperforming the previous leader, ConnPrompt, by a significant margin of 1.38% in F1-score.

Ablation study on RoBERTa showing the incremental performance gains from adding ACP and SSC tasks.

As shown in the ablation study, the inclusion of auxiliary tasks consistently improves both Accuracy and F1-score. The "Full" TEPrompt (DRR+SSC+ACP) provides the most robust performance, demonstrating that multi-level enlightenment is superior to single-task learning. Case studies further revealed that adding these tasks allowed the model to correctly identify logical flows with much higher confidence, often shifting a correct prediction's probability from 10% to 75%.

Conclusion

TEPrompt demonstrates that framing IDRR as a multi-task prompt-learning problem is highly effective. By enlightening the model with semantic and connective-level information through a fusion gate, the framework better taps into the pre-trained knowledge of language models. While the approach currently relies on specific dataset annotations, future work will explore the generalizability of this task enlightenment paradigm to other complex NLP challenges.

Summary updated

BibTeX
@inproceedings{xiang2023teprompt,
  author = {Wei Xiang and Chao Liang and Bang Wang},
  title = {{TEPrompt: Task Enlightenment Prompt Learning for Implicit Discourse Relation Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.785},
}
Figure