Exploratory analysis of time series data is essential for understanding complex dynamical systems. While Granger Causality (GC) is a staple framework for analyzing interactions in sequential data across various domains, modern deep learning approaches to GC often sacrifice interpretability for predictive power.
This paper introduces Generalised Vector Autoregression (GVAR), a novel framework that uses "self-explaining" neural networks to infer Granger causality in nonlinear systems. Unlike previous "black-box" models, GVAR not only identifies which variables influence each other but also reveals the sign (positive or negative) and timing of those influences, making it a powerful tool for exploratory data analysis.
The Transparency Gap in Time-Series Analysis
Granger Causality is used to determine if one variable's past values help predict another's future. Classic linear models are easy to interpret but fail to capture the complex, nonlinear dynamics of the real world.
Recent deep learning approaches have successfully tackled these nonlinearities, but they come with a "transparency tax." These models can tell you that variable A influences variable B, but they cannot easily tell you how. Is the effect positive (promotion) or negative (inhibition)? Does the influence change over time? In fields like genetics, ecology, or economics, knowing the "sign" of the interaction is often just as important as knowing it exists.
The GVAR Framework
The authors propose the GVAR model, an extension of Self-Explaining Neural Networks (SENN) tailored for time-series data.
- Locally Linear Architecture: Instead of a standard neural network, GVAR uses a structure resembling a classic Vector Autoregression (VAR) model: $x_t \approx \sum \Psi(x_{t-k})x_{t-k}$. However, the "coefficients" ($\Psi$) are the outputs of a neural network. This makes the model locally linear—at any given moment, the neural network provides a matrix of coefficients that can be read just like a traditional statistical model.
- Smoothing and Sparsity: To ensure these coefficients are interpretable, the authors add a smoothing penalty to the loss function. This forces the model's "explanations" to change gradually over time rather than jumping erratically. They also use sparsity-inducing penalties (like Elastic Net) to ensure the model only identifies the most important causal links.
- Stability-Based Thresholding: To separate real causal signals from noise, the authors use a heuristic based on time-reversed Granger causality. They train the model on both the original data and the data played backward. A causal relationship is only considered "significant" if it shows a high level of stability and agreement across these different views, mitigating spurious associations.
Key Results and Insights
The framework was evaluated on several synthetic datasets designed to mimic real-world complexity, including the Lorenz 96 model (atmospheric dynamics), simulated fMRI (brain connectivity), and a multi-species Lotka-Volterra (predator-prey) model.
Interpretability Without a Performance Hit
GVAR performs on par with state-of-the-art "black-box" models (like cMLP or TCDF) in terms of raw accuracy, proving that we can have transparent models without sacrificing predictive power. On the Lorenz 96 benchmark, GVAR achieved a Balanced Accuracy (BA) of 0.982 ($F=10$), outperforming all baselines including cMLP and eSRU.
The Importance of the "Sign"
Most existing deep learning models for GC only look at the magnitude of weights. GVAR’s generalized coefficients allow researchers to see if an interaction is inhibitory or promotional. This capability truly shined in the Lotka-Volterra dataset.
In a predator-prey system, prey naturally have a positive effect on predators (food source), while predators have a negative effect on prey (consumption). GVAR successfully captured these dynamics, achieving a BA for positive effects of 0.932 and negative effects of 0.999. In contrast, most baseline neural networks failed to consistently identify the correct signs of interactions.
Limitations and Future Work
While GVAR represents a significant step forward for interpretable time-series analysis, the authors identify a few areas for improvement:
- Memory Complexity: Because GVAR trains a Multi-Layer Perceptron (MLP) that outputs a $p \times p$ matrix (where $p$ is the number of variables), the number of parameters grows quadratically. This could make it difficult to scale to very high-dimensional systems, such as thousands of genes.
- Trivial Solutions: The stability-based thresholding assumes the true causal structure isn't "trivial" (e.g., a system where variables only affect themselves).
Future directions include exploring more complex "link functions," testing the model on more diverse real-world datasets, and tackling systems where the causal structure itself fundamentally changes over time. Overall, GVAR proves to be a highly viable and interpretable alternative to sparse-input neural networks for inferring Granger causality.
Summary updated