PlannerForge:用于自动驾驶运动规划器场景测试的LLM智能体

·

研究论文 · 2026/09/10

确保自动驾驶安全是一项关键挑战。基于场景的测试是验证自动驾驶系统(ADS)的系统性流程,但目前仍是一个碎片化的模块化流水线,场景生成、检索、修改、ADS执行和结果分析由独立工具完成,交互很少。大语言模型(LLM)智能体已在感知、规划和控制等ADS子系统中展现出潜力,但此前没有工作以统一的LLM智能体框架覆盖ADS的整个基于场景的测试流水线。我们提出PlannerForge,一个LLM智能体框架,扩展了所有基于场景的测试阶段(从场景生成到ADS评估),并新增两个LLM增强阶段:ADS增强和ADS基准测试。我们在5种提示条件下,使用10个现成LLM评估PlannerForge在所有任务(生成、选择、修改、模块路由、规划器测试和增强)上的表现。各任务最佳得分为0.88至1.00,开源20-35B后端在多数任务上匹配商业API。Qwen3.6:35B等开源模型在五个任务中的三个上匹配商业API。端到端串联模块保留了83%/78%的种子查询(商业/开源)。在自然语言生成上,它优于Scenario Factory 2.0(Finkeldei等,2025)(200个中193个可执行 vs. 144个),并实现了92-96%的请求城市、道路和车辆属性。在排名1选择上,它优于BM25(Robertson和Zaragoza,2009)(92.0% vs. 67.5%),在物理有效编辑上优于From-Words-to-Collisions(Gao等,2025)(>=94% vs. 31%)。在N=400时,成本调优将规划器成功率从50.4%提升至70.2%,并将碰撞从19.0%降至8.4%,无需领域特定微调。

该工作首次将LLM智能体统一应用于自动驾驶基于场景的测试全流程,并在多个任务上达到与商业API相当的性能,同时显著提升规划器成功率和安全性,为自动驾驶测试提供了高效、可扩展的新范式。

Ensuring the safety of autonomous driving is a critical challenge. Scenario-based testing is a systematic process used to validate Autonomous Driving Systems (ADSs), but it remains a fragmented modular pipeline in which scenario generation, retrieval, modification, ADS execution, and results analysis are performed by separate tools with little interaction. Large Language Model (LLM) agents have shown promise across ADS sub-systems such as perception, planning, and control. However, no prior work covers the whole scenario-based testing pipeline for ADSs with a unified LLM-agent framework. We present PlannerForge, an LLM-agent framework that extends all scenario-based testing stages (from Scenario Generation to ADS Assessment) and adds two further LLM-enhanced stages: ADS Enhancement and ADS Benchmarking. We evaluate PlannerForge with 10 off-the-shelf LLMs across all tasks (Generation, Selection, Modification, Module Routing, Planner Testing, and Enhancement) under 5 prompt conditions. Best-per-task scores range from 0.88 to 1.00, and open-source 20-35B backends match commercial APIs on most tasks. Open-source models such as Qwen3.6:35B match commercial APIs on three of the five tasks. Chaining the modules end-to-end retains 83% / 78% of seed queries (commercial / open). It outperforms Scenario Factory 2.0 (Finkeldei et al., 2025) on natural-language generation (193 vs. 144 executable of 200) and realises 92-96% of requested city, road and vehicle attributes. It outperforms BM25 (Robertson and Zaragoza, 2009) at rank 1 selection (92.0% vs. 67.5%) and From-Words-to-Collisions (Gao et al., 2025) on physically valid edits (>=94% vs. 31%). At N=400, cost-tuning lifts planner success from 50.4% to 70.2% and cuts collisions from 19.0% to 8.4%, without domain-specific fine-tuning.

阅读原文

参与讨论