ExoC2T: An exogenous-driven spatio-temporal learning framework for cross-city transfer

Hailong Yu, Zhengyang Zhou, Liwen Zhang, Qihe Huang, Kuo Yang, Yudong Zhang, Yang WangNeurIPS 2026

TL;DR

Installing dense grids of traffic cameras and road sensors costs hundreds of thousands of dollars, leaving under-resourced cities unable to run modern AI traffic predictors. ExoC2T flips the script by forecasting city-wide traffic without needing real-time sensor feeds at query time—relying instead on external clues like weather, timestamps, and nearby points of interest, transferred from data-rich cities. Remarkably, this "sensor-free at prediction time" approach outperforms strong baselines that actually get to peek at recent traffic flows.

What Problem Does This Paper Address?

Imagine trying to predict traffic in a bustling city over the next twelve hours. Almost every forecasting model—including modern cross-city transfer methods and spatio-temporal foundation models—relies on the exact same crutch: recent traffic history. Look at what the cars were doing 15 minutes ago, and extrapolate forward.

The catch? Deploying just 100 traffic cameras or loop detectors costs roughly $300K to $500K, plus ongoing maintenance. Many developing or newly monitored cities simply don't have dense real-time sensor networks, meaning recent traffic flow is unavailable when you actually want to make a prediction.

Conventional flow-driven transfer vs. the exogenous-only prediction challenge

The authors tackle exogenous-driven cross-city transfer. Here, a model learns from data-rich "source" cities and adapts to a data-scarce "target" city using only a tiny offline sample of labeled target data (e.g., 24 or 72 examples). At prediction time, historical traffic flow is completely hidden. Instead, the model must infer the invisible state of traffic purely from exogenous (external) context: Points of Interest (POIs), city-level stats (like population and GDP), time of day, and weather. The core puzzle is figuring out what traffic behaviors are universal across cities versus what is local quirkiness—without overfitting to that tiny target dataset.

Methods

Inspired by how biological brains balance stability (keeping core functions intact) and plasticity (adapting to new environments), the authors build ExoC2T around two coupled components:

Figure 2: Overall framework of ExoC2T. The model predicts target-city traffic from exogenous ur- ban context without recent flow input. EXIST builds a shared exogenous mechanism representation through three coupled steps: exogenous mechanism state construction, modulation-sensitive gated fusion, and prototype-routed expert memory. SPAda then performs Stage A: Stable Source Mecha- nism Learning and Stage B: Posterior-Conditioned Adaptive Modulation.
  1. EXIST (Exogenous-Infused Spatio-Temporal Network): Think of this as the translator turning indirect urban clues into a latent traffic state.
  2. State Construction: It maps static context (POIs, macro city stats) and dynamic signals (weather, time) into a shared space. If a target city lacks an explicit road-network graph, EXIST builds a "semantic prior graph" on the fly based on urban similarities. It also splits time signals into recurring rhythms (via Fast Fourier Transform filters) and local blips.
  3. Modulation-Sensitive Gated Fusion: Combines spatial and temporal states, tweaked by city-specific adaptation signals.
  4. Prototype-Routed Expert Memory: Organizes knowledge into shared "prototype" anchors (capturing universal urban patterns, like a rainy Tuesday morning near office buildings) paired with specialized low-rank "experts" that handle local, weather-conditioned deviations.
  5. SPAda (Stability-Plasticity Adaptation): A two-stage training recipe that keeps the model from breaking when adapting to a new city.
  6. Stage A (Homeostatic Stabilization): Trains on source cities with a gradient-based regularizer so the shared prototype core works universally across diverse urban layouts.
  7. Stage B (Metaplastic Regulation): Uses the tiny target-city offline dataset to infer a probability distribution (latent posterior) representing that city's unique vibe. It aligns source and target features using adversarial gradient reversal and prototype matching, updating only the adaptive expert pathways while keeping the universal core locked down.

Datasets

