用大模型理解用户口语化出行偏好,生成更贴心的公交路线。
ChatPlanner: A Large Language Model Framework for Personalized Public Transit Routing

- 用微调+检索增强的大模型解析自然语言偏好,转为可计算的评分
- 在8种人物角色、5种场景下验证,能准确提取路线与偏好信息
- 适合个性化出行规划、智能交通系统研究者使用
个性化公共交通路径规划因难以捕捉和整合多样用户偏好而面临挑战。本文提出ChatPlanner,一种基于大语言模型(LLMs)的新框架,实现偏好感知的公交路径规划。该方法采用微调后的LLM结合检索增强生成(RAG),从自然语言查询中提取路径参数并解读对话式表达的偏好,转化为偏好得分,并融入公交路径算法的目标函数。研究构建了包含八种人物角色和五种情境的偏好感知数据集,用于微调与RAG的评分标准。通过四项实验验证方案可行性、路由信息与偏好的提取能力、解集质量与完整性,以及延迟与计算可处理性。结果表明,ChatPlanner可稳定生成可行解;微调确保输出结构并学习通用偏好模式,RAG则提供查询特定上下文,解决模糊或对话式表达问题并校准连续得分。二者结合在路由信息提取与评分一致的偏好解读上达到最高准确率。案例研究显示,通过捕捉用户口语化偏好,系统识别出现有规划工具忽略的多维度相关路线,生成更多替代方案。延迟评估确认框架具备计算可行性。本研究为自然语言理解融入交通优化建立了新范式。
原文摘要 · Abstract (English)
Personalized public transit routing in public transit systems remains challenging due to the difficulty of capturing and integrating diverse user preferences into routing algorithms. This paper presents ChatPlanner, a novel framework that leverages Large Language Models (LLMs) to enable preference-aware public transit routing. Our approach employs fine-tuned LLMs with Retrieval-Augmented Generation (RAG) to extract routing parameters and interpret conversationally expressed preferences from natural language queries as preference scores, subsequently integrating these preferences into the objective function of a public transit routing algorithm. This study designs preference-aware datasets incorporating eight personas and five contexts to establish scoring standards for both fine-tuning and RAG. This work conducted four experiments to validate the solutions' feasibility, extraction of routing information and preferences, solution set quality and completeness, and latency and computational tractability. Results demonstrate that ChatPlanner generates feasible solutions reliably. Fine-tuning enforces the required output structure and learns general preference patterns, while RAG provides query-specific context to resolve imprecise or conversational expressions and calibrate continuous scores. The combination of both achieves the highest accuracy in routing information extraction and rubric-consistent user preference interpretation. Results based on selected case studies show that by capturing user conversationally expressed preferences, ChatPlanner identifies preference-relevant solutions across different dimensions that existing route planners overlook, generating more route alternatives. The latency evaluation confirms that the framework is computationally tractable. This research establishes a new paradigm for integrating natural language understanding into transportation optimization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。