arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.19257cs.CL
收藏

基于自然语言指令的约束感知路径规划:利用大语言模型

Constraint-aware Path Planning from Natural Language Instructions Using Large Language Models

Dylan Shim, Minghan Wei

AI总结:

本文提出利用大语言模型解决带约束的路径规划问题,通过自然语言输入进行问题匹配和自推断,实现灵活且可扩展的解决方案。

摘要:

现实中的路径规划任务通常涉及多种约束,如路线数量、最大长度、仓库位置和任务特定要求。传统方法依赖专用公式和算法,难以扩展到多样化场景。本文提出一个灵活的框架,利用大语言模型(LLMs)直接从自然语言输入解决带约束的路径规划问题。核心思想是允许用户用对话方式描述路由任务,同时使LLM通过解决方案验证和迭代优化来解决问题。所提方法包含两个集成组件:对于已有的问题类型,LLM首先将输入请求匹配到预定义模板库中的已知问题公式;对于新或未见的问题实例,LLM自主推断问题表示并以上下文学习方式构建合适的问题公式。在两种情况下,迭代的解决方案生成和验证过程引导LLM产生可行且逐渐优化的解决方案。候选解决方案通过多轮自我纠正进行比较和优化,灵感来自遗传算法式优化。本文展示了该LLM框架的设计、实现和评估,证明其能够处理多种带约束的路径规划问题。该方法提供了一种可扩展且可推广的解决现实路由任务的方法,同时通过自然语言实现灵活的问题指定。

英文摘要:

Real-world path planning tasks typically involve multiple constraints beyond simple route optimization, such as the number of routes, maximum route length, depot locations, and task-specific requirements. Traditional approaches rely on dedicated formulations and algorithms for each problem variant, making them difficult to scale across diverse scenarios. In this work, we propose a flexible framework that leverages large language models (LLMs) to solve constrained path planning problems directly from natural language input. The core idea is to allow users to describe routing tasks conversationally, while enabling the LLM to interpret and solve the problem through solution verification and iterative refinement. The proposed method consists of two integrated components. For problem types that have been previously formulated and studied, the LLM first matches the input request to a known problem formulation in a library of pre-defined templates. For novel or unseen problem instances, the LLM autonomously infers a problem representation from the natural language description and constructs a suitable formulation in an in-context learning manner. In both cases, an iterative solution generation and verification process guides the LLM toward producing feasible and increasingly optimal solutions. Candidate solutions are compared and refined through multiple rounds of self-correction, inspired by genetic-algorithm-style refinement. We present the design, implementation, and evaluation of this LLM-based framework, demonstrating its capability to handle a variety of constrained path planning problems. This method provides a scalable and generalizable approach for solving real-world routing tasks with minimal human intervention, while enabling flexible problem specification through natural language.

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

↑