@article{LIU2026, 
author = {Mei LIU and Jingyi YUAN and Zeyu CHEN and Fang WEI and Dongping FANG},
title = {Simulation of resident needs and their temporal characteristics in flood disasters based on large language models},
year = {2026},
journal = {Journal of Tsinghua University (Science and Technology)},
volume = {66},
number = {11},
pages = {2395-2406},
keywords = {flood disasters, resident needs, large language models, Maslow hierarchy of needs, temporal characteristics},
url = {https://www.sciopen.com/article/10.16511/j.cnki.qhdxxb.2026.27.061},
doi = {10.16511/j.cnki.qhdxxb.2026.27.061},
abstract = {ObjectiveUrban flooding is characterized by a dynamically evolving risk environment, accompanied by temporal changes in resident perceptions, behavioral decisions, and needs. Because individuals differ from one another, their needs may vary across disaster stages and follow distinct temporal trajectories. Characterizing these changes can inform need identification and emergency resource allocation during disaster response. Against this background, this study aimed to reveal the temporal evolution of heterogeneous resident needs throughout an urban flood disaster. It examined changes and transitions among survival, safety, social, and psychological needs across resident groups, with particular attention to the roles of personality traits, physiological conditions, and environmental risk. The study aimed to provide a quantitative basis for differentiated need identification and emergency resource allocation.MethodsDrawing on Maslow's hierarchy of needs theory, a four-level indicator system of resident needs was established through literature review, policy analysis, and semi-structured interviews. A dynamic flood scenario was then constructed for the plain area of Fangshan District, Beijing, in accordance with local Beijing standards; the scenario adopted a 150-year return period and covered a 14-day flood process. The Horton infiltration model generated a continuous time series of inundation depth and the corresponding environmental risk levels. A large language model (LLM)-driven multi-agent model was subsequently developed to represent heterogeneous residents characterized by Big Five personality traits and differing physiological conditions. GPT-4o simulated the cognitive process of perception, recognition, judgment, and decision-making, and the model incorporated agent interactions and historical records into subsequent need decisions. The simulation included 150 resident agents, used a 1-h time step over 336 h, and was repeated independently 30 times. Jensen–Shannon divergence and mean absolute error were used to evaluate variability across the repeated simulations.ResultsAcross the 30 simulation runs, the mean Jensen–Shannon divergence was 0.004 3 and the overall mean absolute error was 0.027 3. Need-transition patterns differed among personality groups. For conscientious residents, the self-transition probabilities of survival and safety needs were 60.4% and 56.0%, respectively. For agreeable and extraverted residents, the self-transition probabilities of social needs were 79.9% and 83.7%, respectively. For open residents, the self-transition probability of psychological needs was 78.3%, and the transition probabilities from safety needs and from social needs to psychological needs were 38.1% and 42.1%, respectively. For neurotic residents, the transition probabilities from social and psychological needs back to survival needs were 32.6% and 33.7%, respectively. Physiological conditions were likewise associated with differences in need trajectories. Among residents with functional impairments, safety needs accounted for 40% during the early stage and 23% during the recovery stage, approximately 1.2 and 1.4 times the corresponding proportions among residents without functional impairments. Environmental risk was associated with changes in need composition. As risk increased from low to medium-high, safety response intensity rose from 17% to 60%, whereas social and psychological response intensities fell from 40% to 14% and from 23% to 4%, respectively. As inundation depth decreased, social and psychological needs increased.ConclusionsResident needs during urban flooding follow heterogeneous temporal trajectories across disaster stages. In the early stage, when environmental risk is elevated, needs concentrate on survival and safety. As inundation risk recedes, the trajectories diverge across groups that differ in personality traits and physiological conditions. These findings indicate that need assessment should account for both disaster progression and resident heterogeneity. The LLM-driven multi-agent framework provides a quantitative approach for characterizing temporal changes in resident needs and can inform differentiated need identification and stage-specific emergency resource allocation.}
}