Introduction
Extracting causal relationships from unstructured text is a critical task for automated decision support and risk assessment. Traditional state-of-the-art methods typically rely on supervised learning, which requires extensive human-annotated datasets—a significant barrier for niche domains or large-scale applications. This paper introduces CaKNowLI, a weakly supervised pipeline that leverages Natural Language Inference (NLI) to extract complex cause-effect relationships without the need for massive labeled corpora.
The CaKNowLI Pipeline
The proposed system, CaKNowLI, operates through a three-stage process designed to handle the linguistic complexity of real-world causality:
- Pattern Matching (PM): The pipeline utilizes approximately 200 causal patterns (e.g., "X leads to Y") converted into regular expressions to identify candidate sentences.
- Phrase Extraction: To refine the extracted causes and effects, the system employs two strategies: Noun Phrase (NP) extraction and Constituency Parsing (CP). CP is particularly effective at capturing nuanced phrases that extend beyond simple nouns.
- NLI Verification: The core innovation involves using a pre-trained NLI model as a zero-shot validator. By framing causality as an entailment problem—where the original sentence must entail a generated causal hypothesis like "X is the reason for Y"—the system filters out false positives and assigns a causality score.
Experimental Results
The researchers evaluated CaKNowLI on the BECauSE 2.0 and SemEval benchmarks. Quantitative results demonstrate that integrating NLI significantly enhances extraction precision.
As shown in the table above, on the BECauSE 2.0 dataset, adding NLI to basic pattern matching improved precision from 26.3 to 41.6. Furthermore, providing the model with full sentence context proved superior to analyzing cause-effect pairs in isolation.
Qualitative Analysis: COVID-19 Case Study
To test the system's performance on "in-the-wild" data, the authors applied CaKNowLI to a Wikipedia corpus related to the COVID-19 pandemic. Manual evaluation revealed that the combination of Pattern Matching, Phrase Extraction (CP), and NLI achieved a precision of 80.7.
The extracted pairs illustrate the system's ability to handle complex, multi-word causal links, such as the relationship between "fears of supply shortages" and "panic buying."
Conclusion and Future Work
CaKNowLI demonstrates that NLI models can effectively serve as unsupervised causal validators. While the system excels at identifying positive causal links, future work will address "negative causality" (prevention) and the refinement of one-to-many causal mappings. Integrating these extracted causal graphs into automated event forecasting remains a primary goal for future development.
Summary updated