Papers › Large Language Models as Urban Residents: An LLM Agent Framework for Personal Mobility...

Large Language Models as Urban Residents: An LLM Agent Framework for Personal Mobility Generation

22 Feb 2024arXiv:2402.14744archive 2025-07-28

Jiawei Wang, Renhe Jiang, Chuang Yang, Zengqing Wu, Makoto Onizuka, Ryosuke Shibasaki, Noboru Koshizuka, Chuan Xiao

This paper introduces a novel approach using Large Language Models (LLMs) integrated into an agent framework for flexible and effective personal mobility generation. LLMs overcome the limitations of previous models by effectively processing semantic data and offering versatility in modeling various tasks. Our approach addresses three research questions: aligning LLMs with real-world urban mobility data, developing reliable activity generation strategies, and exploring LLM applications in urban mobility. The key technical contribution is a novel LLM agent framework that accounts for individual activity patterns and motivations, including a self-consistency approach to align LLMs with real-world activity data and a retrieval-augmented strategy for interpretable activity generation. We evaluate our LLM agent framework and compare it with state-of-the-art personal mobility generation approaches, demonstrating the effectiveness of our approach and its potential applications in urban mobility. Overall, this study marks the pioneering work of designing an LLM agent framework for activity generation based on real-world human activity data, offering a promising tool for urban mobility analysis.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.14744")

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

wangjw6/llmob officialmentioned in papermentioned on GitHub report
yukayo/lotnext mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran
2unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from wangjw6/llmob. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ChatGPT_request wangjw6/llmob/engine/llm_configs/gpt_structure.py official repository ran fingerprinted no licence file found · pointer only · 85856236ef6f0624 · report
ChatGPT_single_request wangjw6/llmob/engine/llm_configs/gpt_structure.py official repository ran no licence file found · pointer only · ad92b5546638d198 · report
GPT4_request wangjw6/llmob/engine/llm_configs/gpt_structure.py official repository ran fingerprinted no licence file found · pointer only · 39510c770844add0 · report
find_detail_weekday wangjw6/llmob/engine/utilities/process_tools.py official repository ran no licence file found · pointer only · 2f5358a7c8fffbd3 · report
first2second wangjw6/llmob/engine/utilities/process_tools.py official repository ran fingerprinted no licence file found · pointer only · 1f0ddf8359ccad0f · report
geodistance wangjw6/llmob/evaluate.py official repository ran fingerprinted no licence file found · pointer only · b51adc90fd1dd17a · report
invert_dict wangjw6/llmob/evaluate.py official repository ran no licence file found · pointer only · b79ee975818fce6c · report
is_weekday_or_weekend wangjw6/llmob/engine/utilities/process_tools.py official repository ran no licence file found · pointer only · c5cfde42861aeb3d · report
load_pickle wangjw6/llmob/evaluate.py official repository ran no licence file found · pointer only · c00a46bf6fd37d6d · report
retry wangjw6/llmob/engine/llm_configs/openai_api.py official repository ran no licence file found · pointer only · a2c73a26b755a80f · report
identify Wangjw6/LLMob/engine/persona_identify.py official repository unverified no licence file found · pointer only · 4654058fd184bc08 · report
score_from_rating Wangjw6/LLMob/engine/persona_identify.py official repository unverified no licence file found · pointer only · d62b41f423b0831d · report

Tasks

Retrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections