mlsanityData to 14 Oct 2026

City-Conditioned Memory for Multi-City Traffic and Mobility Forecasting

arXiv 2512.00851 ↗First posted 30 Nov 2025cs.LG cs.CYcited by 0

Not on the map. Why?

Abstract (arXiv)

Deploying spatio-temporal forecasting models across many cities is difficult: traffic networks differ in size and topology, data availability can vary by orders of magnitude, and new cities may provide only a short history of logs. Existing deep traffic models are typically trained per city and backbone, creating high maintenance cost and poor transfer to data-scarce cities. We ask whether a single, backbone-agnostic layer can condition on "which city this sequence comes from", improve accuracy in full- and low-data regimes, and support better cross-city adaptation with minimal code changes. We propose CityCond, a light-weight city-conditioned memory layer that augments existing spatio-temporal backbones. CityCond combines a city-ID encoder with an optional shared memory bank (CityMem). Given a city index and backbone hidden states, it produces city-conditioned features fused through gated residual connections. We attach CityCond to five representative backbones (GRU, TCN, Transformer, GNN, STGCN) and evaluate three regimes: full-data, low-data, and cross-city few-shot transfer on METR-LA and PEMS-BAY. We also run auxiliary experiments on SIND, a drone-based multi-agent trajectory dataset from a signalized intersection in Tianjin (we focus on pedestrian tracks). Across more than fourteen model variants and three random seeds, CityCond yields consistent improvements, with the largest gains for high-capacity backbones such as Transformers and STGCNs. CityMem reduces Transformer error by roughly one third in full-data settings and brings substantial gains in low-data and cross-city transfer. On SIND, simple city-ID conditioning modestly improves low-data LSTM performance. CityCond can therefore serve as a reusable design pattern for scalable, multi-city forecasting under realistic data constraints.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 16 references that are in the map. First posted on arXiv 30 Nov 2025.

Builds on

10 of 16 references.

References · 10

  1. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  2. 2017Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecastingcited by 1,136
  3. 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 829
  4. 2018Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networkscited by 690
  5. 2020Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networkscited by 566
  6. 2020Adaptive Graph Convolutional Recurrent Network for Traffic Forecastingcited by 530
  7. 2020Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Predictioncited by 325
  8. 2019Learning from Multiple Cities: A Meta-Learning Approach for Spatial-Temporal Predictioncited by 64
  9. 2022SIND: A Drone Dataset at Signalized Intersection in Chinacited by 30
  10. 2022STCGAT: A Spatio-temporal Causal Graph Attention Network for traffic flow prediction in Intelligent Transportation Systemscited by 2

Built on by

Not cited yet.