Abstract
Predicting human mobility is essential for urban planning and public health, yet capturing the coupled nature of "where, when, and how" people move remains challenging. We present MobilityGen, a deep generative model based on Denoising Diffusion Probabilistic Models (DDPM) that generates realistic, multi-day mobility schedules. By unifying location, timing, and transport mode into an event-level framework and grounding it in environmental context via points of interest (POIs), MobilityGen outperforms traditional mechanistic and utility-based simulators. It accurately reproduces complex social patterns, such as urban income segregation, while maintaining high computational efficiency.
Introduction
Human movement is not merely a sequence of coordinates; it is a complex decision-making process where destination, timing, and transport mode are intrinsically linked. Existing mobility models typically fall into two categories: mechanistic models that capture statistical scaling laws but lack behavioral context, and utility-based models that focus on choice psychology but often oversimplify spatial geography.
The challenge lies in creating a unified model capable of generating long-term sequences that are both statistically sound and contextually grounded in a city's actual infrastructure. MobilityGen addresses this by leveraging diffusion models—the technology behind state-of-the-art image generators—to synthesize plausible future mobility events based on historical behavior and environmental data.
Methodology
MobilityGen operates on an event-level representation, where each mobility event is defined as a tuple: <location, start time, duration, travel mode>. This approach ensures that the "where, when, and how" are modeled jointly rather than as independent variables.
The model architecture consists of a Transformer-based encoder-decoder framework:
- Encoder: Processes an individual's past travel history (e.g., the previous three weeks) to extract latent behavioral features.
- Diffusion Process: The decoder uses a Denoising Diffusion Probabilistic Model (DDPM) to "denoise" a random Gaussian signal into a sequence of future events.
- Contextual Grounding: To respect geographic reality, the model incorporates Space2vec for coordinate encoding and POI-LDA (Latent Dirichlet Allocation) on OpenStreetMap data to characterize the functional nature of different locations (e.g., residential vs. commercial hubs).
- Rounding Step: To bridge the gap between continuous diffusion outputs and discrete mobility attributes (like specific transport modes), the model employs a specialized rounding loss during training to map latent embeddings back to specific categories accurately.
Datasets
The model was trained and validated using high-resolution longitudinal data from Switzerland:
- MOBIS Dataset: GNSS trajectories from 2,113 individuals tracked for an average of 138 days, providing a detailed view of how habits evolve over months.
- OpenStreetMap (OSM): Over 3 million Points of Interest (POIs) were used to provide the environmental context necessary for realistic destination choice.
Key Results
MobilityGen demonstrates significant improvements over baseline models across several dimensions:
- Spatial and Social Accuracy: The model achieved a Pearson correlation of r = 0.91 for location importance and r = 0.70 for individual-level income segregation, accurately simulating how different socioeconomic groups "co-present" in urban spaces.
- Environmental Context: Ablation studies showed that including POI data reduced the error (Wasserstein distance) in predicting visits to functional areas by nearly 60% compared to a context-blind version.
- Efficiency: Despite its complexity, generating a full week-long schedule for an individual takes approximately 50 milliseconds on a standard consumer GPU (NVIDIA 3090).
Discussion and Limitations
While MobilityGen represents a significant step forward, several areas for improvement remain. The current spatial discretization (500m x 500m grid) is too coarse for micro-mobility analysis, such as walking or scooter usage. Furthermore, the model currently simulates individuals in isolation, neglecting household constraints and co-travel patterns (e.g., dropping children at school). Future iterations could also incorporate real-time external factors like weather and traffic congestion to further refine prediction accuracy.
Reference: Hong, Y., et al. (2026). Deep Generative Model for Human Mobility Behavior. arXiv:2510.06473v2.
Summary updated