mlsanityData to 14 Oct 2026

Transformers with Sparse Attention for Granger Causality

arXiv 2411.13264 ↗First posted 20 Nov 2024cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Temporal causal analysis means understanding the underlying causes behind observed variables over time. Deep learning based methods such as transformers are increasingly used to capture temporal dynamics and causal relationships beyond mere correlations. Recent works suggest self-attention weights of transformers as a useful indicator of causal links. We leverage this to propose a novel modification to the self-attention module to establish causal links between the variables of multivariate time-series data with varying lag dependencies. Our Sparse Attention Transformer captures causal relationships using a two-fold approach - performing temporal attention first followed by attention between the variables across the time steps masking them individually to compute Granger Causality indices. The key novelty in our approach is the ability of the model to assert importance and pick the most significant past time instances for its prediction task against manually feeding a fixed time lag value. We demonstrate the effectiveness of our approach via extensive experimentation on several synthetic benchmark datasets. Furthermore, we compare the performance of our model with the traditional Vector Autoregression based Granger Causality method that assumes fixed lag length.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 22 references that are in the map. First posted on arXiv 20 Nov 2024.

Builds on

13 of 22 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  4. 2022Causal Transformer for Estimating Counterfactual Outcomescited by 123
  5. 2024How Transformers Learn Causal Structure with Gradient Descentcited by 118
  6. 2020CAUSE: Learning Granger Causality from Event Sequences using Attribution Methodscited by 36
  7. 2023A Survey on Causal Discovery Methods for I.I.D. and Time Series Datacited by 35
  8. 2023Causal Interpretation of Self-Attention in Pre-Trained Transformerscited by 30
  9. 2020Causal structure learning from time series: Large regression coefficients may predict causal links better in practice than small p-valuescited by 18
  10. 2019Variable-lag Granger Causality for Time Series Analysiscited by 10
  11. 2015Granger Causality in Multi-variate Time Series using a Time Ordered Restricted Vector Autoregressive Modelcited by 8
  12. 2024Learning Granger Causality from Instance-wise Self-attentive Hawkes Processescited by 7
1 more
  1. 2023Sparse Transformer with Local and Seasonal Adaptation for Multivariate Time Series Forecastingcited by 3

Built on by

Not cited yet.