Papers

研究显示给 LLM 提供论文作上下文反而让四足机器人导航代码更脆弱

Does Research-Paper Context Improve LLM-Generated Quadruped Navigation? An Exploratory Simulation Study

Why we picked it

对做机器人代码生成的人来说有点反直觉:给 Claude Opus 5 喂重规划论文,Go2 导航代码在 Isaac Sim 里反而更容易崩,8 个只过 2 个,不喂论文过 7 个。作者把原因指向模型过度采纳论文目标,建议评测别只停在运动学仿真。

一项 arXiv 仿真研究测试了给 LLM 提供相关论文作上下文,能否提升其编写的四足机器人导航代码质量。实验将 Claude Opus 5 与 Go2 四足机器人的运动策略冻结,在行为树、共享基础控制器编辑、从零编写三种设置下,对比有/无论文上下文的控制器表现。在 Isaac Sim 物理仿真中,迷宫最短路径中途被阻断时,提供了增量重规划论文的 8 个控制器中仅 2 个完成全部四次行程,无论文上下文则有 7 个完成(双侧 Fisher 精确检验,p = 0.041)。差异只在物理仿真中出现:在理想化运动学仿真器中,两组控制器表现无差别。

Body

作者假设 LLM 在拿到论文作上下文时,倾向于过度采纳论文内容及其目标(此处为增量重规划的效率),反而损害主任务达成,产出鲁棒性更差的代码。结论对用文献增强的机器人代码生成流程是一个警示:论文上下文并非总是有益,需在物理环境中做任务级评测。

Original · arXiv cs.AI

Does Research-Paper Context Improve LLM-Generated Quadruped Navigation? An Exploratory Simulation Study

Large language models can write competent robot navigation code, but not only does the research on the topic advance, a model may also, due to the volume of findings, fail to recall relevant findings and apply them to the task at hand. In this work, we test whether providing particular research papers as context improves the LLM-written navigation code for the Go2 quadruped, with the LLM (Claude Opus 5) and locomotion policy frozen. Specifically, we compare the navigation controllers the LLM writes when provided with and without particular papers across three settings: behavior trees, navigators edited from a shared base, and controllers written from scratch. When a maze's shortest route is blocked mid-episode, 2 of 8 controllers written with the context of an incremental-replanning paper complete all four trips under Isaac Sim physics, against 7 of 8 without it (two-sided Fisher's exact test, p = 0.041). This difference appears only under physics: in an idealized kinematic simulator, the controllers written with and without the paper are indistinguishable. We hypothesize that an LLM provided research papers as context tends to overweight both their content and their goals -- in this case, the efficiency of incremental replanning -- negatively affecting the fulfillment of the main task and leading to less robust code.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude Opus 5, Go2, Isaac Sim, LLM.

Source attribution: curated from arXiv cs.AI (@Barnabas Juhasz, Rolf Pfister).