TC-GAT: Graph Attention Network for Temporal Causality Discovery

Xiaosong Yuan, Ke Chen, Wanli Zuo, Yijia Zhang

Abstract

Identifying causal relationships in natural language is a fundamental challenge in Natural Language Processing (NLP). While temporal order is a primary indicator of causality—as causes typically precede their effects—most existing models treat text as linear sequences, failing to capture the complex temporal and causal webs inherent in language. This paper presents TC-GAT (Temporal Causality Graph Attention Network), a novel architecture that integrates temporal reasoning and external causal knowledge through a graph-based approach. By utilizing a specialized equilibrium mechanism to balance temporal clues with contextual features, TC-GAT effectively distinguishes between mere temporal succession and true causality, achieving state-of-the-art performance on newly developed benchmarks.

Introduction

In the domain of NLP, "Causality Extraction" involves determining whether one event (the cause) led to another (the effect). Intuitively, time serves as a critical heuristic: a cause almost always occurs before its effect. However, relying solely on temporal sequence leads to the post hoc ergo propter hoc fallacy—the mistaken belief that because Event A happened before Event B, A must have caused B.

Existing models often struggle with complex scenarios where multiple events are interlinked (e.g., "The rain caused floods, which damaged houses and killed people"). To address these challenges, we propose TC-GAT, a model that treats causality as a non-linear graph rather than a simple chain, leveraging Graph Attention Networks (GATs) to model the intricate relationships between events.

Problem Statement

The development of robust causality discovery systems faces two primary hurdles:

  1. The Post Hoc Fallacy: Models must distinguish between simple temporal succession and genuine causal links. This requires a nuanced understanding of context beyond chronological order.
  2. Data Scarcity: There is a significant lack of high-quality, large-scale datasets labeled with both causal and temporal relationship tags, making it difficult to train supervised models for this specific intersection.

Methodology

TC-GAT is built upon three primary pillars designed to process text through BERT and BiLSTM layers before performing specialized graph reasoning.

T-GAT (Temporal Reasoning)

The Temporal Graph Attention Network (T-GAT) categorizes the timing between events into five distinct buckets: Before, After, Simultaneous, Include, and Be-Included. By assigning attention weights to these relationships, the model identifies which temporal clues are most relevant to a potential causal link, allowing it to reason through the chronological flow of a narrative.

C-GAT (Causal Knowledge)

The Causal Graph Attention Network (C-GAT) incorporates external causal knowledge. By leveraging an external causal knowledge graph to construct an adjacency matrix, the model gains access to established causal patterns between entities and events that may not be explicitly stated in the immediate text.

The Equilibrium Mechanism

The most significant innovation of TC-GAT is the Equilibrium Mechanism. This learnable gate acts as a balancing force between temporal information and standard contextual features derived from BERT. It prevents the model from becoming over-reliant on temporal clues, ensuring that it maintains accuracy even when a temporal relationship exists without a corresponding causal one.

Datasets

To address the lack of labeled data, the authors created two new benchmarks by manually annotating existing corpora with temporal labels:

  • TC-SemEval2010-task8: An augmented version of the classic relation extraction dataset, containing 3,125 annotated instances.
  • TC-Altlex: Derived from the Altlex corpus, this dataset includes 1,155 instances with dual causal and temporal labels.

Results and Discussion

TC-GAT significantly outperforms traditional baselines, including standard LSTMs, BERT-CRF, and general Graph Convolutional Networks (C-GCN).

  • Performance Metrics: The model achieved Macro-F1 scores of 89.97% on the TC-SemEval dataset and 90.97% on the TC-Altlex dataset.
  • Comparative Advantage: TC-GAT outperformed the next-best model (C-GCN) by approximately 10-14 percentage points. This gap demonstrates that specialized temporal reasoning provides a substantial boost over general graph-based approaches.

Ablation studies confirmed that the Equilibrium Mechanism is vital; without it, the model's performance fluctuates significantly, proving that time must be treated as a weighted hint rather than a rigid rule.

Conclusion and Future Work

TC-GAT represents a major advancement in giving NLP models a "sense of time" for causality discovery. By modeling causality as a graph and balancing temporal flow with contextual evidence, the architecture achieves high precision in complex linguistic environments.

Future research will focus on making the system more end-to-end by integrating entity boundary prediction and exploring complementary models to infer temporal relationships in datasets where explicit labels are missing. Additionally, expanding the external knowledge graphs used by C-GAT could further improve the model's performance in specialized or niche domains.

Summary updated

BibTeX
@inproceedings{yuan2023tc,
  author = {Xiaosong Yuan and Ke Chen and Wanli Zuo and Yijia Zhang},
  title = {{TC-GAT: Graph Attention Network for Temporal Causality Discovery}},
  booktitle = {IJCNN},
  year = {2023},
  doi = {10.1109/ijcnn54540.2023.10191712},
}
Figure