Abstract
Human mobility plays a crucial role in transportation, urban planning, and public health. Advances in deep learning and the availability of diverse mobility data have transformed mobility modeling. However, existing deep learning models often focus on spatio-temporal patterns and struggle to capture the semantic interdependencies among activities, while also being limited by specific data sources. These challenges reduce their realism and adaptability. Traditional activity-based models (ABMs) face issues as well, relying on rigid assumptions and requiring extensive data, making them costly and difficult to adapt to new regions, especially those with limited conventional travel data. To address these limitations, we develop a novel generative deep learning approach for human mobility modeling and synthesis that incorporates both activity patterns and location trajectories using open-source data. The model can be fine-tuned with local data, allowing it to adapt to and accurately represent mobility patterns across diverse regions. The model is evaluated on a nationwide dataset of the United States, where it demonstrates superior performance in generating activity-location chains that closely follow ground truth distributions. Further tests using state- or city-specific datasets from California, Washington, and Mexico City confirm its transferability. This innovative approach offers substantial potential to advance mobility modeling research, particularly in generating synthetic human mobility data. This can provide urban planners and policymakers with enhanced tools for simulating mobility in diverse regions and better informing decisions related to transportation, urban development, and public health.
Introduction
Traditional Activity-Based Models (ABMs) are essential for urban planning but are often "hand-crafted," expensive to develop, and rely on rigid assumptions that hinder their adaptability to new regions. Conversely, modern Deep Learning (DL) models frequently treat mobility as a sequence of coordinates, often ignoring the semantic purpose of trips (e.g., "work" vs. "shopping") and the critical influence of household dynamics.
The Deep Activity Model addresses these gaps by framing daily routines as a "language" where activities are words and a day is a sentence. This generative framework synthesizes realistic human mobility patterns—activity chains—using socio-demographic profiles from widely available Household Travel Survey (HTS) data, rather than invasive private trajectory data.
Methodology
The core of the system is a Transformer encoder-decoder architecture, adapted for tabular and temporal mobility data. The model treats an individual's socio-demographic attributes (age, income, job status) as a starting prompt to generate a 24-hour activity sequence.
Key Architectural Features
- Household Interdependency: Unlike models that simulate individuals in isolation, this framework explicitly embeds the profiles of other household members. This captures how a parent’s schedule might be influenced by a child’s school hours or shared household needs.
- Custom Loss Functions: To handle the variability of human behavior, the authors introduced a Soft Label Loss. Instead of penalizing the model for minor timing discrepancies, it uses a window of allowance. Additionally, Temporal Order and Sequential Timing losses ensure generated activities are chronological and non-overlapping.
- Activity Location Assignment (ALA): A secondary algorithm maps generated activities (e.g., "Work") to specific geographic Traffic Analysis Zones (TAZs) based on local distance and angular distributions.
Datasets and Transferability
The model was primarily trained on the 2017 National Household Travel Survey (NHTS), covering approximately 130,000 households across the U.S. To test its adaptability, the researchers employed transfer learning on several regional datasets:
- 2010–2012 California Household Travel Survey (CHTS).
- 2017 Puget Sound Regional Travel Study (Washington).
- 2017 Origin-Destination Survey for Mexico City.
Validation was conducted using SCAG ABM data for Los Angeles County, comparing synthetic traffic flows against real-world sensor data (PeMS).
Key Results
- Superior Accuracy: The Deep Activity Model outperformed standard RNNs, LSTMs, and general-purpose LLMs (like GPT-4) across metrics such as activity duration, start times, and transition probabilities. It achieved 92.2% edge completeness, capturing nearly the entire spectrum of real-world activity transitions.
- Transfer Learning Success: A model pre-trained on national U.S. data successfully learned the unique cultural mobility patterns of Mexico City with relatively few local samples.
- Real-world Simulation: When synthetic demand was loaded into traffic simulators (LASim/MATSim) for Los Angeles, it produced traffic volumes and speeds with a Mean Absolute Percentage Error (MAPE) of less than 5% compared to benchmark models.
Conclusion and Future Work
The Deep Activity Model demonstrates that daily routines can be effectively modeled using generative architectures, providing a scalable alternative to traditional ABMs. While currently operating at the TAZ level, future work aims to increase spatial resolution to specific point-of-interest (POI) addresses and deepen semantic understanding of locations. This approach offers urban planners a powerful tool for simulating mobility in diverse regions, even where data is limited, while maintaining user privacy.
Summary updated