Learning Causal Bayesian Networks from Text

Farhad Moghimifar, Afshin Rahimi, Mahsa Baktashmotlagh, Xue Li

Abstract

Traditional Natural Language Processing (NLP) often focuses on identifying shallow, sentence-level causal events. This paper introduces a novel framework for extracting high-level "conceptual" causal relationships from large-scale text corpora. By representing extracted knowledge as a Causal Bayesian Network (CBN), the system enables complex probabilistic reasoning and counterfactual analysis. Evaluated on the new PSYCAUS benchmark, the proposed Causal Relation (CR) score significantly outperforms existing heuristic and feature-based methods, achieving an accuracy of 0.694.

Introduction

Most current NLP tools for identifying causality are limited to "shallow" extraction, typically searching for specific trigger words (e.g., "caused," "resulted in") within single sentences. While effective for linking specific events like "the rain caused the flood," these methods struggle to connect broader concepts discussed across disparate sections of a document or across multiple documents. Furthermore, existing methods rarely organize extracted information into a format suitable for computational reasoning.

This research addresses two primary gaps: the conceptual gap, moving from specific event extraction to high-level concept extraction, and the reasoning gap, transitioning from simple lists of "A causes B" statements to structured Causal Bayesian Networks that support "what-if" queries.

Methodology

The authors propose a three-stage pipeline to transform raw text into a reasoning engine:

  1. Linguistic Variable Extraction: Instead of treating words as simple strings, the system identifies "linguistic variables" (e.g., "Age" with values like "young" or "old"). Using Formal Concept Analysis (FCA), a hierarchy of these concepts is constructed. This allows for "causal inheritance," where a model can infer that a sub-concept (e.g., "delusional disorder") inherits causal properties from its parent concept (e.g., "disorder").
  2. Causal Relation (CR) Scoring: Potential links are identified using dependency parsing and a database of causal markers from the Penn Discourse Tree Bank and AltLexes. The system calculates a Causal Relation (CR) score that balances the frequency of these links against the semantic similarity of the terms involved.
  3. CBN Construction: To facilitate probabilistic modeling, Normalized Pointwise Mutual Information (PMI) is used to generate Conditional Probability Tables (CPTs). This quantifies the likelihood of an effect given a cause based on corpus co-occurrence.

Evaluation and Results

The model was evaluated using the Wikipedia Psychology Corpus (3.7 million sentences) and a new benchmark dataset, PSYCAUS, consisting of 300 expert-annotated relationships.

Performance Comparison

The proposed CR method achieved an accuracy of 0.694, representing a substantial improvement over baseline heuristic methods (20%), distribution-based methods (17%), and state-of-the-art feature-based methods (13%).

Comparison of the CR method against various baselines and state-of-the-art features.

Threshold Sensitivity and Robustness

The model demonstrated significant robustness, maintaining high performance even when causes and effects were separated by large distances in the text—a scenario where traditional syntactic methods typically fail. Analysis of the CR score threshold ($\mu$) revealed that a low threshold ($\mu = 0.05$) yielded the optimal F1 score of 0.66. This suggests that even relatively infrequent causal mentions in a large corpus can provide meaningful signal for the network.

Macro-averaged F1 score of the CR method across different threshold values ($\mu$) compared to the majority class baseline.

Discussion and Future Work

A key innovation of this approach is the use of hierarchy as a "force multiplier," allowing the model to identify causal relations between concepts never explicitly mentioned together. Furthermore, the method identifies bi-directional relationships (e.g., the feedback loop between "eating disorders" and "emotional distress"), although representing these within the Directed Acyclic Graph (DAG) structure of standard CBNs remains a mathematical challenge.

By moving from simple information retrieval to counterfactual reasoning, this work represents a significant step toward AI systems capable of simulating outcomes and supporting complex decision-making in specialized domains like psychology. Future work will explore the integration of this structured causal knowledge into automated question-answering systems.

Summary updated

BibTeX
@inproceedings{moghimifar2020learning,
  author = {Farhad Moghimifar and Afshin Rahimi and Mahsa Baktashmotlagh and Xue Li},
  title = {{Learning Causal Bayesian Networks from Text}},
  booktitle = {ALTA},
  year = {2020},
}
Figure