把路径推荐变成自然语言生成,无需重训就能适应新场景。
PathGPT: Reframing Path Recommendation as a Natural Language Generation Task with Retrieval-Augmented Language Models
- 将轨迹数据转为可读文本,用检索增强大模型生成路径。
- 在大规模数据集上表现媲美专用模型,支持零样本泛化。
- 适合需要快速适配新需求的智能导航系统开发者。
路径推荐旨在生成符合用户特定偏好与约束的出行路径。传统方法多采用显式优化目标或专用机器学习架构,但灵活性与泛化能力有限,需高昂成本重训以适应新场景。本文提出一种新范式,将路径推荐视为自然语言生成任务。我们构建了PathGPT,一个基于检索增强的大语言模型系统,利用历史轨迹数据与自然语言用户约束生成合理路径。该方法首先将原始轨迹数据转换为人类可读的文本格式并存入数据库;随后,混合检索系统从数据库中提取路径相关上下文,供预训练大模型使用。核心贡献在于提出一种新框架,证明整合信息检索与生成模型组件可实现跨多样场景的自适应、零样本路径生成。大规模轨迹数据集上的实验表明,PathGPT性能与专用学习型方法相当,凸显其作为灵活、通用路径生成系统的潜力,且避免了以往数据驱动模型所需的重训问题。
原文摘要 · Abstract (English)
Path recommendation (PR) aims to generate travel paths that are customized to a user's specific preferences and constraints. Conventional approaches often employ explicit optimization objectives or specialized machine learning architectures; however, these methods typically exhibit limited flexibility and generalizability, necessitating costly retraining to accommodate new scenarios. This paper introduces an alternative paradigm that conceptualizes PR as a natural language generation task. We present PathGPT, a retrieval-augmented large language model (LLM) system that leverages historical trajectory data and natural language user constraints to generate plausible paths. The proposed methodology first converts raw trajectory data into a human-interpretable textual format, which is then stored in a database. Subsequently, a hybrid retrieval system extracts path-specific context from this database to inform a pretrained LLM. The primary contribution of this work is a novel framework that demonstrates how integrating established information retrieval and generative model components can enable adaptive, zero-shot path generation across diverse scenarios. Extensive experiments on large-scale trajectory datasets indicate that PathGPT's performance is competitive with specialized, learning-based methods, underscoring its potential as a flexible and generalizable path generation system that avoids the need for retraining inherent in previous data-driven models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。