Enhancing Reasoning Capabilities by Instruction Learning and Chain-of-Thoughts for Implicit Discourse Relation Recognition

Yuxiang Lu, Yu Hong, Zhipang Wang, Guodong ZhouEMNLP 2023

Abstract

Implicit Discourse Relation Recognition (IDRR) remains a challenging task in natural language processing because it requires inferring logical connections between sentences without explicit connectives. Researchers from Soochow University have introduced IICOT, a framework that redefines IDRR as a generative reasoning problem. By integrating natural language instructions, in-context examples, and a multi-stage "Chain-of-Thought" (CoT) prompt, IICOT achieves new state-of-the-art (SOTA) results across major benchmarks, including PDTB 2.0, PDTB 3.0, and CoNLL16.

Introduction: The Challenge of Implicit Relations

In discourse analysis, sentences are linked by logical relationships such as contrast, consequence, or expansion. While explicit relations are signaled by connectives like "but" or "because," implicit relations require the reader to infer the link. For example, in the pair "I forgot my umbrella. I got soaked," a human easily infers a causal "so," but machines often struggle.

Traditional approaches typically rely on encoder-only models (e.g., BERT) for classification. While large generative models are powerful, direct classification often yields sub-optimal results. This research explores how to "unleash" the latent reasoning of generative models like Flan-T5 for IDRR by structuring the task as a multi-step reasoning process.

The IICOT Framework

The proposed IICOT framework (Instruction, In-context, and Chain-of-Thought) utilizes the Flan-T5 model and consists of three primary components:

  1. Instruction Learning: The model is provided with a clear natural language prompt defining the task and the required output format.
  2. In-context Learning (ICL): High-quality few-shot examples are included in the prompt to guide the model across the four primary discourse senses: Temporal, Comparison, Contingency, and Expansion.
  3. Chain-of-Thought (CoT) Reasoning: Instead of a direct label, the model follows a structured three-step process:
  4. Step 1 (Rel): Determine if the relation is implicit or explicit.
  5. Step 2 (Conn): Predict a missing connective word.
  6. Step 3 (Label): Output the final discourse relation sense.
Comparison between standard direct output and the multi-stage Chain-of-Thought approach.

The structured output format—<Rel>-<Conn>-<Label>—forces the model to process linguistic evidence sequentially before arriving at a final classification.

The structure of the Instruction Prompt, including task instructions, in-context examples, and the input format.

Experimental Evaluation

The framework was evaluated on three gold-standard benchmarks:

  • PDTB 2.0 & 3.0: The most widely used corpora for discourse analysis.
  • CoNLL16: A dataset focused on shallow discourse parsing.

To improve training quality for the CoNLL16 dataset, the authors utilized GPT-3.5-turbo to reconstruct missing "ligatures" (connective-like words), providing the model with better ground truths for the CoT reasoning steps.

Key Insights

  • The Necessity of CoT: Direct generation often fails because it bypasses the intermediate reasoning required for abstract logical categories. The CoT process bridges this gap.
  • Denoising via Visualization: t-SNE analysis revealed that the CoT process helps the model "denoise" internal representations. By first identifying the relation type (implicit vs. explicit), the model forms clearer clusters, leading to higher accuracy.
  • Regularization Effect: Models without CoT tend to overfit quickly. The added complexity of generating a reasoning chain acts as a natural regularizer, improving generalization on unseen data.
  • Data Balancing: While explicit data can aid learning, an excess of it can introduce noise that negatively impacts implicit recognition performance.

Results

IICOT (using Flan-T5-large) established new SOTA performance:

  • PDTB 2.0: Macro-F1 of 69.23% (surpassing the previous SOTA of 67.79%).
  • PDTB 3.0: Macro-F1 of 73.06%.
  • CoNLL16: Significant improvements on both Test and Blind sets.

Ablation studies confirmed that instructions, in-context examples, and both CoT steps (Rel and Conn) are essential for these gains.

Conclusion and Future Directions

The IICOT framework demonstrates that generative models can excel at IDRR when guided by structured reasoning. Future work will explore extending this approach to other languages, optimizing prompt design, and investigating knowledge distillation to transfer these reasoning capabilities to smaller, more efficient models.

Summary updated

BibTeX
@inproceedings{lu2023enhancing,
  author = {Yuxiang Lu and Yu Hong and Zhipang Wang and Guodong Zhou},
  title = {{Enhancing Reasoning Capabilities by Instruction Learning and Chain-of-Thoughts for Implicit Discourse Relation Recognition}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.374},
}
Figure