[论文解读] Translating Natural Language to Planning Goals with Large-Language Models
本论文评估 GPT-3.5 变体作为将自然语言翻译为 PDDL 目标的翻译器,发现对于明确、良好指定的任务具有强大的翻译性能,但对于部分指定或数值/物理要求高的任务可靠性有限,揭示了将大语言模型用作规划者目标翻译器的潜力与陷阱。
Recent large language models (LLMs) have demonstrated remarkable performance on a variety of natural language processing (NLP) tasks, leading to intense excitement about their applicability across various domains. Unfortunately, recent work has also shown that LLMs are unable to perform accurate reasoning nor solve planning problems, which may limit their usefulness for robotics-related tasks. In this work, our central question is whether LLMs are able to translate goals specified in natural language to a structured planning language. If so, LLM can act as a natural interface between the planner and human users; the translated goal can be handed to domain-independent AI planners that are very effective at planning. Our empirical results on GPT 3.5 variants show that LLMs are much better suited towards translation rather than planning. We find that LLMs are able to leverage commonsense knowledge and reasoning to furnish missing details from under-specified goals (as is often the case in natural language). However, our experiments also reveal that LLMs can fail to generate goals in tasks that involve numerical or physical (e.g., spatial) reasoning, and that LLMs are sensitive to the prompts used. As such, these models are promising for translation to structured planning languages, but care should be taken in their use.
研究动机与目标
- 评估大型语言模型是否能够将自然语言指令翻译为用于规划的 PDDL 目标。
- 评估提示(单-shot 与多-shot)如何影响翻译质量和跨域配置的泛化。
- 识别翻译中的失败模式,特别是对于数值、空间或谓词语义推理,并分析子任务(领域理解、目标推断、PDDL 目标制定)。
- 通过将翻译与规划分离(解析-求解方法)为机器人规划设计 LLM 基本目标翻译器提供指南。
提出的方法
- 使用 GPT-3.5 变体(Blocksworld 使用 code-davinci-002,ALFRED-L 使用 text-davinci-003)将英语指令翻译为 PDDL 目标。
- 在两个域(Blocksworld 和 ALFRED-L)对多种任务类型进行测试,包括明确指定和部分指定的目标。
- 用严格和宽松的成功标准来评估翻译相对于规划者的兼容性和谓词正确性。
- 将翻译分解为领域理解、目标推断和 PDDL 目标设定以诊断故障点。
- 通过改变 n-shot 提示和句子顺序(例如自下而上 vs 自上而下)分析提示敏感性。
实验结果
研究问题
- RQ1LLMs 能否在跨域中可靠地将自然语言目标翻译为与 PDDL 兼容的目标?
- RQ2领域理解、目标推断和 PDDL 生成如何促成翻译的成功或失败?
- RQ3提示设计(shots、示例和排序)对翻译性能与泛化有何影响?
- RQ4在翻译为规划目标时,尤其是数值和空间推理方面,主要的失败模式是什么?
主要发现
- LLMs 能够有效地将明确、毫不含糊的自然语言目标翻译成 PDDL,在严格标准下表现出高成功率(例如 ExplicitStacks:宽松 99.67%,严格 98.67%;ALFRED-L 的 ExplicitInstruct:两者 100%)。
- 对于部分指定的目标和模糊提示,性能下降(例如 BlockAmbiguity、KStacksColor 在严格/宽松标准下显示低成功率)。
- 翻译性能对提示敏感;单-shot 与多-shot 示例及排序(自下而上 vs 自上而下)可能导致显著差异(ExplicitStacks-II 约 50% 而对于无歧义情况更高)。
- LLMs 显示出强大的语言能力和常识性填补缺口,但在数值和物理(空间)推理方面存在困难,影响诸如计数和嵌套关系的任务(MoveToCount2/3、MoveNested、MoveNested2)。
- 领域理解和目标推断子任务与翻译成功相关;失败通常涉及对领域模型中的谓词语义或层级关系的困难(Blocksworld)以及数值/地面化方面(ALFRED-L)。
- 解析-求解(翻译优先)方法有前景,但需要对模型偏差和失败模式进行仔细处理,才能在真实系统中实现可靠性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。