Adaptive Prompt Learning with Distilled Connective Knowledge for Implicit Discourse Relation Recognition

Bang Wang, Zhenglin Wang, Wei Xiang, Yijun MoarXiv 2023

TL;DR

AdaptPrompt is a novel framework that advances Implicit Discourse Relation Recognition (IDRR) by replacing brittle, manually designed prompts with learnable "soft" templates and virtual answer tokens. By distilling knowledge from a teacher model that has access to hidden connectives during training, it achieves new state-of-the-art results on the PDTB 3.0 dataset.

What Problem Does This Paper Address?

In natural language, discourse relations (like Contrast, Cause, or Temporal) are often signaled by connectives: "I went outside because it was sunny." However, in Implicit Discourse Relation Recognition (IDRR), these connectives are missing: "I went outside. It was sunny." Humans easily infer the causal link, but it remains a major challenge for AI.

Recent breakthroughs have used "prompt learning," where a Pre-trained Language Model (PLM) is asked to fill in a blank (e.g., "Arg1 [MASK] Arg2"). If the model predicts "because," we infer a Contingency relation. However, this approach has two major flaws:

  1. Manual Bottlenecks: Designing the perfect "template" (the sentence structure) and "answer space" (which words map to which relations) is labor-intensive and highly sensitive—changing one word in a prompt can tank performance.
  2. Underutilized Data: Training sets often contain "gold" connectives annotated by humans, but these are absent at test time. Most models fail to fully exploit this "cheat sheet" during training.

Methods

The authors propose AdaptPrompt, which introduces three key innovations to move beyond manual prompt engineering:

  • Continuous Prompt Templates (CPT): Instead of using human-readable strings, AdaptPrompt uses "soft" templates consisting of learnable virtual vectors. These vectors are optimized via gradient descent to find the mathematically ideal prompt in the embedding space, bypassing the need for manual trial-and-error.
  • Virtual Answer Space (VAS): Rather than mapping relations to real English words (which might have distracting secondary meanings), the authors create 21 "virtual answer words." These are initialized by averaging the embeddings of real connectives associated with specific discourse relations (see Figure 4).
  • Connective Knowledge Distillation (CKD): This is the "secret sauce." The authors use a teacher-student architecture. During training, the Teacher Model is given the actual implicit connective (e.g., "but"). The Student Model only sees the [MASK] token. Through distillation, the student learns to mimic the teacher's internal representations and output probabilities, effectively "learning" the connective knowledge without needing the connective at test time.

![Fig.

  1. Illustration of virtual answer initialization algorithm](/figures/art_8c6e7abc33294365b0de961e1ed9552b)

The framework combines both response-based distillation (mimicking the final output) and feature-based distillation (mimicking the hidden layers), as shown in the overall architecture:

The overall framework of AdaptPrompt

Datasets

The model was evaluated on the PDTB 3.0 (Penn Discourse TreeBank), the most recent and comprehensive version of the gold-standard discourse corpus. The experiments focused on the four top-level relations: Comparison, Contingency, Expansion, and Temporal.

Key Insights and Ideas

  • Soft Prompts > Hard Prompts: The move from discrete text to continuous vectors allows the model to "discover" prompts that elicit the best knowledge from the PLM, even if those prompts aren't human-readable.
  • Granularity Matters: The authors found that mapping virtual answers to "third-level" (fine-grained) relations worked better than mapping directly to the four top-level categories. This suggests that the model benefits from learning the nuances of specific connectives before aggregating them into broader categories.
  • The Temperature Sweet Spot: In distillation, the "temperature" parameter $T$ controls how much the student focuses on the teacher's secondary predictions. The authors found that a $T$ around 20 was optimal; too high, and the signal becomes noisy; too low, and the student ignores useful negative correlations (see Figure 6).
The performance of different temperature of Response-based Knowledge Distillation

Key Results

AdaptPrompt consistently outperformed previous state-of-the-art models (like ConnPrompt) across three different backbone architectures: BERT, RoBERTa, and DeBERTa.

  • Top Performance: Using RoBERTa-base, AdaptPrompt achieved an Accuracy of 76.12% and an F1-score of 71.79% on PDTB 3.0.
  • Consistency: The model showed significant gains over the previous SOTA (ConnPrompt), which relied on discrete templates. For example, on DeBERTa, accuracy improved from 72.66% to 74.56%.
  • Ablation Success: Removing any single component (the soft templates, the virtual answers, or the distillation) led to a drop in performance, proving that the multi-pronged approach is necessary for success.

Limitations and Future Work

  • Mapping Rule Design: While the model automates prompt design, the "answer-relation mapping rule" still requires some manual setup based on the dataset's hierarchy.
  • Computational Overhead: Training a teacher-student architecture is more computationally expensive than standard fine-tuning, though the inference time (testing) remains the same.
  • Future Directions: The authors suggest exploring more automated ways to generate the answer space and applying these continuous prompt techniques to other low-resource NLP tasks where manual prompting is difficult.

Summary updated

BibTeX
@misc{wang2023adaptive,
  author = {Bang Wang and Zhenglin Wang and Wei Xiang and Yijun Mo},
  title = {{Adaptive Prompt Learning with Distilled Connective Knowledge for Implicit Discourse Relation Recognition}},
  year = {2023},
  eprint = {2309.07561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.07561},
}
Figure