WED-Net: A Weather-Effect Disentanglement Network with Causal Augmentation for Urban Flow Prediction

Qian Hong, Siyuan Chang, Xiao Zhou
1/30/2026
4 citations
cs.AI
transformer-attention

Official code: HQ-LV/WED-Net (2 stars, Python, last commit 2025-11-30).

Abstract

Urban spatio-temporal prediction under extreme conditions (e.g., heavy rain) is challenging due to event rarity and dynamics. Existing data-driven approaches that incorporate weather as auxiliary input often rely on coarse-grained descriptors and lack dedicated mechanisms to capture fine-grained spatio-temporal effects.

Show full abstract

Although recent methods adopt causal techniques to improve out-of-distribution generalization, they typically overlook temporal dynamics or depend on fixed confounder stratification. To address these limitations, we propose WED-Net (Weather-Effect Disentanglement Network), a dual-branch Transformer architecture that separates intrinsic and weather-induced traffic patterns via self- and cross-attention, enhanced with memory banks and fused through adaptive gating. To further promote disentanglement, we introduce a discriminator that explicitly distinguishes weather conditions. Additionally, we design a causal data augmentation strategy that perturbs non-causal parts while preserving causal structures, enabling improved generalization under rare scenarios. Experiments on taxi-flow datasets from three cities demonstrate that WED-Net delivers robust performance under extreme weather conditions, highlighting its potential to support safer mobility, highlighting its potential to support safer mobility, disaster preparedness, and urban resilience in real-world settings. The code is publicly available at https://github.com/HQ-LV/WED-Net.

View on arXivView PDF

Code Implementations(1)

HQ-LV/WED-NetOfficial100%
20PythonNov 30, 20251 years ago

Similar Papers

Cite this paper

@article{hong2026wednet,
  title  = {WED-Net: A Weather-Effect Disentanglement Network with Causal Augmentation for Urban Flow Prediction},
  author = {Qian Hong and Siyuan Chang and Xiao Zhou},
  year   = {2026},
  eprint = {2601.22586},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.22586v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.22586.svg)](https://codeofpaper.com/paper/2601.22586)

Discussion