arXiv:2510.06078cs.AI2025-10被引 6

用大模型分层协作,把自然语言旅行需求转成带约束的最优路线

Constraint-Aware Route Recommendation from Natural Language via Hierarchical LLM Agents

  • 分层多智能体架构解析语义,拆解地点、路径与约束三类意图
  • 联合建模路线与地点偏好,约束满足率提升23%,路线质量更优
  • 适合需要灵活处理口语化旅行请求的导航系统开发者

路线推荐旨在为用户提供满足多样化复杂需求的最优出行方案。传统路由算法(如最短路径和约束感知搜索)高效但假设输入结构化且目标固定,难以适应自然语言查询。近期基于大模型的方法提升了灵活性,但在空间推理及路线级与兴趣点级偏好联合建模方面表现不足。为此,我们提出RouteLLM,一种分层多智能体框架,将自然语言意图转化为带约束的路线。首先将用户查询解析为包含地点、路径和约束的结构化意图。管理智能体协调多个专用子智能体:约束智能体负责解析并形式化验证约束,地点智能体检索并排序候选地点,路径优化智能体通过带偏好条件成本的路由引擎细化路线。最终验证智能体确保约束满足,并生成带有可解释理由的最终路线。该设计连接语言灵活性与空间结构,实现路线可行性与用户偏好的联合推理。实验表明,该方法能可靠地将文本偏好转化为带约束的路线,在路线质量和偏好满足度上优于传统方法。

原文摘要 · Abstract (English)

Route recommendation aims to provide users with optimal travel plans that satisfy diverse and complex requirements. Classical routing algorithms (e.g., shortest-path and constraint-aware search) are efficient but assume structured inputs and fixed objectives, limiting adaptability to natural-language queries. Recent LLM-based approaches enhance flexibility but struggle with spatial reasoning and the joint modeling of route-level and POI-level preferences. To address these limitations, we propose RouteLLM, a hierarchical multi-agent framework that grounds natural-language intents into constraint-aware routes. It first parses user queries into structured intents including POIs, paths, and constraints. A manager agent then coordinates specialized sub-agents: a constraint agent that resolves and formally check constraints, a POI agent that retrieves and ranks candidate POIs, and a path refinement agent that refines routes via a routing engine with preference-conditioned costs. A final verifier agent ensures constraint satisfaction and produces the final route with an interpretable rationale. This design bridges linguistic flexibility and spatial structure, enabling reasoning over route feasibility and user preferences. Experiments show that our method reliably grounds textual preferences into constraint-aware routes, improving route quality and preference satisfaction over classical methods.

路线推荐大模型多智能体自然语言

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