Transformers Can Distinguish Causation From Correlation

Estimating how interventions affect a target outcome from observational data is central to sci-entific research, economics, and decision-making. Reconstructing a complete causal graph canbe computationally demanding, while many applications require only the effects of selected in-terventions on a specified outcome. We introduce DoKernel, a transformer-based in-context es-timator for causal effect estimation under continuous interventions. The model predicts full out-come distributions from observational data without explicitly reconstructing the causal graph.Training uses only synthetic structural causal models. The prior combines identifiable additive-noise models with restricted confounders-with-additive-noise models. We investigate whetherthis training enables the estimator to distinguish causal influence from associations induced bylatent common causes, while supporting abstention on queries judged ambiguous under the as-sumed model class. Our theoretical analysis establishes a quantitative bound that relates theintervention-density prediction error to errors in detecting causal influence, subject to a mini-mum effect-separation condition. This provides a behavioral guaranty without requiring explicitrecovery of structural mechanisms or exogenous noise. Evaluation covers bi-variate and multi-variate systems of increasing size and held-out real-world datasets with known causal structure.In the evaluated real-world tasks, Do-Kernel outperforms the tested classical discovery baselinesin causal-influence detection and graph-informed estimators in effect prediction. The model re-ceives no causal graph at inference and requires no fine-tuning. These results provide empiricalevidence of transfer beyond the synthetic training distribution.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24571490
Primary Topic
Advanced Causal Inference Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Transformers Can Distinguish Causation From Correlation

Ahmed Moneim
Zenodo (CERN European Organization for Nuclear Research)
Advanced Causal Inference Techniques
preprint

Transformers Can Distinguish Causation From Correlation

Ahmed Moneim
preprint en

Abstract

Estimating how interventions affect a target outcome from observational data is central to sci-entific research, economics, and decision-making. Reconstructing a complete causal graph canbe computationally demanding, while many applications require only the effects of selected in-terventions on a specified outcome. We introduce DoKernel, a transformer-based in-context es-timator for causal effect estimation under continuous interventions. The model predicts full out-come distributions from observational data without explicitly reconstructing the causal graph.Training uses only synthetic structural causal models. The prior combines identifiable additive-noise models with restricted confounders-with-additive-noise models. We investigate whetherthis training enables the estimator to distinguish causal influence from associations induced bylatent common causes, while supporting abstention on queries judged ambiguous under the as-sumed model class. Our theoretical analysis establishes a quantitative bound that relates theintervention-density prediction error to errors in detecting causal influence, subject to a mini-mum effect-separation condition. This provides a behavioral guaranty without requiring explicitrecovery of structural mechanisms or exogenous noise. Evaluation covers bi-variate and multi-variate systems of increasing size and held-out real-world datasets with known causal structure.In the evaluated real-world tasks, Do-Kernel outperforms the tested classical discovery baselinesin causal-influence detection and graph-informed estimators in effect prediction. The model re-ceives no causal graph at inference and requires no fine-tuning. These results provide empiricalevidence of transfer beyond the synthetic training distribution.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Causal Inference Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Transformers Can Distinguish Causation From Correlation — Ahmed Moneim · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS