paper-with-me

홈 › Papers

Transformer Is Inherently a Causal Learner

2026-01-09 · Xinyue Wang, Stephen Wang, Biwei Huang arxiv

We reveal that transformers trained in an autoregressive manner naturally encode time-delayed causal structures in their learned representations. When predicting future values in multivariate time series, the gradient sensitivities of transformer outputs with respect to past inputs directly recover the underlying causal graph, without any explicit causal objectives or structural constraints. We prove this connection theoretically under standard identifiability conditions and develop a practical extraction method using aggregated gradient attributions. On challenging cases such as nonlinear dynamics, long-term dependencies, and non-stationary systems, this approach greatly surpasses the performance of state-of-the-art discovery algorithms, especially as data heterogeneity increases, exhibiting scaling potential where causal accuracy improves with data volume and heterogeneity, a property traditional methods lack. This unifying view lays the groundwork for a future paradigm where causal discovery operates through the lens of foundation models, and foundation models gain interpretability and enhancement through the lens of causality.

📄 PDF Abstract BibTeX arXiv:2601.05647

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Causality for Inherently Explainable Transformers: CAT-XPLAIN

2022-06-29 · Subash Khanal, Benjamin Brodie, Xin Xing, Ai-Ling Lin 외

There have been several post-hoc explanation approaches developed to explain pre-trained black-box neural networks. However, there is still a gap in research efforts toward designing neural networks that are inherently e…

Binary Classification

TTCD:Transformer Integrated Temporal Causal Discovery from Non-Stationary Time Series Data

2026-04-27 · Omar Faruque, Sahara Ali, Xue Zheng, Jianwu Wang arxiv

The widespread availability of complex time series data in various domains such as environmental science, epidemiology, and economics demands robust causal discovery methods that can identify intricate contemporaneous an…

Change Point Detection

Causal Learner: A Toolbox for Causal Structure and Markov Blanket Learning

2021-03-11 · Zhaolong Ling, Kui Yu, Yiwen Zhang, Lin Liu 외

Causal Learner is a toolbox for learning causal structure and Markov blanket (MB) from data. It integrates functions for generating simulated Bayesian network data, a set of state-of-the-art global causal structure learn…

CaTs and DAGs: Integrating Directed Acyclic Graphs with Transformers and Fully-Connected Neural Networks for Causally Constrained Predictions

2024-10-18 · Matthew J. Vowels, Mathieu Rochat, Sina Akbari

Artificial Neural Networks (ANNs), including fully-connected networks and transformers, are highly flexible and powerful function approximators, widely applied in fields like computer vision and natural language processi…

Causal Explanations of Structural Causal Models

2021-10-05 · Matej Zečević, Devendra Singh Dhami, Constantin A. Rothkopf, Kristian Kersting

In explanatory interactive learning (XIL) the user queries the learner, then the learner explains its answer to the user and finally the loop repeats. XIL is attractive for two reasons, (1) the learner becomes better and…

BIG-bench Machine Learning