NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A multi-level neural network for implicit causality detection in web texts

Shining Liang, Wanli Zuo, Zhenkun Shi, Sen Wang, Junhu Wang, Xianglin Zuo

TL;DR

This paper introduces MCDN, a novel multi-level neural network designed to detect implicit causality in web texts. By combining word-level semantic understanding with segment-level causal reasoning, MCDN significantly outperforms existing methods, particularly for ambiguous and implicit causal relationships, offering a more robust approach to understanding nuanced language.

What Problem Does This Paper Address?

Understanding causality is fundamental to human cognition and crucial for many NLP tasks. While significant progress has been made in detecting explicit causal relationships, mining implicit causality from the vast and diverse landscape of web text remains a challenge. Existing methods often fall into two camps: feature engineering-based approaches that can be error-prone and lack comprehensive coverage, and neural network-based methods that, while leveraging context, struggle with deep causal inference. This paper aims to bridge this gap by developing a model that effectively combines the strengths of both, specifically addressing the complexities of implicit causality in web texts.

Methods

The proposed model, MCDN (Multi-level Causality Detection Network), tackles causality detection through a multi-level approach:

  • Input Representation: Each token's representation is a sum of its word, position, and segment embeddings. Segment embeddings are crucial here, indicating whether a token belongs to the segment before the "AltLex" (Alternative Lexicalization, a word or phrase indicating causality), the AltLex itself, or the segment after it.
  • Word Level: A Transformer Encoder is employed to capture word-level semantic features. This module uses stacked Transformer blocks with multi-head self-attention and feed-forward networks to process the input representations, aiming to capture both local context and long-distance dependencies.
  • Segment Level: A novel Self Causal Relation Network (SCRN) module is introduced for segment-level causal inference. This module first uses a three-column CNN (TC-CNN) to process the segments (BL, L, AL) into "objects." These objects, along with a bidirectional GRU's output for the entire sentence, are then used to construct object-pairs. These pairs are fed into a relational reasoning process to infer causality and its direction between segments.
  • Causality Detection: The outputs from the word-level Transformer Encoder ($h_w$) and the segment-level SCRN ($h_s$) are concatenated to form a unified representation. This is then passed through a 2-layer Feed-Forward Network (FFN) with a softmax function for the final sentence-level causality prediction.
  • Loss Function: To address the significant class imbalance in causality detection datasets, the authors employ a focal loss function, which assigns higher weights to harder-to-classify samples.

Datasets

  • AltLex Dataset: This dataset, based on parallel Wikipedia articles, is used for training and evaluating the proposed MCDN. It includes both "Training" and "Bootstrapped" versions, with the latter being augmented to increase the proportion of causal samples.
  • SemEval-2020 Task 5 (Subtask-1): This dataset is used to validate the effectiveness of MCDN on a different domain, specifically for recognizing counterfactual statements.

Key Insights and Ideas

  • Multi-level Approach is Key: The paper strongly suggests that a single level of analysis (word or segment) is insufficient for robust causality detection. Combining both word-level semantics and segment-level relational reasoning is crucial for handling implicit and ambiguous cases.
  • SCRN for Relational Reasoning: The SCRN module, inspired by Relation Networks, is a significant innovation. It explicitly models causal relationships between segments, demonstrating the power of relational reasoning for this task.
  • AltLex as a Prior Feature: Using the AltLex and its surrounding segments as a starting point simplifies the problem and helps alleviate the complexity and potential errors associated with traditional feature engineering.
  • Focal Loss for Imbalance: The use of focal loss is critical for effectively handling the severe class imbalance common in causality detection datasets, leading to better performance on minority classes.

Key Results

  • State-of-the-Art Performance on AltLex: MCDN significantly outperforms all other methods on the AltLex dataset, achieving the highest F1-scores, particularly on the bootstrapped set (82.50% F1-score).
  • Robustness: MCDN shows robust performance across both the original and bootstrapped AltLex training sets, indicating its stability.
  • Competitive on SemEval: While slightly lower than fine-tuned BERT, MCDN achieves competitive results on the SemEval dataset, demonstrating its generalization capability.
  • Efficiency: MCDN strikes a good balance between performance and computational complexity, remaining significantly faster and smaller than BERT while achieving a substantial portion of its performance. For example, it achieves 87% of BERT's performance with 4.62x fewer parameters and 13.90x faster inference.

Limitations and Future Work

  • Pre-trained Language Models: The paper acknowledges that fine-tuned pre-trained language models like BERT still outperform MCDN on some datasets (e.g., SemEval). The authors suggest combining MCDN with pre-trained language models in the future to further improve performance.
  • Downstream Tasks: The authors plan to extend their method to address related downstream tasks, such as extracting cause-effect pairs expressed without connectives or across sentences, which remains a significant challenge.
  • Dataset Distribution: The performance on SemEval was slightly lower, potentially due to differences in data distribution and the sparsity of causal samples. The authors suggest that building larger datasets with higher causal density could further improve performance.

Summary updated

BibTeX
@inproceedings{liang2022multi,
  author = {Shining Liang and Wanli Zuo and Zhenkun Shi and Sen Wang and Junhu Wang and Xianglin Zuo},
  title = {{A multi-level neural network for implicit causality detection in web texts}},
  booktitle = {Neurocomputing},
  year = {2022},
  url = {https://openreview.net/forum?id=4oJJNvZj_Ab},
}
Figure