Urban Vibrancy Embedding and Application on Traffic Prediction

Sumin Han, Jisun An, Dongman LeearXiv 2026 · arXiv

TL;DR

This paper introduces a novel framework that extracts "urban vibrancy" embeddings from real-time mobile floating population data using a combined Variational Autoencoder (VAE) and LSTM architecture. By integrating these dynamic embeddings into spatio-temporal traffic models, the authors achieve significant accuracy boosts when predicting subway demand, traffic volume, and traffic speed across Seoul.

What Problem Does This Paper Address?

Modern traffic forecasting models (such as DCRNN, GTS, or GMAN) rely heavily on historical traffic data and static spatial graphs. However, traffic flows are fundamentally driven by human behavior—the shifting "vibrancy" of a city as people move around for work, leisure, or school.

While real-time mobile network data can capture this "floating population," the data is high-dimensional, streaming, and difficult to inject directly into predictive models. Previous attempts to use external urban data often relied on simple concatenation, which fails to capture complex spatio-temporal dependencies and can even degrade model performance. This paper tackles the challenge of compressing, interpreting, and effectively adapting real-time human mobility data to improve traffic forecasting.

Methods

The authors propose a multi-stage framework inspired by Vision-Memory-Control architectures:

  1. Urban Vibrancy Compression (VAE): A Variational Autoencoder compresses grid-based, normalized floating population data into low-dimensional latent embeddings ($z_\tau$). To prevent the model from learning null patterns from unpopulated areas, they apply a custom image mask to the final layer of the decoder. Variational Autoencoder Architecture
Variational Autoencoder Architecture
  1. Embedding Forecasting (UVE-Seq2Seq): An LSTM-based sequence-to-sequence model predicts future vibrancy embeddings based on historical ones, keeping the pre-trained VAE components frozen during this stage. UVE-Seq2Seq Architecture
UVE-Seq2Seq Architecture
  1. Spatio-Temporal Vibrancy Embedding (STVE): To properly adapt this knowledge, the framework fuses sensor encodings, timestep encodings (day of the week, hour of the day), and the predicted vibrancy embeddings into a unified representation ($Z_{STV}$) using stacked fully connected layers. This embedding replaces traditional positional encodings or is concatenated directly within the recurrent steps of standard traffic models (GRU, DCRNN, GTS, GMAN).

Datasets

The framework was rigorously evaluated on a real-world dataset from Seoul, South Korea (2017–2018), covering a central 22 km × 22 km area:

  • Floating Population: Hourly LTE mobile location data mapped to a $64 \times 64$ grid.
  • Subway Demand: Data from 275 adjacent and transfer stations.
  • Traffic Volume: Data from 73 proximity-mapped traffic sensors.
  • Traffic Speed: Data from 263 physically connected road segments.

Key Insights and Ideas

  • Unsupervised Interpretability: By applying Principal Component Analysis (PCA) to the VAE embeddings, the authors discovered that the latent space naturally maps to urban geography without explicit labels. PCA1 aligns with population movement in commercial/industrial zones, while PCA2 captures residential and green zone dynamics.
  • Temporal "Rotations": Visualizing the embeddings over a 24-hour cycle revealed distinct directional loops. Weekday patterns show counterclockwise rotations (reflecting structured commuting), while weekend patterns display clockwise rotations (reflecting leisure activities). Comparison of Urban Vibrancy Embedding on Weekdays and Weekends
  • Seasonal and Event Sensitivity: The embeddings accurately captured seasonal shifts (highly concentrated clusters in winter vs. dispersed distributions in summer due to outdoor activities) and anomalous events, such as the massive 2017 presidential impeachment protests in Seoul.
Comparison of Urban Vibrancy Embedding on Weekdays and Weekends

Key Results

Integrating Spatio-Temporal Vibrancy Embeddings (STVE) consistently outperformed baseline models across all forecasting horizons (1 to 6 hours):

  • Subway Demand: For the GTS model, adding STVE reduced the 1-hour horizon Mean Absolute Error (MAE) from 69.68 to 57.77.
  • Traffic Volume: GTS with STVE dropped the long-term (6-hour) forecasting error from 276.99 to 138.21—a massive improvement in stability.
  • Traffic Speed: For the GMAN architecture, STVE cut the 6-hour horizon MAE nearly in half, from 13.0090 to 6.3519.

The ablation studies confirmed that combining both temporal context and vibrancy embeddings (TVE/STVE) delivers significantly better results than using either component alone.

Limitations and Future Work

The authors do not deeply detail the limitations of their approach, but a few technical challenges stand out:

  • Fixed Spatial Resolution: The grid-based VAE approach assumes a rigid $64 \times 64$ spatial layout, which may not scale easily to irregularly shaped cities or handle multi-resolution data.
  • Data Accessibility: The framework relies on continuous, real-time LTE mobile data streams, which are often proprietary and difficult for municipal planners or researchers to access.

Future research directions include extending this cross-mode knowledge adaptation method to other smart city domains, such as energy consumption grid planning or ride-hailing optimization.

Summary updated

Abstract

Urban vibrancy reflects the dynamic human activity within urban spaces and is often measured using mobile data that captures floating population trends. This study proposes a novel approach to derive Urban Vibrancy embeddings from real-time floating population data to enhance traffic prediction models. Specifically, we utilize variational autoencoders (VAE) to compress this data into actionable embeddings, which are then integrated with long short-term memory (LSTM) networks to predict future embeddings. These are subsequently applied in a sequence-to-sequence framework for traffic forecasting. Our contributions are threefold: (1) We use principal component analysis (PCA) to interpret the embeddings, revealing temporal patterns such as weekday versus weekend distinctions and seasonal patterns; (2) We propose a method that combines VAE and LSTM, enabling forecasting dynamic urban knowledge embedding; and (3) Our approach improves accuracy and responsiveness in traffic prediction models, including RNN, DCRNN, GTS, and GMAN. This study demonstrates the potential of Urban Vibrancy embeddings to advance traffic prediction and offer a more nuanced analysis of urban mobility.
BibTeX
@misc{han2026urban,
  author = {Sumin Han and Jisun An and Dongman Lee},
  title = {{Urban Vibrancy Embedding and Application on Traffic Prediction}},
  year = {2026},
  eprint = {2602.21232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.21232},
}
Figure