Constraint-aware Path Planning from Natural Language Instructions Using Large Language Models
Organizations: Florida Atlantic University, 777 Glades Road, Boca Raton, United States
Abstract
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.
Figures & tables
| Problem Type | Without Iteration | With Iteration | Average Cost Reduction | Refinement Success Rate |
| 1 | 287.87 | 272.66 | 5.28% | 62% |
| 2 | 589.45 | 537.52 | 8.81% | 78% |
| 3 | 328.13 | 299.31 | 8.78% | 50% |
| 4 | 460.21 | 428.23 | 6.95% | 66% |
Constrained Motion Planning
Constrained motion planning finds robot paths and controls that satisfy geometric, dynamic, safety, and task-specific requirements.
See all 188 papersDecoupled Travel Planning with Behavior Forest
Commonsense-Grounded Path Planning from Abstract Instructions
move carefully'') and visual observations of each region in the environment, CoRS derives a consideration for each region, as in this wet floor is slippery and worth a detour.'' It then compares the considerations between regions to see which of the two the robot should avoid more, as in ``the crowd is worse than the wet floor.'' These judgments sort the regions into a commonsense ranking, whose costs drive a conventional search that always returns a valid route. We build a benchmark for planning under latent considerations, with three environments, 1350 problems, and five instructions at three levels of abstraction. Experiments show that CoRS discovers the unstated considerations and goes around the ones worth a detour while crossing the rest, a behavior that recent LLM-based planners do not achieve.