# GST-UNet: A Neural Framework for Spatiotemporal Causal Inference with Time-Varying Confounding

arXiv: https://arxiv.org/abs/2502.05295 · HTML: https://mlsanity.com/paper/2502.05295/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Builds on 20 of its 49 references that are in the map.
- First posted on arXiv 7 Feb 2025.

## Builds on (most cited first, 20 of 20)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://mlsanity.com/paper/1505.04597/) (2015)
- [Is Space-Time Attention All You Need for Video Understanding?](https://mlsanity.com/paper/2102.05095/) (2021)
- [Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting](https://mlsanity.com/paper/1506.04214/) (2015)
- [Attention U-Net: Learning Where to Look for the Pancreas](https://mlsanity.com/paper/1804.03999/) (2018)
- [Video Swin Transformer](https://mlsanity.com/paper/2106.13230/) (2021)
- [Graph WaveNet for Deep Spatial-Temporal Graph Modeling](https://mlsanity.com/paper/1906.00121/) (2019)
- [Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction](https://mlsanity.com/paper/1610.00081/) (2016)
- [Estimating Counterfactual Treatment Outcomes over Time Through Adversarially Balanced Representations](https://mlsanity.com/paper/2002.04083/) (2020)
- [Causal Transformer for Estimating Counterfactual Outcomes](https://mlsanity.com/paper/2204.07258/) (2022)
- [Continuous-Time Modeling of Counterfactual Outcomes Using Neural Controlled Differential Equations](https://mlsanity.com/paper/2206.08311/) (2022)
- [Counterfactual Predictions under Runtime Confounding](https://mlsanity.com/paper/2006.16916/) (2020)
- [Time series experiments and causal estimands: exact randomization tests and trading](https://mlsanity.com/paper/1706.07840/) (2017)
- [Model-agnostic meta-learners for estimating heterogeneous treatment effects over time](https://mlsanity.com/paper/2407.05287/) (2024)
- [Causal Inference with Spatio-temporal Data: Estimating the Effects of Airstrikes on Insurgent Violence in Iraq](https://mlsanity.com/paper/2003.13555/) (2020)
- [IGC-Net for conditional average potential outcome estimation over time](https://mlsanity.com/paper/2405.21012/) (2024)
- [Weather2vec: Representation Learning for Causal Inference with Non-Local Confounding in Air Pollution and Climate Studies](https://mlsanity.com/paper/2209.12316/) (2022)
- [Estimating Direct and Indirect Causal Effects of Spatiotemporal Interventions in Presence of Spatial Interference](https://mlsanity.com/paper/2405.08174/) (2024)
- [Estimating Heterogeneous Treatment Effects for Spatio-Temporal Causal Inference](https://mlsanity.com/paper/2412.15128/) (2024)

## Built on by (most cited first, 5 of 5)

- [Spatial Deconfounder: Interference-Aware Deconfounding for Spatial Causal Inference](https://mlsanity.com/paper/2510.08762/) (2025)
- [Causal Inference on Networks under Misspecified Exposure Mappings: A Partial Identification Framework](https://mlsanity.com/paper/2602.03459/) (2026)
- [CLAM: Causal Spatial Disaggregation to Infer Local Effects From Coarse Data](https://mlsanity.com/paper/2608.08064/) (2026)
- [Smooth Multi-Policy Causal Effect Estimation in Longitudinal Settings](https://mlsanity.com/paper/2605.14284/) (2026)
- [Spatiotemporal Proximal Causal Inference under Hidden Confounding and Interference](https://mlsanity.com/paper/2608.01352/) (2026)

## Abstract (arXiv)

Estimating causal effects from spatiotemporal observational data is essential in public health, environmental science, and policy evaluation, where randomized experiments are often infeasible. Existing approaches, however, either rely on strong structural assumptions or fail to handle key challenges such as interference, spatial confounding, temporal carryover, and time-varying confounding -- where covariates are influenced by past treatments and, in turn, affect future ones. We introduce GST-UNet (G-computation Spatio-Temporal UNet), a theoretically grounded neural framework that combines a U-Net-based spatiotemporal encoder with regression-based iterative G-computation to estimate location-specific potential outcomes under complex intervention sequences. GST-UNet explicitly adjusts for time-varying confounders and captures non-linear spatial and temporal dependencies, enabling valid causal inference from a single observed trajectory in data-scarce settings. We validate its effectiveness in synthetic experiments and in a real-world analysis of wildfire smoke exposure and respiratory hospitalizations during the 2018 California Camp Fire. Together, these results position GST-UNet as a principled and ready-to-use framework for spatiotemporal causal inference, advancing reliable estimation in policy-relevant and scientific domains.
