Predicting Human Mobility in Disasters via LLM-Enhanced Cross-City Learning

Yinzhou Tang, Huandong Wang, Xiaochen Fan, Yong Li

Abstract

The vulnerability of cities to natural disasters has increased with urbanization and climate change, making it more important to predict human mobility in disaster scenarios for downstream tasks including location-based early disaster warning and pre-allocating rescue resources. However, existing human mobility prediction models are mainly designed for normal scenarios and fail to adapt to disaster scenarios due to the shift of human mobility patterns. To address this issue, we introduce DisasterMobLLM, a mobility prediction framework for disaster scenarios that can be integrated into existing deep mobility prediction methods by leveraging LLMs to model mobility intention and transferring common knowledge of how different disasters affect mobility intentions between cities. This framework utilizes a RAG-Enhanced Intention Predictor to forecast the next intention, refines it with an LLM-based Intention Refiner, and then maps the intention to an exact location using an Intention-Modulated Location Predictor. Extensive experiments illustrate that DisasterMobLLM can achieve a 32.8% improvement in terms of Acc@1 and a 35.0% improvement in terms of the F1-score of predicting immobility compared to the baselines.

Introduction

Predicting where people go during a disaster is critical for early warnings and rescue resource allocation. However, existing mobility models face two major hurdles: distribution shift and data scarcity. Human behavior changes drastically during disasters (e.g., people stay home or avoid certain flooded areas), and models trained on "normal" days fail to adapt. Furthermore, disasters are relatively rare events, meaning there is rarely enough historical disaster data for a specific city to train a specialized model before a new crisis hits.

While "cross-city learning" (using data from one city to help another) is a potential solution, it is difficult because every city has a unique layout of Points of Interest (POIs) and road networks, making direct data transfer inaccurate.

The DisasterMobLLM Framework

The authors introduce DisasterMobLLM, which shifts the focus from where someone is going to why they are going there—their mobility intention. By focusing on intentions, which are more universal across urban environments than specific coordinates, the system can effectively transfer knowledge from one city to another.

High-level framework overview of DisasterMobLLM showing cross-city knowledge transfer from source cities to a target city.

Technical Architecture

The framework consists of four main components that work together to refine location predictions:

  • RAG-Enhanced Intention Predictor: This module converts raw trajectories into "intentions" using unsupervised clustering of travel features (like POI categories and road types). It uses Retrieval-Augmented Generation (RAG) to pull similar trajectories from other cities or scenarios to provide context.
  • Intention-CLIP: To help the LLM understand movement data, the authors designed a contrastive learning module that aligns "intention modality" with "language modality," essentially translating abstract movement patterns into a format the LLM can process.
  • LLM-based Intention Refiner: Using a fine-tuned Llama-3-8B, the system employs Chain-of-Thought (CoT) reasoning and disaster-level soft prompts. The LLM reasons through the situation (e.g., "Given this is a severe disaster, is the user likely to stay still?") to refine the predicted intention.
  • Intention-Modulated Location Predictor: Finally, this refined intention is plugged back into a standard mobility model (like STiSAN+ or DeepMove) to map the intention to a specific geographical coordinate.
Detailed architecture of DisasterMobLLM, highlighting the flow from travel feature extraction to the final predicted location.

Experimental Evaluation

The researchers evaluated their framework using 7 real-world human trajectory datasets collected from Chinese cities during periods of natural disasters, primarily heavy rainfall. Precipitation data was integrated from the CHIRPS dataset to categorize disaster severity levels.

Key Results

The framework was tested against a wide array of baselines, including traditional models (LSTM, GRU), disaster-specific models (DeepMob), and other LLM-based approaches (LLM4POI).

  • Accuracy: DisasterMobLLM achieved a 32.8% improvement in Acc@1 and a 28.3% improvement in Mean Reciprocal Rank (MRR) over the best-performing baselines.
  • Immobility Prediction: The F1-score for predicting when someone would stay put (immobility) improved by 35.0%. This is a significant result, as traditional RNN-based models often struggle to predict the lack of movement common during disasters.
  • Robustness: While traditional models saw their performance drop by up to 82% during disasters, DisasterMobLLM successfully compensated for this degradation by leveraging cross-city disaster knowledge.

Conclusion

DisasterMobLLM demonstrates that "intention" can serve as a universal language for human mobility, enabling effective cross-city knowledge transfer. By leveraging the behavioral reasoning capabilities of LLMs, the framework significantly improves prediction accuracy during crises. Future work will focus on optimizing inference latency for real-time applications and testing the framework on other disaster types such as wildfires or epidemics.

Summary updated

Abstract

The vulnerability of cities to natural disasters has increased with urbanization and climate change, making it more important to predict human mobility in the disaster scenarios for downstream tasks including location-based early disaster warning and pre-allocating rescue resources, etc. However, existing human mobility prediction models are mainly designed for normal scenarios, and fail to adapt to disaster scenarios due to the shift of human mobility patterns under disaster. To address this issue, we introduce \textbf{DisasterMobLLM}, a mobility prediction framework for disaster scenarios that can be integrated into existing deep mobility prediction methods by leveraging LLMs to model the mobility intention and transferring the common knowledge of how different disasters affect mobility intentions between cities. This framework utilizes a RAG-Enhanced Intention Predictor to forecast the next intention, refines it with an LLM-based Intention Refiner, and then maps the intention to an exact location using an Intention-Modulated Location Predictor. Extensive experiments illustrate that DisasterMobLLM can achieve a 32.8\% improvement in terms of Acc@1 and a 35.0\% improvement in terms of the F1-score of predicting immobility compared to the baselines. The code is available at https://github.com/tsinghua-fib-lab/DisasterMobLLM.
BibTeX
@misc{tang2025predicting,
  author = {Yinzhou Tang and Huandong Wang and Xiaochen Fan and Yong Li},
  title = {{Predicting Human Mobility in Disasters via LLM-Enhanced Cross-City Learning}},
  year = {2025},
  eprint = {2507.19737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.19737},
}

Loading related content...

Figure