CAUSE: Learning Granger Causality from Event Sequences using Attribution Methods

Wei Zhang, Thomas Kobber Panum, Somesh Jha, Prasad Chalasani, David Page

Abstract

Determining Granger causality in multi-type event sequences is critical for understanding dynamics in domains like finance and healthcare. While traditional parametric models offer interpretability, they often lack the flexibility to capture complex non-linear dependencies such as inhibition and synergy. Conversely, Neural Point Processes (NPPs) provide high predictive accuracy but function as "black boxes." We introduce CAUSE (Causality from AttribUtions on Sequence of Events), a framework that bridges this gap by combining a semi-parametric NPP with axiomatic attribution methods. CAUSE extracts population-level causal statistics from individual event attributions, enabling the discovery of diverse causal patterns with significant computational efficiency.

Introduction

In many real-world scenarios, data arrives as a sequence of events, each characterized by a timestamp and a type. A central challenge is identifying Granger causality: whether the history of one event type improves the prediction of another. Historically, researchers have been forced to choose between interpretable but rigid parametric models (e.g., Hawkes processes) and accurate but opaque neural models.

Parametric models typically assume additive excitation, failing to account for inhibitive effects (where an event prevents another) or synergistic interactions (where multiple event types must co-occur to trigger an effect). Neural Point Processes (NPPs) overcome these limitations but lack a direct mechanism for causal explanation. CAUSE addresses this by using attribution methods to "open the black box," providing both state-of-the-art predictive performance and clear causal insights.

Methodology

The CAUSE framework consists of three primary components designed for both flexibility and interpretability.

1. Semi-Parametric Neural Point Process

The core of CAUSE is a novel decoder that models event intensity as a weighted sum of dyadic Gaussian basis functions. This structure allows the model to capture complex, time-varying patterns while remaining mathematically tractable. Specifically, it enables analytical integration of the intensity function, which is essential for both efficient training and the subsequent attribution process.

2. Axiomatic Attribution via Integrated Gradients

To extract causality, CAUSE employs Integrated Gradients (IG), an attribution method that satisfies key mathematical axioms such as completeness and linearity. By calculating how much each past event contributes to the predicted cumulative intensity of a future event, CAUSE transforms local model explanations into global causal statistics. To ensure meaningful attributions, the authors include a regularization term that encourages the model to predict zero intensity when the event history is empty, establishing a clear baseline.

3. Computational Efficiency

Calculating attributions across millions of events is typically computationally prohibitive. CAUSE introduces a "two-level batching" algorithm (intra-sequence and inter-sequence) that leverages GPU parallelism. This approach achieves a 1,000x speedup over naive implementations, making the framework scalable to large-scale industrial datasets.

Results and Discussion

The authors evaluated CAUSE against several baselines, including Hawkes-based models (HSG) and other neural approaches (RPPN), using both synthetic and real-world datasets.

Predictive and Causal Accuracy

CAUSE consistently demonstrates superior predictive power, as evidenced by lower Negative Log-Likelihood (NLL) across various dynamics, including excitation, inhibition, and synergy.

Figure 1: Comparison of Negative Log-Likelihood (NLL) across different datasets. Lower NLL indicates better predictive performance. CAUSE (red) consistently outperforms or matches baselines.

Beyond prediction, CAUSE excels at causal discovery. On synthetic datasets designed to test inhibition and synergy—scenarios where traditional models often fail—CAUSE achieved AUC scores of 0.921 and 0.991, respectively.

Figure 4: Performance comparison in terms of AUC and Kendall’s τ for causality discovery. CAUSE shows significant improvements, particularly in capturing inhibition and synergy.

Qualitative Validation

On the IPTV dataset, CAUSE identified intuitive links, such as the relationship between military/finance news and general news. In the MemeTracker (MT) dataset, it successfully pinpointed major news aggregators as central hubs of information consumption, validating the model's ability to extract meaningful real-world patterns.

Conclusion

CAUSE represents a significant advancement in modeling event sequences by reconciling predictive flexibility with causal interpretability. By leveraging attribution as a causal statistic, it uncovers complex dynamics that were previously difficult to detect. Future work may explore alternative attribution methods or more complex basis functions to further refine the framework's capabilities.

Summary updated

BibTeX
@inproceedings{zhang2020cause,
  author = {Wei Zhang and Thomas Kobber Panum and Somesh Jha and Prasad Chalasani and David Page},
  title = {{CAUSE: Learning Granger Causality from Event Sequences using Attribution Methods}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure