arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.15111cs.AI
收藏

基于提示优化的用于延误条件下地铁客流预测的大语言模型

A Prompt Refinement-based Large Language Model for Metro Passenger Flow Forecasting under Delay Conditions

Shenzhen Technology University(深圳技术大学);Shenzhen University(深圳大学)

Ping Huang, Yuxin He, Hao Wang, Jingjing Chen, Qin Luo

AI总结:

本文针对地铁延误条件下客流预测样本稀少、传统模型精度低的问题,提出一种结合大语言模型与两阶段提示优化(含多维思维链)的预测框架,并在深圳地铁真实数据上验证了其有效性。

摘要:

在延误条件下对地铁系统客流进行准确的短期预测对于应急响应和服务恢复至关重要,这带来了重大挑战,且目前研究不足。由于延误事件很少发生,延误条件下有限的样本量使得传统模型难以有效捕捉延误对客流的复杂影响,导致预测精度较低。认识到大语言模型(LLMs)凭借其强大的预训练、上下文理解能力以及执行零样本和少样本推理的能力在少样本学习中的优势,为了解决在极少数据下有效泛化和适应的问题,我们提出了一种延误条件下的客流预测框架,该框架将LLM与精心设计的提示工程相结合。通过优化提示设计,我们使LLM能够理解延误事件信息以及历史客流数据中的模式,从而克服延误条件下客流预测的挑战。该框架中的提示工程包含两个主要阶段:系统化提示生成和提示优化。在提示生成阶段,多源数据被转换为LLM可理解的描述性文本并存储。在提示优化阶段,我们采用多维思维链(CoT)方法来优化提示。我们通过使用专门针对中国深圳地铁延误条件下客流预测的真实世界数据集进行实验来验证所提出的框架。实验结果表明,所提出的模型在延误条件下的客流预测中表现尤为出色。

英文摘要:

Accurate short-term forecasts of passenger flow in metro systems under delay conditions are crucial for emergency response and service recovery, which pose significant challenges and are currently under-researched. Due to the rare occurrence of delay events, the limited sample size under delay condictions make it difficult for conventional models to effectively capture the complex impacts of delays on passenger flow, resulting in low forecasting accuracy. Recognizing the strengths of large language models (LLMs) in few-shot learning due to their powerful pre-training, contextual understanding, ability to perform zero-shot and few-shot reasoning, to address the issues that effectively generalize and adapt with minimal data, we propose a passenger flow forecasting framework under delay conditions that synthesizes an LLM with carefully designed prompt engineering. By Refining prompt design, we enable the LLM to understand delay event information and the pattern from historical passenger flow data, thus overcoming the challenges of passenger flow forecasting under delay conditions. The propmpt engineering in the framework consists of two main stages: systematic prompt generation and prompt refinement. In the prompt generation stage, multi-source data is transformed into descriptive texts understandable by the LLM and stored. In the prompt refinement stage, we employ the multidimensional Chain of Thought (CoT) method to refine the prompts. We verify the proposed framework by conducting experiments using real-world datasets specifically targeting passenger flow forecasting under delay conditions of Shenzhen metro in China. The experimental results demonstrate that the proposed model performs particularly well in forecasting passenger flow under delay conditions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