The authors evaluate ExoC2T using a leave-one-city-out protocol across nine heterogeneous urban environments predicting hourly traffic over a 12-step horizon:

  • Eight full-year regions: Alameda, Contra Costa, Los Angeles, Orange, Santa Clara, San Diego, London, and New Zealand.
  • One shorter-span region: SIP (detailed in the paper's appendix).

Target adaptation is tested under ultra-scarce 24-shot and 72-shot offline label regimes.

Key Insights and Ideas

  • Context beats noisy history under data scarcity: You might assume a model seeing recent traffic would crush a model flying blind on external context alone. Yet when target-city training data is scarce, flow-driven models struggle to adapt their dynamics cleanly, whereas exogenous urban mechanics transfer surprisingly well.
  • Built-in immunity to sensor blackouts: Because ExoC2T doesn't use real-time traffic feeds at query time, corrupting or dropping live sensor data at test time has zero impact on its predictions—whereas standard transfer baselines degrade sharply as sensor failure rates climb.
  • Separating "universal" from "local" prevents overfitting: Splitting predictions into a locked-down prototype core ($\hat{\mathcal{Y}}^{\text{inv}}$) plus a regulated adaptive tweak ($\hat{\mathcal{Y}}^{\text{var}}$) lets the model customize itself to a new city using just two dozen examples without catastrophic forgetting.

Key Results

  • Across-the-board wins: Under the 24-shot regime across the eight full-year regions, ExoC2T achieves the best MAE and SMAPE on all 8 regions and the best RMSE on 7 out of 8, beating flow-driven models (STGCN, Graph WaveNet), transfer frameworks (DASTNet, STGP), and foundation models (UniTS, OpenCity).
  • Substantial error drops: Compared to the strongest baseline in each city, ExoC2T lowers eight-city average MAE by 16.8% and SMAPE by 17.9% (e.g., dropping San Diego MAE from 218.61 to 157.28, and Orange from 249.72 to 171.52).
  • Grace under abnormal conditions: During automatically detected abnormal traffic windows in Los Angeles, ExoC2T's error increases by only +12%, compared to +16% for STGP and +45% for DASTNet.
  • Ablations confirm the glue: Removing the modulation-sensitive gated fusion causes the steepest accuracy drop, followed closely by stripping out posterior adaptation and prototype memory.

Limitations and Future Work

  • Blind to unrecorded surprises: If a sudden traffic disruption occurs—like a major multi-car crash or a pop-up road closure—ExoC2T won't catch it unless that event is somehow reflected in the available external signals.
  • Garbage-in, garbage-out on metadata: Forecast quality relies heavily on having decent POI coverage, well-aligned weather data, and accurate macro-city statistics.
  • Not strictly zero-shot: While query-time prediction is sensor-free, adapting to a new city still requires collecting a small offline labeled support set first. Future directions point toward broader context-grounded urban AI that reduces reliance on dense physical infrastructure.

Summary updated

Abstract

Urban traffic forecasting supports infrastructure planning and resource allocation, yet dense traffic sensing remains costly for many cities. Existing cross-city methods and spatio-temporal foundation models typically require recent target-city traffic observations. We study exogenous-driven cross-city transfer, predicting traffic from static and dynamic urban context with limited offline target labels and no historical flow input at query time. The challenge is to infer predictive traffic-state information from external evidence while separating transferable responses from city-specific variation. We propose ExoC2T, a plasticity-inspired spatio-temporal learning framework with two coupled components. The Exogenous-Infused Spatio-Temporal Network (EXIST) combines semantic spatial context, temporal regimes, and weather-conditioned expert responses in shared prototype coordinates. Stability-Plasticity Adaptation (SPAda) preserves a stable exogenous-to-flow core and regulates adaptive responses through a support-conditioned latent posterior, invariant discrepancy regularization, and posterior correction. Experiments on a nine-city benchmark show consistent improvements over strong forecasting and transfer baselines, supporting exogenous-driven prediction for cities with limited traffic sensing.
BibTeX
@inproceedings{yu2026exoc,
  author = {Hailong Yu and Zhengyang Zhou and Liwen Zhang and Qihe Huang and Kuo Yang and Yudong Zhang and Yang Wang},
  title = {{ExoC2T: An exogenous-driven spatio-temporal learning framework for cross-city transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=JHbypQ7cMg},
}
Figure