Encounter-Driven City-Scale Human Mobility Generation with Large Language Models

Chao Li, Renhe Jiang, Chuan Xiao, Jiawei WangarXiv 2026

TL;DR

EncounterMob is a novel framework that uses Large Language Models (LLMs) to generate city-scale human mobility data that is "encounter-aware." Unlike previous models that focus solely on individual routines, EncounterMob ensures that generated trajectories accurately reflect how people interact and co-occur at the same place and time, significantly improving both social interaction fidelity and personal mobility realism.

What Problem Does This Paper Address?

Generating realistic human mobility data is vital for urban planning, transportation, and public health, especially when real-world data is restricted due to privacy or high collection costs. While recent LLM-based methods have become quite good at simulating individual routines (e.g., "Person A goes to work at 9 AM"), they are largely resident-centric.

The missing piece is the encounter: the co-presence of two or more people at a specific venue and time. If you generate trajectories for thousands of people independently, the resulting "encounters" are often accidental and fail to capture the underlying social structures and city-level rhythms found in real data. As shown in the figure below, independent generation often leads to mismatches in who meets where and when.

Figure 1: Individual mobility generation versus encounter-driven mobility generation. Colored paths represent the trajectories of different residents, and highlighted locations indicate encounters across trajectories. (a) Individual mobility generation models each resident according to personal mobility patterns. (b) Encounter-driven mobility generation additionally coordinates encounter participants, times, and locations across the trajectories of multiple residents within the generated mobility data.

Methods

The authors propose EncounterMob, which moves away from independent generation toward a coordinated approach. The framework consists of two main pillars:

  1. Coarse-to-Fine Encounter Generator:
  2. City-Level Encounter Rhythms: The LLM first analyzes historical data to infer the "pulse" of the city—general patterns of when and in what types of venues encounters typically happen (e.g., rush hour at train stations or lunch at restaurants).
  3. Encounter Instantiation: It then translates these broad rhythms into specific "proposals" for encounters, identifying which specific residents are likely to meet at which venues and times, based on their historical social ties and profiles.
  4. Iterative Coupling Framework:
  5. This is the "brain" of the system. It generates initial individual trajectories and then uses a Joint Critic (another LLM agent) to compare these trajectories against the encounter proposals.
  6. If there’s a conflict—for example, if an encounter is proposed at a cafe but one participant’s routine makes them unavailable—the Critic provides feedback. The model then iteratively refines both the individual paths and the encounter proposals (up to $K$ rounds) until they align.
Figure 2: Overview of ENCOUNTERMOB. (1) The coarse-to-fine Encounter Generator infers city- level encounter rhythms from historical mobility and resident profiles, then instantiates participant– time–venue encounter proposals. (2) The Iterative Coupling Framework compares these proposals with encounters realized by independently initialized personal trajectories. Guided by historical evidence, the joint critic provides feedback to revise personal trajectories and, when needed, city- level rhythms and encounter proposals. The personal trajectories form the final output. Colored dashed curves illustrate correspondences between proposed and realized encounters after coupling.

To measure success, the authors also introduced a new encounter recovery protocol that evaluates seven different distributions, including the complex "Full Joint" distribution of participants, time, and venue ($G \times T \times V$).

Datasets

The model was evaluated on two city-scale datasets derived from Foursquare check-ins:

  • Japan: 1,049 residents over 30 test days.
  • NYC: 226 residents over 61 test days. The data was discretized into 10-minute intervals, and the researchers focused on "fixed cohorts" of residents who had a history of interacting in the training period.

Key Insights and Ideas

  • Interaction is a Signal for Quality: One of the most striking findings is that forcing the model to get encounters right actually improves the quality of individual trajectories. By coordinating residents, the model produces more realistic personal routines.
  • The Power of Semantic Reasoning: Unlike traditional deep learning models (like LSTMs or GANs), LLMs can reason about why a conflict exists. The "Joint Critic" can suggest specific fixes, such as "A is missing from the 07:50 station stop; revise A's trajectory to include it while preserving their other stops."
  • Rhythms Matter: Capturing the "vibe" of the city (the coarse rhythms) provides a necessary anchor. Without it, the model tends to over-generate or under-generate encounters at the wrong times, a common failure in baselines like ELLMob.
Figure 3: City-level encounter patterns on Japan over 30 days. (a–e) Hourly encounter distributions across the ten most frequent ground-truth venue categories for ground truth, ELLMob, w/o Rhythm, w/o Instantiation, and final output. Each heatmap is normalized within these categories; colors are scaled by the maximum for each category across all five panels and hours. (f) Hourly encounter counts across all venue categories for the same five sources, pooled over the 30 days. Generated encounters are extracted from final trajectories.

Key Results

EncounterMob outperformed all baselines, including state-of-the-art LLM-based models like ELLMob and various deep learning architectures (TrajGAIL, DiffTraj).

  • Encounter Fidelity: On the most difficult metric (the $G \times T \times V$ joint error), EncounterMob reduced error by 40.4% in Japan and 41.7% in NYC compared to the previous best model (ELLMob).
  • Personal Mobility: It also reduced mean personal mobility error by 58.8% (Japan) and 32.7% (NYC).
  • Ablation Success: Removing the "Iterative Coupling" component caused the joint error to spike by over 74%, proving that the feedback loop is essential for coordination.

Limitations and Future Work

While powerful, EncounterMob has a few hurdles:

  • Computational Cost: Using LLMs for iterative refinement is token-intensive. The paper notes that EncounterMob uses significantly more tokens per resident-day than simpler models.
  • Data Specificity: The current study relies on Foursquare-style check-in data. Future work could explore more diverse mobility sources (like GPS pings or call detail records).
  • Social Priors: The authors suggest incorporating even richer social and behavioral priors to make the generation more generalizable to different urban contexts.

Summary updated

BibTeX
@misc{li2026encounter,
  author = {Chao Li and Renhe Jiang and Chuan Xiao and Jiawei Wang},
  title = {{Encounter-Driven City-Scale Human Mobility Generation with Large Language Models}},
  year = {2026},
  eprint = {2610.17672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.17672},
}
Figure