Abstract
In this work, we formalize the problem of causal inference over graph-based relational time-series data where each node in the graph has one or more time-series associated to it. We propose causal inference models for this problem that leverage both the graph topology and time-series to accurately estimate local causal effects of nodes. Furthermore, the relational time-series causal inference models are able to estimate local effects for individual nodes by exploiting local node-centric temporal dependencies and topological/structural dependencies. We show that simpler causal models that do not consider the graph topology are recovered as special cases of the proposed relational time-series causal model. Empirically, we demonstrate the effectiveness of the causal inference models on both synthetic data with known ground-truth and a large-scale observational relational time-series data set collected from Wikipedia.
Introduction
Standard causal inference often relies on the "iid" assumption: that data points are independent and identically distributed. However, real-world data is rarely independent. Web pages are linked, social media users have friends, and physical sensors are part of a spatial grid.
When trying to estimate the effect of an intervention (like a marketing campaign or a natural disaster) on these networks, researchers usually face a dilemma:
- The Individual Approach: Model each node entirely on its own. This is often "underpowered" because a single node's time series might be too short or noisy to yield a clear signal.
- The Global (Templated) Approach: Assume every node behaves the same way and pool all data together. This "dilutes" the results because nodes far away from the event add noise to the estimate for relevant nodes.
The authors address this gap by proposing a middle ground that accounts for network heterogeneity—the idea that the causal effect of a treatment varies depending on a node's position in the network.
Relational Time-Series Causal Model
The core of the paper is a Relational Time-Series Causal Model. Instead of choosing between one node or all nodes, it uses a decay factor ($\gamma$) to weight observations based on their shortest-path distance from the target node.
- Local Pooling: The model minimizes a weighted loss function where nearby nodes contribute significantly to the parameter estimation, while distant nodes contribute exponentially less.
- The Spectrum of Models: The authors show that existing models are just edge cases of their framework. If $\gamma = 0$, you get the Individual Model. If $\gamma = 1$, you get the Global Model.
- Test of Specification: To help practitioners, they use the Durbin-Wu-Hausman test. This statistical "sanity check" determines if the local model is consistent or if it’s introducing too much bias compared to a simple individual model.
Experimental Evaluation
The authors evaluated their framework using two primary sources:
- Synthetic Graphs: They generated networks using three popular models: Erdos-Renyi (random), Watts-Strogatz (small-world), and Barabasi-Albert (scale-free). This allowed them to test against a known "ground truth" causal effect.
- Wikipedia Hyperlink Graph: A massive real-world dataset consisting of over 4.1 million pages and 72.7 million hyperlinks. They paired this with hourly page-view traffic data to analyze the impact of a 2009 earthquake in Australia.
Key Results
The local model consistently outperformed baselines, particularly in scenarios with limited data where individual models lack power and global models suffer from high bias.
- Lower Error in Small Samples: In synthetic tests, the local model consistently achieved the lowest Mean Squared Error (MSE) when the time series length was small (less than 50 observations).
- Bias Reduction: Compared to global models, the local approach significantly reduced bias by excluding irrelevant, distant nodes from the estimation process.
- Real-World Detection: On the Wikipedia dataset, the model successfully identified a causal spike in traffic for pages related to the 2009 Victoria earthquake. It showed a clear divergence between the "Earthquake" page and the "Main Page" (which acted as a control), proving the model could isolate specific causal effects in a massive, noisy network.
Conclusion
By leveraging graph topology, this relational time-series framework strikes a balance between noisy individual models and over-generalized global models. It effectively "borrows" strength from neighbors to stabilize estimates without the bias of a global average, providing a robust tool for causal inference in structured, networked data.
Summary updated