arXiv:2506.10853cs.AIcs.CY2025-06被引 1

用思维链+上下文协议增强大模型,模拟城市人群活动轨迹。

A Study on Individual Spatiotemporal Activity Generation Method Using MCP-Enhanced Chain-of-Thought Large Language Models

  • 通过五阶段认知框架与六类MCP工具实现渐进式时空推理。
  • 生成1000条轨迹与真实数据相似度达7.86~8.36分,效率提升至0.17分钟/样本。
  • 适合城市规划、交通预测等需要合成出行数据的场景。

人类时空行为模拟对城市规划研究至关重要,但传统基于规则和统计的方法存在计算成本高、泛化能力弱、可扩展性差等问题。尽管大语言模型(LLMs)在作为“世界模拟器”方面展现出潜力,但在时空推理中仍面临空间认知有限、物理约束理解不足及群体同质化倾向等挑战。本文提出一种融合思维链(CoT)推理与模型上下文协议(MCP)的框架,以增强LLMs在生成符合验证数据模式的时空行为方面的性能。该方法结合人类式渐进推理的五阶段认知框架与六类专用MCP工具:时间管理、空间导航、环境感知、个人记忆、社会协作和经验评估。在上海陆家嘴地区开展实验,验证了框架在1000个生成样本上的有效性。结果表明,生成数据与真实移动信号数据高度相似,不同基线模型下生成质量得分达7.86至8.36。并行处理实验显示效率显著提升,样本生成时间从2到12个进程时由1.30分钟降至0.17分钟。本工作推动了CoT推理与MCP在城市行为建模中的融合,拓展了大模型在城市计算中的应用,为合成出行数据生成提供了实用路径,可服务于智慧城市规划、交通预测与参与式城市设计。

原文摘要 · Abstract (English)

Human spatiotemporal behavior simulation is critical for urban planning research, yet traditional rule-based and statistical approaches suffer from high computational costs, limited generalizability, and poor scalability. While large language models (LLMs) show promise as "world simulators," they face challenges in spatiotemporal reasoning including limited spatial cognition, lack of physical constraint understanding, and group homogenization tendencies. This paper introduces a framework integrating chain-of-thought (CoT) reasoning with Model Context Protocol (MCP) to enhance LLMs' capability in simulating spatiotemporal behaviors that correspond with validation data patterns. The methodology combines human-like progressive reasoning through a five-stage cognitive framework with comprehensive data processing via six specialized MCP tool categories: temporal management, spatial navigation, environmental perception, personal memory, social collaboration, and experience evaluation. Experiments in Shanghai's Lujiazui district validate the framework's effectiveness across 1,000 generated samples. Results demonstrate high similarity with real mobile signaling data, achieving generation quality scores of 7.86 to 8.36 across different base models. Parallel processing experiments show efficiency improvements, with generation times decreasing from 1.30 to 0.17 minutes per sample when scaling from 2 to 12 processes. This work contributes to integrating CoT reasoning with MCP for urban behavior modeling, advancing LLMs applications in urban computing and providing a practical approach for synthetic mobility data generation. The framework offers a foundation for smart city planning, transportation forecasting, and participatory urban design applications.

城市模拟大模型时空行为合成数据

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。