[Paper Review] LLM-Assist: Enhancing Closed-Loop Planning with Language-Based Reasoning
LLM-Assist proposes a hybrid planning framework that dynamically invokes Large Language Models (LLMs) to enhance a rule-based planner (PDM-Closed) in autonomous driving, improving performance in complex, high-uncertainty scenarios. By using LLMs to generate or refine planning parameters based on scored planner outputs, it achieves state-of-the-art results on the nuPlan benchmark in both closed-loop reactive and non-reactive settings.
Although planning is a crucial component of the autonomous driving stack, researchers have yet to develop robust planning algorithms that are capable of safely handling the diverse range of possible driving scenarios. Learning-based planners suffer from overfitting and poor long-tail performance. On the other hand, rule-based planners generalize well, but might fail to handle scenarios that require complex driving maneuvers. To address these limitations, we investigate the possibility of leveraging the common-sense reasoning capabilities of Large Language Models (LLMs) such as GPT4 and Llama2 to generate plans for self-driving vehicles. In particular, we develop a novel hybrid planner that leverages a conventional rule-based planner in conjunction with an LLM-based planner. Guided by commonsense reasoning abilities of LLMs, our approach navigates complex scenarios which existing planners struggle with, produces well-reasoned outputs while also remaining grounded through working alongside the rule-based approach. Through extensive evaluation on the nuPlan benchmark, we achieve state-of-the-art performance, outperforming all existing pure learning- and rule-based methods across most metrics. Our code will be available at https://llmassist.github.io.
Motivation & Objective
- To address the limitations of pure learning-based and rule-based planners in handling diverse, complex driving scenarios.
- To investigate whether LLMs can improve planning robustness through commonsense reasoning in closed-loop autonomous driving.
- To develop a hybrid system that selectively leverages LLMs only when the base planner's confidence is low, ensuring safety and efficiency.
- To produce interpretable, reasoned planning decisions grounded in physical planner parameters.
- To demonstrate that LLMs can enhance existing rule-based planners without replacing them, achieving superior performance on benchmark evaluations.
Proposed method
- A score-based trigger mechanism invokes the LLM when the base planner's output scores (e.g., collision risk, comfort) fall below predefined thresholds.
- An unconstrained LLM planner directly generates 2D trajectory coordinates from a natural language scene description, bypassing direct control of planner parameters.
- A parameter-control mode allows the LLM to output meaningful planning parameters (e.g., target speed, centerline offset) for the base planner, ensuring physical grounding.
- The LLM processes structured scene descriptions derived from perception and prediction modules, enabling context-aware reasoning.
- The system uses GPT-3 and GPT-4 for LLM inference, with temperature hyperparameters tuned for optimal performance.
- An open-source Llama2-7B model was evaluated but found unsuitable due to inconsistent output formatting without fine-tuning.
Experimental results
Research questions
- RQ1Can LLMs improve planning performance in autonomous driving by providing commonsense reasoning in complex, low-frequency scenarios?
- RQ2How can LLMs be integrated with existing rule-based planners to enhance safety, efficiency, and comfort without compromising real-time performance?
- RQ3What is the optimal strategy for triggering LLM involvement—based on planner confidence scores or direct trajectory generation?
- RQ4How do different LLM architectures (e.g., GPT-3 vs. GPT-4) and hyperparameters (e.g., temperature) affect planning outcomes?
- RQ5Can open-source LLMs like Llama2 be effectively used in this hybrid planning framework without fine-tuning?
Key findings
- LLM-Assist achieved state-of-the-art performance on the nuPlan benchmark in both closed-loop reactive and non-reactive settings, outperforming all prior learning- and rule-based methods.
- The parameter-control mode of LLM-Assist significantly improved safety and comfort metrics, particularly in scenarios where the base planner failed or produced suboptimal results.
- GPT-3 performed best at a temperature of 1.4, indicating that increased generation diversity improved planning outcomes in unconstrained settings.
- GPT-4 showed a slight performance edge over GPT-3 in unconstrained planning, while GPT-3 slightly outperformed in constrained parameter control settings.
- Llama2-7B was found unsuitable for the task without fine-tuning, as it failed to produce consistent, format-specific outputs even with in-context examples.
- Qualitative analysis confirmed that LLM-Assist could generate well-reasoned, interpretable plans for complex maneuvers such as lane changes in dense traffic, which the base planner could not handle effectively.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.