SWIM: A Simple Word Interaction Model for Implicit Discourse Relation Recognition

Wenqiang Lei, Xuancong Wang, Meichun Liu, Ilija Ilievski, Xiangnan He, Min-Yen Kan

Abstract

Implicit discourse relation recognition (IDRR) involves inferring the semantic relationship between text spans without explicit connectives. Traditional approaches leverage complex Bi-directional Long Short-Term Memory (BiLSTM) networks to capture sequential information. However, these models are often computationally expensive and prone to overfitting on small datasets. This paper proposes SWIM (Simple Word Interaction Model), a lightweight architecture that replaces recurrent layers with a word-weighted averaging mechanism. SWIM achieves state-of-the-art performance on the PDTB 2.0 corpus while being 7x faster to train and using an order of magnitude fewer parameters than leading BiLSTM-based models.

Introduction

In natural language, discourse relations (e.g., "Comparison," "Contingency") link sentences to form coherent text. While explicit relations are signaled by connectives like "because" or "but," implicit relations must be inferred from context. Recognizing these is a core challenge in NLP. Previous research suggests that specific word pairs (e.g., "up" vs. "down") are more indicative of discourse relations than the exact sequential order of words. Despite this, dominant models rely on BiLSTMs, which are designed for sequence modeling. SWIM challenges this paradigm by focusing purely on content interactions.

Methodology

The SWIM architecture is designed for efficiency and semantic focus. It consists of three primary stages:

  1. Word Interaction Scoring: For every pair of words across two arguments, the model calculates an interaction score. This score incorporates both linear and quadratic relationships between word embeddings to capture fine-grained semantic clues (e.g., how "fortunate" relates to "hurricane").
  2. Weighted Argument Representation: Unlike recurrent models, SWIM represents each argument as a weighted average of its word embeddings. The weight of each word is dynamically determined by its interaction scores with the entire opposing argument, effectively "contextualizing" the word based on its relevance to the discourse relation.
  3. Classification: The resulting argument representations are concatenated and passed through a simple multi-layer perceptron (MLP) for final relation prediction.
Comparison of model architectures: (a) SWIM, (b) GRN, and (c) BiLSTM + SWIM.

By removing the recurrent structure, SWIM avoids the overhead of sequential processing and focuses on the most informative lexical interactions.

Experimental Results

The model was evaluated on the Penn Discourse Treebank (PDTB 2.0) for 4-way classification (Comparison, Contingency, Expansion, Temporal).

Performance and Efficiency

SWIM achieved a macro $F_1$ score of 46.46%, matching or exceeding the performance of significantly more complex models like the Gated Relevance Network (GRN). Notably, SWIM is 7 times faster to train than GRN and utilizes only ~30k parameters, compared to ~400k in GRN. This reduction in complexity leads to greater stability across different random seeds and reduces the risk of overfitting on the relatively small PDTB dataset.

The Role of Word Order

A key insight from the study is that positional information is largely superfluous for IDRR. When word order was scrambled in the test set, BiLSTM-based models suffered significant performance drops, whereas SWIM remained stable. This confirms that lexical content and cross-argument interactions are the primary drivers of discourse recognition.

Visualization of word interaction scores for WIS and SWIM models, highlighting how SWIM focuses on key informative words.

Conclusion

SWIM demonstrates that a simple, interaction-focused model can outperform complex recurrent architectures in implicit discourse relation recognition. Its efficiency and robustness make it a compelling alternative for speed-sensitive NLP tasks. Future work will explore the model's performance on fine-grained Level-2 relations and its scalability to larger, noisier datasets.

Summary updated

BibTeX
@inproceedings{lei2017swim,
  author = {Wenqiang Lei and Xuancong Wang and Meichun Liu and Ilija Ilievski and Xiangnan He and Min-Yen Kan},
  title = {{SWIM: A Simple Word Interaction Model for Implicit Discourse Relation Recognition}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/562},
}
Figure