Predicting Directionality in Causal Relations in Text

Pedram Hosseini, David A. Broniatowski, Mona T. DiabarXiv 2021

Abstract

In this work, we test the performance of two bidirectional transformer-based language models, BERT and SpanBERT, on predicting directionality in causal pairs in the textual content. Our preliminary results show that predicting direction for inter-sentence and implicit causal relations is more challenging. And, SpanBERT performs better than BERT on causal samples with longer span length. We also introduce CREST which is a framework for unifying a collection of scattered datasets of causal relations.

Introduction

While Natural Language Processing (NLP) has become adept at identifying if a causal relationship exists between two events, it often struggles to determine the direction of that causality—distinguishing which event is the cause and which is the effect. In the context of Natural Language Understanding (NLU), causality is a cornerstone, yet most research treats causal extraction as a binary classification problem (causal vs. non-causal).

Illustration of causal directionality between spans.

Directionality is a critical, often overlooked dimension. For example, in the sentence "The methane-producing cow that produced the milk," a model must distinguish that the "cow" (cause) produced the "milk" (effect), and not vice versa. Failure to identify this flow indicates a lack of true textual understanding. This research addresses the lack of a unified format for causal data and the specific challenge of training models to identify the "cause-effect" vs. "effect-cause" flow in diverse contexts.

Methods

The study evaluates two transformer-based models: BERT and SpanBERT. To ensure the models learn linguistic context rather than simple positional heuristics, a specific preprocessing pipeline was developed.

Preprocessing pipeline using generic markers for direction-blind training.

The pipeline involves:

  1. Span Masking: Identifying two spans (Span1 and Span2) within the text.
  2. Generic Markers: Wrapping these spans in special [unused*] tokens from the BERT vocabulary. These markers are identical regardless of whether the span is a cause or an effect, forcing the model to rely on surrounding context.
  3. Direction-Blind Training: Framing the task as a binary classification between Span1 → Span2 and Span2 → Span1.

Additionally, the authors introduce CREST (Causal Relation Schema), a framework designed to unify disparate causal datasets—such as PDTB3, EventStoryLine (ESL), Semeval, and COPA—into a single machine-readable format.

Results

Models were evaluated on the Penn Discourse Treebank 3.0 (PDTB3) and EventStoryLine (ESL) v1.5 datasets using F1-scores.

Dataset Model F1 Score
PDTB3 BERT 0.83
SpanBERT 0.86
ESL BERT 0.79
SpanBERT 0.71

SpanBERT demonstrated a clear advantage on PDTB3, likely due to its pre-training focus on representing text spans, which is beneficial for the longer, complex spans in that dataset. Conversely, standard BERT performed better on the shorter spans of ESL, potentially because the smaller training set size hindered SpanBERT's convergence.

Discussion and Conclusion

The experiments reveal that models perform significantly better when explicit causal markers (e.g., "because") are present. Performance drops for implicit causality and inter-sentence relations, where the cause and effect reside in different sentences. These scenarios require a higher level of discourse integration that remains challenging for current architectures.

Future work will explore enhancing span boundary representation through encoding vectors and expanding the CREST framework to include counterfactual relations. Addressing the "distance problem" between cause and effect spans remains a priority for improving causal understanding in NLU.

Summary updated

BibTeX
@misc{hosseini2021predicting,
  author = {Pedram Hosseini and David A. Broniatowski and Mona T. Diab},
  title = {{Predicting Directionality in Causal Relations in Text}},
  year = {2021},
  eprint = {2103.13606},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13606},
}
Figure