Paper deep dive
From Semantic Decisions to Feasible Trajectories: Self-Evolving LLM-Guided Optimal Control for Narrow-Space Parking
Zhengbao Yao, Yuanfu Luo, Kehan Xue
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Autonomous parking in nonconvex and narrow environments remains challenging. Although optimal-control methods can explicitly enforce vehicle dynamics and collision constraints, nonconvexity compromises solver robustness and can cause failures. Large language models (LLMs) exhibit strong semantic reasoning capabilities, but directly generating dense trajectories makes it difficult to guarantee physical feasibility. We introduce SE-LLM-OCP, a unified framework in which LLMs make high-level discrete maneuver decisions, while an optimal-control module enforces low-level vehicle dynamics and collision constraints. Online, the LLM proposes sparse maneuver plans, decomposing the parking task into a sequence of short-horizon trajectory-optimization problems. A low-level solver then sequentially solves optimal-control problems. If the solver fails, the LLM aggregates failure evidence from the solver and validation stages to guide replanning. Offline, SE-LLM-OCP automatically evolves a structured decision-making knowledge base from scratch, driven by accumulated online failures. We validate our proposed framework in simulation on a car-like vehicle model and on a differential-drive robot. Our experimental results show that SE-LLM-OCP enables safer autonomous parking in narrow scenarios and demonstrates transfer of the same maneuver representation to a different kinematic platform.
Tags
Links
- Source: https://arxiv.org/abs/2609.24631v1
- Canonical: https://arxiv.org/abs/2609.24631v1
Trouble viewing inline? Open PDF directly â
Full Text
45,276 characters extracted from source content.
Expand or collapse full text
From Semantic Decisions to Feasible Trajectories: Self-Evolving LLM-Guided Optimal Control for Narrow-Space Parking Zhengbao Yao Affiliation: All authors are with xLean Robotics Co., Ltd. Yuanfu Luo Affiliation: All authors are with xLean Robotics Co., Ltd. Affiliation: Corresponding author: Yuanfu Luo (e-mail: yuanfu@xlean.ai) Kehan Xue Affiliation: All authors are with xLean Robotics Co., Ltd. Abstract Autonomous parking in nonconvex and narrow environments remains challenging. Although optimal-control methods can explicitly enforce vehicle dynamics and collision constraints, nonconvexity compromises solver robustness and can cause failures. Large language models (LLMs) exhibit strong semantic reasoning capabilities, but directly generating dense trajectories makes it difficult to guarantee physical feasibility. We introduce SE-LLMâOCP, a unified framework in which LLMs make high-level discrete maneuver decisions, while an optimal-control module enforces low-level vehicle dynamics and collision constraints. Online, the LLM proposes sparse maneuver plans, decomposing the parking task into a sequence of shortâhorizon trajectoryâoptimization problems. A low-level solver then sequentially solves optimal-control problems. If the solver fails, the LLM aggregates failure evidence from the solver and validation stages to guide replanning. Offline, SE-LLMâOCP automatically evolves a structured decision-making knowledge base from scratch, driven by accumulated online failures. We validate our proposed framework in simulation on a car-like vehicle model and on a differential-drive robot. Our experimental results show that SE-LLMâOCP enables safer autonomous parking in narrow scenarios and demonstrates transfer of the same maneuver representation to a different kinematic platform. I Introduction Autonomous parking in cluttered environments is a canonical hybrid motion-planning problem. A vehicle trajectory must satisfy nonholonomic kinematics and full-footprint collision constraints, yet planner success often depends on discrete maneuver choices: the approach direction, the ordering of forward and reverse segments, and the placement of intermediate configurations. Search-based planners such as Hybrid A* (HA*) explore these choices with discrete nonholonomic motion primitives [1]. Optimization-based planners instead optimize continuous paths or trajectories under collision costs or constraints and, where modeled, vehicle kinematics or dynamics [2, 3]. The two paradigms fail in different ways. Search effort depends on the resolution and coverage of the motion primitives, whereas nonlinear trajectory optimization is sensitive to initialization and the selected homotopy class. These weaknesses become pronounced in nonconvex and narrow spaces: an unsuitable maneuver structure may lead to excessive search or local optimization failure even though a feasible trajectory exists. Large language models offer a complementary source of high-level structure, especially when paired with visual or structured scene representations. Language-grounded robotic systems have used foundation models to decompose instructions into admissible actions, ground skill selection in affordances, synthesize executable policy programs, and plan over scene-level representations [4, 5, 6, 7]. Autonomous-driving studies have likewise explored language-model reasoning for motion planning and coordinate-based trajectory generation [8, 9]. These advances, however, do not remove the physical-grounding problem. A maneuver can be semantically plausible yet fail because of a small terminal-pose error, insufficient clearance, or an infeasible swept volume. Asking the model to generate dense waypoints or controls also assigns it a long sequence of metric decisions that are difficult to verify. The question, then, is how to give an LLM the maneuver-planning role in narrow-space parking while keeping physical feasibility with the solver: semantic decisions must be turned into physically feasible trajectories, and low-level failures must come back as guidance the LLM can act on. Fig. 1: Online hierarchical pipeline of SE-LLMâOCP: the decision-making LLM turns scene and task inputs plus retrieved parking knowledge into pose anchors and motion modes; these define sequential segment OCPs, and accepted trajectories are passed to the controller. Failed attempts feed a feedback LLM that revises the maneuver while the attempt budget permits. This paper answers this question with SE-LLMâOCP (Self-Evolving LLM-Guided Optimal Control Planning), a hierarchical framework for narrow-space autonomous parking. In SE-LLMâOCP, an LLM serves as the maneuver-level planner: from the scene, the task, and a parking-decision knowledge base, it decides how the vehicle should maneuverâwhere to stage, which direction to move, and how to approach the goalâand expresses these decisions as sparse terminal poses and forward or reverse motion modes, each accompanied by a short rationale. It never generates dense trajectories or low-level controls. A deterministic optimal-control layer then turns each decision into a short-horizon optimal control problem (OCP), enforcing nonholonomic vehicle kinematics, actuation limits, and full-footprint collision avoidance. Semantic reasoning and metric optimization are thus kept in strictly separate layers, each doing what it does best. Because LLM-proposed poses are approximate, the grounding stage does not demand that they be met exactly: each terminal pose is grounded into a small tolerance region adapted to the surrounding clearance, so minor endpoint errors are absorbed without weakening the kinematic or collision constraints. When optimization or validation nonetheless rejects a maneuver, the failure is made actionable. Solver diagnostics, validation errors, and the rationales of the failed decisions are summarized by a feedback LLM into maneuver-level guidance, and the planning LLM revises its decision. Accumulated failures additionally drive an offline loop that grows the parking-decision knowledge base from an initially empty state, with every entry generated automatically; an update is retained only when the resulting planner again produces a feasible trajectory. Throughout, the LLM parameters remain fixed: self-evolution proceeds through bounded, failure-conditioned revision of the maneuver online and of the decision knowledge offline. The main contributions of this work are: ⢠a hierarchical framework for narrow-space autonomous parking that pairs LLM-based maneuver reasoning with deterministic optimal control, producing physically feasible trajectories under full vehicle kinematics and collision avoidance; ⢠a semantic-to-optimization grounding that absorbs the metric approximation inherent in LLM decisions, compiling them into tolerance-adapted terminal conditions for short-horizon OCPs without weakening kinematic or collision constraints; ⢠a bounded, failure-conditioned self-evolution loop that converts failed attempts into maneuver-level guidance, letting the LLM recover from infeasible decisions without unbounded replanning; and ⢠an offline knowledge self-evolution loop that bootstraps the parking-decision knowledge base from an initially empty state, with all entries generated automatically, and retains an update only when it yields a feasible trajectory. We validate SE-LLMâOCP in simulation across confined parking and turnaround tasks. Under a shared StanleyâPID controller, SE-LLMâOCP attains the highest closed-loop execution success and the lowest collision rate among the compared planners, with fewer gear changes and lower path-curvature metrics than HA*+OCP; ablations isolate the contributions of the evolved knowledge base, failure feedback, and intermediate soft constraints, and a differential-drive experiment demonstrates that the same maneuver representation transfers to a different platform. I Related Work I-A Traditional Planning Approaches Traditional parking planners primarily employ search-based methods and trajectory optimization. ReedsâShepp curves provide shortest paths for a car with bounded curvature and forwardâreverse motion in obstacle-free space [10]. Hybrid A* incorporates vehicle kinematics into heuristic search, retaining continuous vehicle states within a discretized search space and refining the resulting path through numerical optimization [1]. These approaches provide geometric foundations and initial paths for parking trajectory generation. Optimization-based methods formulate parking as an optimal control problem with explicit vehicle-motion and collision-avoidance constraints. Li et al. addressed time-optimal parallel parking through simultaneous dynamic optimization [11]. They later introduced safe travel corridors for parking, where a coarse path guides corridor construction and different parts of the vehicle are constrained within corresponding collision-free regions [12]. This representation replaces large-scale collision-avoidance constraints with a reduced-scale OCP whose size is independent of environmental complexity. A subsequent lightweight iterative framework repeatedly reconstructs the corridor to recover free space discarded by a fixed corridor and improve trajectory optimization among irregularly placed obstacles [13]. Corridor-based formulations therefore make continuous optimization tractable after a coarse route has been supplied. SE-LLMâOCP addresses the complementary high-level problem: an LLM proposes and revises sparse staging poses and motion modes, while the model-based OCP layer generates continuous trajectories under vehicle-kinematic and collision-avoidance constraints. I-B End-to-End Parking Approaches End-to-end approaches learn parking behavior from scene observations and target information. Yang et al. investigated end-to-end neural parking in the CARLA simulator [14]. ParkingE2E predicts parking waypoints from surround-view images and a target parking slot using imitation learning and an autoregressive transformer [15]. MultiPark extends learned parking to multimodal, multi-segment prediction, using parking queries that encode gear, longitudinal, and lateral behaviors together with goal- and collision-related training objectives [16]. These developments address maneuver diversity and long-horizon parking within learned planning architectures. In SE-LLMâOCP, the learned component instead proposes sparse pose anchors and motion modes. Continuous trajectories are generated by solving model-based OCPs, with vehicle constraints enforced during optimization and complete plans checked before execution. I-C Grounding and Self-Evolution in LLM-Based Planning Grounding connects language-level reasoning to robot capabilities and physical environments. SayCan combines language-model scores with skill affordances to select executable actions [5]. AutoTAMP translates language instructions into formal task representations for task and motion planning, using corrective feedback to resolve translation errors [17]. VoxPoser constructs spatial value maps that guide model-based motion planning [18]. For narrow-space parking, the grounding interface must accommodate nonholonomic motion and vehicle-footprint collision constraints. Feedback and persistent memory further support the revision of LLM-generated decisions. Inner Monologue incorporates environment feedback into subsequent planning [19], while Reflexion stores verbal reflections on task outcomes to guide later attempts without updating model parameters [20]. In autonomous driving, DiLu combines reasoning, reflection, and memory to retrieve relevant experiences and revise unsuccessful decisions, but its memory is seeded with manually outlined scenarios [21]. Building on these directions, SE-LLMâOCP couples online maneuver refinement with offline revision of parking knowledge through a common optimization and validation pipeline, evolving the knowledge base from an initially empty state without hand-authored entries. Online, solver diagnostics and trajectory-validation failures guide bounded replanning of pose anchors and motion modes. Offline, accumulated failures inform revisions to decision principles; a candidate knowledge update is retained only after the resulting planning process yields a trajectory that passes the same online acceptance checks. This links both decision revision and knowledge retention to the feasibility of the generated parking trajectories. I METHODS Our framework SE-LLMâOCP comprises an online hierarchical pipeline (Fig. 1) and an offline knowledge self-evolution loop (Fig. 2). The online hierarchy allows LLM-based maneuver decisions to guide trajectory optimization while vehicle dynamics and collision constraints are enforced by the OCP solver. Online replanning revises the maneuver for the current task using a fixed knowledge-base version. Knowledge revision is performed separately: accumulated failures guide candidate knowledge-base updates. These updates are evaluated through the online pipeline before being used in subsequent planning tasks. I-A Online Hierarchical Pipeline The online pipeline comprises high-level maneuver planning, low-level trajectory optimization, and feedback and replanning. The LLM specifies pose anchors and motion modes that divide the parking task into segments. These decisions are converted into terminal conditions for sequential OCPs, and the resulting trajectory is checked for feasibility before controller execution. Failed optimization or trajectory validation provides feedback for revising the maneuver within a prescribed attempt budget (three planning attempts per task). I-A1 High-level Maneuver Planning A parking scene is defined by a bounded workspace ââ2W ^2, the union of polygonal obstacle regions O, an initial pose 0=(x0,y0,θ0)p_0=(x_0,y_0, _0), and a goal pose gp_g. The region âW is available for vehicle motion. Let âąâĄ()F(p) denote the oriented rectangular vehicle footprint at pose =(x,y,θ)p=(x,y,θ). The collision-free configuration set is free=|âąâĄ()ââ.C_free= \p\; |\;F(p) \. (1) The task is to reach gp_g from 0p_0 through configurations in freeC_free while satisfying the vehicle dynamics and actuation limits. The decision-making LLM receives the task specification, scene image, metric geometry, start and goal poses, and vehicle dimensions. Relevant knowledge is retrieved by matching the current scene against the accumulated entries, each of which records a scene description together with explicitly allowed and forbidden operations. The retrieved entries guide the selection of staging poses and motion modes. The LLM generates an ordered maneuver plan with N segments: Î =(i,mi,ei)i=1N, = \(p_i,m_i,e_i) \_i=1^N, (2) where ip_i is the terminal-pose anchor of segment i, miâforward,reversem_iâ\ forward, reverse\ specifies its direction of travel, and eie_i is a concise natural-language rationale explaining why the segment moves this way. Each rationale is carried through grounding and optimization; when a segment subsequently fails to solve or validate, its rationale is returned to the LLM together with the failure evidence, so that revisions can build on the original intent of the failed decision. Intermediate anchors specify staging poses for reorientation and goal approach, and the final anchor coincides with the goal, N=gp_N=p_g. Vehicle parameters, objective weights, horizon lengths, and collision constraints remain system-defined. Fig. 2: Offline knowledge self-evolution loop of SE-LLMâOCP: failure dossiers drive a knowledge-revision LLM to propose knowledge deltas; each candidate version is verified through the online pipeline in Fig. 1, and candidates yielding feasible trajectories are retained, while failed verification guides further revisions within the offline budget. I-A2 Low-level Trajectory Optimization The high-level maneuver plan is converted into terminal constraints and penalties for sequential OCPs via adaptive anchor grounding. Requiring every intermediate anchor to be reached exactly can overconstrain these OCPs, even when nearby staging poses would permit feasible motion. Bounded endpoint adjustments are therefore allowed, with penalties favoring the nominal anchors. The final goal remains fixed. We first describe how the anchors are grounded into terminal regions and penalties, and then formulate the segment OCPs. Anchor grounding. To make the allowed adjustments precise, we attach to each intermediate anchor ip_i a positional tolerance rir_i and a heading tolerance Îâθtol _tol, which bound how far the endpoint of segment i may deviate from the nominal anchor in position and heading, respectively. The positional tolerance is derived from a clearance radius Ďi _i, which measures the vehicleâs translational freedom at the anchor. For an intermediate anchor i=(xi,yi,θi)p_i=(x_i,y_i, _i), Ďi _i is the largest radius within which the vehicle can translate in any direction without collision while its heading is held at θi _i. With a cap Ďcap _cap and planar displacement =(dx,dy)d=(d_x,d_y), it is defined as Ďi=sup _i= \ Ďâ[0,Ďcap]| Ďâ[0, _cap]\; |\; (3) (xi+dx,yi+dy,θi)âfree, (x_i+d_x,y_i+d_y, _i) _free, âââ2 with âĽ2â¤Ď,i<N. â\,d ^2 with \|d\|_2â¤Ď \, i<N. The positional tolerance rir_i bounds the positional deviation of the segment endpoint from its nominal anchor and is computed as ri=maxâĄrmin,minâĄ(Îľtask,kâĎi),i<N.r_i= \r_ , ( _task,k _i ) \, i<N. (4) Here, k is a scale factor and Îľtask _task is the task-level positional tolerance. The lower bound rminr_ prevents the tolerance from vanishing. The terminal pose region iT_i combines the positional tolerance rir_i with the heading tolerance Îâθtol _tol. The endpoint of segment i is required to lie in the set i= _i= \ =(x,y,θ)| =(x,y,θ)\; |\; (5) â(x,y)â(xi,yi)â2â¤ri, \|(x,y)-(x_i,y_i) \|_2⤠r_i, |wrap(θâθi)|â¤Îθtol,i<N. |wrap(θ- _i) |⤠_tol \, i<N. Here, wrapwrap returns the principal angular difference. For the final segment, the set reduces to N=gT_N=\p_g\. The terminal region bounds the endpoint adjustment, while a terminal pose penalty JtermiJ_term^i favors the nominal anchor. Its position and heading weights are wposiw_pos^i and wθiw_θ^i. The position weight is reduced as the tolerance grows, so that a generous tolerance weakens the pull of the penalty toward the nominal anchor; the heading weight, in contrast, is held fixed at wθintw_θ^int to keep the approach direction precise. For intermediate anchors, the position weight is computed as wposâ(ri)=maxâĄ(wposmin,wposmaxârminmaxâĄ(ri,rmin))w_pos(r_i)= (w_pos ,\;w_pos r_ (r_i,r_ ) ) (6) where the constants are set empirically to wposmin=80w_pos =80, wposmax=200w_pos =200, and wθint=400w_θ^int=400. For the final segment, the weights are fixed to wposgoal=1000w_pos^goal=1000 and wθgoal=2000w_θ^goal=2000, likewise set empirically. The operation TerminalCostTerminalCost constructs JtermiJ_term^i from the anchor and these weights. The region itself does not certify collision freedom: Ďi _i assumes a fixed heading, whereas iT_i permits heading changes and the radius mapping can yield ri>Ďir_i> _i. Collision constraints are therefore imposed independently in the OCP. Algorithm 1 summarizes the mapping from the maneuver plan Î to the grounded plan Î . Intermediate segments receive adaptive position tolerances and penalty weights; the final segment retains the exact goal and fixed weights. Each entry Îi _i contains the maneuver attributes, positional tolerance, terminal region, and terminal penalty needed to formulate the corresponding segment OCP. Algorithm 1 Adaptive Soft-Constraint Grounding of LLM Anchors Input: Plan Î ; freeC_free; goal gp_g; parameters (Îľtask,k,rmin,Ďcap,Îâθtol)( _task,k,r_ , _cap, _tol) Output: Grounded plan Î 1 Nâ|Î |Nâ| |; Îââ â ; 2 for iâ1iâ 1 to N do 3 (i,mi,ei)âÎ âĄ[i](p_i,m_i,e_i)â [i]; 4 if i=Ni=N then 5 iâgp_i _g; riâ0r_iâ 0; iâgT_iâ\p_g\; 6 (wposi,wθi)â(wposgoal,wθgoal)(w_pos^i,w_θ^i)â(w_pos^goal,w_θ^goal); 7 else 8 Compute Ďi _i using (3) and rir_i using (4); 9 Compute wposiw_pos^i using (6) and set wθiâwθintw_θ^iâ w_θ^int; 10 Compute iT_i using (5); 11 JtermiâTerminalCostâĄ(i,wposi,wθi)J_term^i (p_i,w_pos^i,w_θ^i); 12 Îiâ(i,mi,ei,ri,i,Jtermi) _iâ(p_i,m_i,e_i,r_i,T_i,J_term^i); 13 return Î=Îii=1N =\ _i\_i=1^N; Segment OCP formulation. Vehicle motion follows the rear-axle kinematic model with state =[x,y,θ,v,δ]â¤x=[x,y,θ,v,δ] and control u=[a,Ďδ]â¤u=[a, _δ] , where v is signed longitudinal velocity, δ is steering angle, a is longitudinal acceleration, and Ďδ _δ is steering rate. With wheelbase L, the dynamics are xË x =vâcosâĄÎ¸, =v θ, yË y =vâsinâĄÎ¸, =v θ, Î¸Ë Î¸ =vâtanâĄÎ´L, = v δL, vË v =a, =a, Î´Ë Î´ =Ďδ. = _δ. (7) For segment i, the terminal-state set HiH_i requires the terminal pose to lie in iT_i, and the admissible velocity interval VâĄ(mi)V(m_i) enforces the specified direction of travel. The terminal cost ÎŚi _i combines JtermiJ_term^i with a penalty that encourages stopping at the endpoint. Given the initial state initx_init and the discrete dynamics fdf_d from (7), each segment is optimized by solving min,u _x,u ât=0Tâ1ââĄ(t,ut)+ÎŚiâ(T) _t=0^T-1 (x_t,u_t)+ _i(x_T) (8) s.t. .t. 0=init, _0=x_init, t+1=fdâ(t,ut), _t+1=f_d(x_t,u_t), st,câ(t)âĽdsafe, s_t,c(x_t)⼠d_safe, TâHi. _Tâ H_i. Here, T denotes the prediction horizon of the current segment. The quantity st,cs_t,c denotes clearance for collision constraint c at step t, and dsafed_safe is the required margin. Control and steering bounds and vtâVâĄ(mi)v_tâ V(m_i) are also imposed. The stage cost â regularizes acceleration, steering rate, steering angle, velocity, and obstacle slack. Horizon selection and solver retry settings remain system-defined. The first OCP starts from the initial vehicle state. Each subsequent OCP starts from the preceding segmentâs optimized terminal state, including velocity and steering angle. Transferring the full state preserves continuity and allows the next segment to account for the preceding endpoint adjustment. I-A3 Feedback and Replanning The complete maneuver is checked after all segment OCPs have been solved. Validation assesses endpoint accuracy, continuity between segments, satisfaction of the terminal regions, and footprint feasibility using a sampled vehicle sweep. Trajectories that pass all feasibility checks are sent to the controller. When OCP optimization fails or the assembled trajectory fails validation, solver diagnostics and validation errors are passed to the feedback LLM together with the rationales of the failed segments. It summarizes potential causes at the maneuver level and provides guidance for replanning. The decision-making LLM uses this feedback, the task inputs, and retrieved knowledge to revise the pose anchors and motion modes. The revised plan undergoes the same grounding, optimization, and validation procedure, with the vehicle model and acceptance criteria held fixed. The online loop terminates when a feasible trajectory is found or the prescribed attempt budget is exhausted. This feedback revises the maneuver for the current task; the associated failure evidence is retained for offline knowledge revision. I-B Offline Knowledge Self-Evolution Loop The offline loop in Fig. 2 uses accumulated planning failures to revise the decision principles retrieved during high-level planning. The knowledge base is initialized emptyâthat is, zero-shot: every entry is generated automatically, with no parking maneuvers, staging heuristics, or exemplars authored by hand. Prompt structure and revision operations remain system-defined; only the knowledge entries evolve through the automated revise-and-verify cycle below. A failure dossier combines observed failure patterns with relevant existing knowledge entries. The knowledge-revision LLM uses this dossier to propose a knowledge delta comprising one or two operations selected from addition, modification, deletion, and merging. Every generated entry must record the scene it applies to together with explicitly allowed and forbidden operations. Applying the delta to the retained knowledge base produces a candidate version for verification. Each candidate knowledge-base version is evaluated through the online pipeline in Fig. 1, with knowledge retrieved from that version. The resulting maneuver plans undergo grounding, sequential OCP solution, and trajectory validation. Online feedback and replanning remain active within the prescribed attempt budget. The vehicle model, grounding rules, optimization settings, and acceptance criteria are held fixed during verification. A candidate is retained as the new knowledge-base version only when verification produces a feasible trajectory. If verification fails, the retained version remains unchanged and the new failure evidence is appended to the dossier to guide further revision. The online attempt budget limits maneuver attempts during each candidate evaluation; a separate offline revision budget limits candidate knowledge updates. The offline loop terminates when a candidate passes verification or the revision budget is exhausted. The loop thus grows the knowledge base from an empty initialization into a task-specific body of parking expertise, retaining only revisions that demonstrably preserve feasibility. IV Experiments We evaluate SE-LLMâOCP in confined parking environments through planner comparisons, component ablations, and real-robot execution. The simulation study examines planning success, trajectory quality, and closed-loop performance; the physical experiment demonstrates execution on a differential-drive robot. TABLE I: Planning quality and closed-loop performance under the common StanleyâPID controller on 38 scenarios. Planning Closed-loop execution Method Succ. (%)â Gear shifts â Mean |Îş||Îş| (mâ1m^-1)â Max |dâÎş/dâs||dÎş/ds| (mâ2m^-2)â Pos. err. (m)â Orie. err. (deg)â Succ. (%)â Coll. (%)â HAâ 92.1 2.571 0.158 4.000 â â 55.3 40.0 Direct OCP 0.0 â â â â â 0.0 â HAâ+OCP 76.3 2.138 0.158 3.556 0.028 0.529 63.2 17.2 SE-LLMâOCP 94.7 1.593 0.116 2.437 0.006 0.112 84.2 11.1 Planning metrics are averaged over successful plans, and terminal errors are measured on the planned trajectories; collision rates count an obstacle collision or boundary violation once per run, over successfully planned runs that enter execution. Dashes indicate values that are not reported (terminal errors for HAâ) or undefined (Direct OCP, which produces no validated trajectory). Fig. 3: Qualitative comparisons across four parking scenarios: (a) dead-end turnaround, (b) transfer between parallel aisles, (c) obstacle bypass and goal entry, and (d) reorientation among obstacles. Each group shows, from left to right, HA*, Direct OCP, HA*+OCP, and SE-LLMâOCP (Ours); green frames with check marks indicate success, red frames with crosses failure. Examples are from additional runs, separate from the aggregate evaluation in Table I. IV-A Experimental Setup Scenes and vehicle. The simulation benchmark comprises parking tasks in confined environments with nonconvex free space. Each task specifies an initial pose and a goal pose. The car-like model has a 4.50Ă1.854.50Ă 1.85 m footprint, a 2.702.70 m wheelbase, and a minimum rear-axle turning radius of 5.005.00 m. Controller and execution. All planners are evaluated on the same simulation tasks. Their reference trajectories are tracked using a Stanley lateral controller and a PID speed controller. Controller settings and the execution model are shared across planners, with acceleration and steering-rate limits enforced during execution. Evaluation metrics. Planning success requires the generated reference trajectory to pass trajectory validation. For SE-LLMâOCP, this is the validation stage of the online pipeline. Closed-loop success requires successful planning followed by execution to within 0.500.50 m of the goal position and 10â10 of the goal heading, without obstacle collision or departure from the drivable region. Both success rates use all runs as the denominator. The collision rate is computed only over runs that pass planning validation and proceed to controller execution, including unsuccessful executions. A run is counted once if an obstacle collision or a boundary violation occurs. Planning failures are excluded from this denominator. Planning-quality metrics are averaged over successful planning runs. They comprise the number of gear shifts, mean absolute curvature |Îş||Îş| (mâ1m^-1), and maximum absolute spatial curvature gradient |dâÎş/dâs||dÎş/ds| (mâ2m^-2), where s denotes arc length. The curvature-gradient entry is the mean of the per-trajectory maxima. Terminal position and orientation errors measure the final pose error of the planned trajectory; they are distinct from errors after controller execution. Terminal errors are compared between SE-LLMâOCP and HA*+OCP and are not reported for HA*. Evaluation protocol and planning budget. For the planner comparison and ablation studies, all configurations are evaluated under a consistent experimental protocol. Independent evaluation trials are distinguished from the planning attempts performed within each trial. All LLM components use gpt-5.6-sol. Unless replanning is ablated, SE-LLMâOCP performs bounded feedback-guided replanning when the current proposal fails validation. Each planning attempt undergoes grounding, optimization, and validation, while the knowledge-base version remains fixed throughout each online trial. IV-B Experiment 1: Planning and Closed-Loop Performance We compare SE-LLMâOCP with HA* [1], Direct OCP, and HA*+OCP. HA* searches for a kinematically admissible reference, which HA*+OCP then refines through trajectory optimization. Direct OCP optimizes the maneuver without LLM-generated intermediate anchors. In SE-LLMâOCP, pose anchors and motion modes specify the maneuver structure before the segment OCPs are solved. Table I shows that SE-LLMâOCP achieves the best overall balance between planning feasibility and closed-loop execution. It attains 94.7%94.7\% planning success and 84.2%84.2\% closed-loop success, while also producing trajectories with fewer gear shifts and lower curvature-related metrics than HA* and HA*+OCP. Although HA* reaches a comparable planning success rate, its substantially lower closed-loop success indicates that a geometrically valid reference does not necessarily translate into an easily executable parking maneuver. Adding OCP refinement improves the execution performance of HA*, but HA*+OCP still remains clearly below SE-LLMâOCP, suggesting that continuous trajectory refinement alone cannot fully compensate for an unfavorable maneuver structure. Direct OCP produces no validated trajectory in the evaluated nonconvex scenes. Figure 3 explains where this advantage comes from. The key difference is that SE-LLMâOCP determines the maneuver structure before numerical optimization by jointly considering obstacle bypass, staging, and the required goal approach. This allows major heading changes to be completed in regions with more available space and leaves the confined goal region mainly for final entry. In contrast, HA* determines the maneuver progressively through search, while HA*+OCP mainly refines the resulting reference without explicitly revisiting its earlier staging and bypass decisions. Consequently, SE-LLMâOCP supplies the segment OCPs with a more favorable maneuver structure rather than relying on optimization to recover from a poor high-level choice. The OCPs then enforce vehicle and collision constraints within this structure. This division of roles explains why SE-LLMâOCP outperforms the baselines not only in planning and closed-loop success, but also in gear-shift and curvature metrics. IV-C Experiment 2: Ablation Studies We examine the evolved knowledge base, failure feedback, and intermediate soft constraints by removing each component in turn. The scene inputs, LLM, vehicle model, controller, and remaining planning settings are held fixed. Table I reports the results. TABLE I: Component ablations on 38 scenarios. Planning Closed-loop execution Configuration Succ. (%)â Succ. (%)â Coll. (%)â w/o evolved knowledge 85.1 74.6 12.4 w/o failure feedback 79.8 68.4 13.2 w/o soft constraints 83.3 76.3 8.4 Full method 94.7 84.2 11.1 Success rates use all runs; collision rates count an obstacle collision or boundary violation once per run, over successfully planned runs that enter execution (including execution failures). Evolved knowledge. The knowledge base is initialized empty and populated entirely through automated offline self-evolution. The variant without evolved knowledge therefore uses an empty knowledge base. In the full method, the accumulated knowledge guides staging-pose selection, approach headings, and motion modes before OCP construction. Using the evolved knowledge increases planning success from 85.1%85.1\% to 94.7%94.7\% and closed-loop success from 74.6%74.6\% to 84.2%84.2\%. These gains show the benefit of transferring accumulated planning experience to online maneuver selection. Failure feedback. This variant retains the same computational budget and planning-attempt limit as the full method, but subsequent proposals receive no feedback from earlier failures. The full method uses solver and validation feedback to revise pose anchors and motion modes in response to the difficulties encountered during previous attempts. With the same budget, failure feedback increases planning success from 79.8%79.8\% to 94.7%94.7\% and closed-loop success from 68.4%68.4\% to 84.2%84.2\%. The improvement shows the value of using failed attempts to guide subsequent maneuver proposals. Intermediate soft constraints. This variant solves each segment as a separate start-to-goal problem, applying the task-terminal constraints at every segment endpoint. Treating each intermediate anchor as a task goal restricts where adjacent segments can connect, even when a nearby pose could serve the same maneuver. The full method allows intermediate poses to adjust during grounding while retaining the final goal constraints. This increases planning success from 83.3%83.3\% to 94.7%94.7\% and closed-loop success from 76.3%76.3\% to 84.2%84.2\%, supporting the use of soft constraints to accommodate approximate LLM anchors. The ablated variant has a lower collision rate among executed plans (8.4%8.4\% versus 11.1%11.1\%), while the full method completes more tasks overall. (a) Differential-drive platform (b) Simulated reference (c) Real-robot execution Fig. 4: Real-robot experiment and corresponding simulated reference. (a) Differential-drive robot equipped with a 2D LiDAR. (b) Simulated reference with intermediate pose markers and sampled footprints. (c) Successive robot poses overlaid to show the executed motion. Purple and blue curves indicate reverse and forward motion, respectively; the curves in (b) are the reference, those in (c) the motion sequence. IV-D Experiment 3: Real-Robot Experiment We conducted a physical experiment with the differential-drive robot shown in Fig. 4(a). The platform is equipped with a 2D LiDAR. The task requires the robot to leave a narrow aisle, pass around a partition, and reach the marked goal in a confined indoor environment. Figure 4(b) shows the corresponding simulated reference, produced by the same planning pipeline with the segment OCPs re-solved under differential-drive kinematics instead of the car-like model. A reverse segment brings the robot out of the starting aisle into the connecting area, followed by a forward segment around the partition toward the goal. The intermediate pose markers indicate the staged maneuver, and the sampled footprints show the robot configurations along the reference. The physical execution in Fig. 4(c) follows the same reverse-then-forward maneuver structure. The robot reverses out of the aisle, reorients in the connecting area, and moves forward around the partition. In-place rotations are visible at the intermediate configuration and at the goal. The first separates departure from the confined aisle from the forward approach; the second adjusts the heading at the marked goal. The overlaid poses show the executed motion, while the colored curves illustrate its forward and reverse portions. This experiment provides qualitative evidence that the reverse departure and forward goal approach can be carried through to physical execution. The intermediate staging configuration provides room to reorient, while in-place rotations separate translation from heading adjustment. V Conclusion We presented SE-LLMâOCP, a parking framework that bridges LLM-based maneuver reasoning and model-based trajectory optimization. The framework uses a knowledge base evolved from scratch to guide staging poses and motion modes, grounds approximate intermediate anchors through adaptive soft constraints, and converts solver and validation failures into feedback for bounded replanning. Simulation experiments in narrow, nonconvex parking scenes demonstrated the effectiveness of this decisionâoptimization interface, while a differential-drive robot with a 2D LiDAR further illustrated physical execution of the planned maneuver. Future work will focus on repeated quantitative real-robot evaluation and extending the framework to additional kinematic platforms and parking environments. References [1] D. Dolgov, S. Thrun, M. Montemerlo, and J. Diebel (2008) Practical search techniques in path planning for autonomous driving. In Proc. 1st Int. Symp. Search Tech. Artif. Intell. Robot., Cited by: §I, §I-A, §IV-B. [2] N. Ratliff, M. Zucker, J. A. Bagnell, and S. Srinivasa (2009) CHOMP: gradient optimization techniques for efficient motion planning. In Proc. IEEE Int. Conf. Robot. Autom., p. 489â494. External Links: Document Cited by: §I. [3] X. Zhang, A. Liniger, and F. Borrelli (2021) Optimization-based collision avoidance. IEEE Trans. Control Syst. Technol. 29 (3), p. 972â983. External Links: Document Cited by: §I. [4] W. Huang, P. Abbeel, D. Pathak, and I. Mordatch (2022) Language models as zero-shot planners: extracting actionable knowledge for embodied agents. In Proc. 39th Int. Conf. Mach. Learn., Proc. Mach. Learn. Res., Vol. 162, p. 9118â9147. Cited by: §I. [5] B. Ichter, A. Brohan, Y. Chebotar, C. Finn, K. Hausman, A. Herzog, D. Ho, J. Ibarz, A. Irpan, E. Jang, et al. (2023) Do as i can, not as i say: grounding language in robotic affordances. In Proc. 6th Conf. Robot Learn., Proc. Mach. Learn. Res., Vol. 205, p. 287â318. Cited by: §I, §I-C. [6] J. Liang, W. Huang, F. Xia, P. Xu, K. Hausman, B. Ichter, P. Florence, and A. Zeng (2023) Code as policies: language model programs for embodied control. In Proc. IEEE Int. Conf. Robot. Autom., p. 9493â9500. External Links: Document Cited by: §I. [7] K. Rana, J. Haviland, S. Garg, J. Abou-Chakra, I. Reid, and N. SĂźnderhauf (2023) SayPlan: grounding large language models using 3d scene graphs for scalable robot task planning. In Proc. 7th Conf. Robot Learn., Proc. Mach. Learn. Res., Vol. 229, p. 23â72. Cited by: §I. [8] J. Mao, Y. Qian, J. Ye, H. Zhao, and Y. Wang (2023) GPT-Driver: learning to drive with GPT. arXiv preprint arXiv:2310.01415. External Links: Document Cited by: §I. [9] X. Tian, J. Gu, B. Li, Y. Liu, Y. Wang, Z. Zhao, K. Zhan, P. Jia, X. Lang, and H. Zhao (2025) DriveVLM: the convergence of autonomous driving and large vision-language models. In Proc. 8th Conf. Robot Learn., Proc. Mach. Learn. Res., Vol. 270, p. 4698â4726. Cited by: §I. [10] J. A. Reeds and L. A. Shepp (1990) Optimal paths for a car that goes both forwards and backwards. Pacific J. Math. 145 (2), p. 367â393. External Links: Document Cited by: §I-A. [11] B. Li, K. Wang, and Z. Shao (2016) Time-optimal maneuver planning in automatic parallel parking using a simultaneous dynamic optimization approach. IEEE Trans. Intell. Transp. Syst. 17 (11), p. 3263â3274. External Links: Document Cited by: §I-A. [12] B. Li, T. Acarman, X. Peng, Y. Zhang, X. Bian, and Q. Kong (2020) Maneuver planning for automatic parking with safe travel corridors: a numerical optimal control approach. In Proc. Eur. Control Conf., p. 1993â1998. External Links: Document Cited by: §I-A. [13] B. Li, T. Acarman, Y. Zhang, Y. Ouyang, C. Yaman, Q. Kong, X. Zhong, and X. Peng (2022) Optimization-based trajectory planning for autonomous parking with irregularly placed obstacles: a lightweight iterative framework. IEEE Trans. Intell. Transp. Syst. 23 (8), p. 11970â11981. External Links: Document Cited by: §I-A. [14] Y. Yang, D. Chen, T. Qin, X. Mu, C. Xu, and M. Yang (2024) E2E Parking: autonomous parking by the end-to-end neural network on the CARLA simulator. In Proc. IEEE Intell. Veh. Symp., p. 2375â2382. External Links: Document Cited by: §I-B. [15] C. Li, Z. Ji, Z. Chen, T. Qin, and M. Yang (2024) ParkingE2E: camera-based end-to-end parking network, from images to planning. In Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst., p. 13206â13212. External Links: Document, Link Cited by: §I-B. [16] H. Zheng, Z. Zhou, G. Zhang, Z. Wang, K. Wang, P. Li, S. Shen, M. Yang, and T. Qin (2025) MultiPark: multimodal parking transformer with next-segment prediction. arXiv preprint arXiv:2508.11537. External Links: Link Cited by: §I-B. [17] Y. Chen, J. Arkin, C. Dawson, Y. Zhang, N. Roy, and C. Fan (2024) AutoTAMP: autoregressive task and motion planning with LLMs as translators and checkers. In Proc. IEEE Int. Conf. Robot. Autom., p. 6695â6702. External Links: Document Cited by: §I-C. [18] W. Huang, C. Wang, R. Zhang, Y. Li, J. Wu, and L. Fei-Fei (2023) VoxPoser: composable 3d value maps for robotic manipulation with language models. In Proc. 7th Conf. Robot Learn., Proc. Mach. Learn. Res., Vol. 229, p. 540â562. Cited by: §I-C. [19] W. Huang, F. Xia, T. Xiao, H. Chan, J. Liang, P. Florence, A. Zeng, J. Tompson, I. Mordatch, Y. Chebotar, et al. (2023) Inner monologue: embodied reasoning through planning with language models. In Proc. 6th Conf. Robot Learn., Proc. Mach. Learn. Res., Vol. 205, p. 1769â1782. Cited by: §I-C. [20] N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao (2023) Reflexion: language agents with verbal reinforcement learning. In Adv. Neural Inf. Process. Syst., Vol. 36. External Links: Link Cited by: §I-C. [21] L. Wen, D. Fu, X. Li, X. Cai, T. Ma, P. Cai, M. Dou, B. Shi, L. He, and Y. Qiao (2024) DiLu: a knowledge-driven approach to autonomous driving with large language models. In Proc. 12th Int. Conf. Learn. Represent., External Links: Link Cited by: §I-C.