arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.00430cs.ROcs.AI
收藏

评估基于不确定性的闭环 LLM 规划器故障检测

Evaluating Uncertainty-based Failure Detection for Closed-Loop LLM Planners

Technical University of Munich(慕尼黑工业大学)

Zhi Zheng, Qian Feng, Hang Li, Alois Knoll, Jianxiang Feng

AI总结:

本文提出 KnowLoop 闭环 LLM 规划框架,利用与模型无关的 MLLM 不确定性检测器识别故障,并比较 token probability、entropy 与 self-explained confidence,证明前两者结合阈值和人工求助可显著提升检测与任务成功率。

摘要:

近年来,大型语言模型(LLM)作为机器人操作任务的零样本任务规划器表现出显著性能。然而,以往工作的开环特性使基于 LLM 的规划容易出错且脆弱。另一方面,用于闭环规划的故障检测方法往往受限于特定任务的启发式规则,或遵循预测始终可信这一不现实假设。作为通用推理机器,LLM 或多模态大型语言模型(MLLM)在检测故障方面很有前景。然而,由于众所周知的幻觉问题,上述假设的合理性会减弱。在本工作中,我们尝试通过引入一个名为 KnowLoop 的基于 LLM 的闭环规划框架来缓解这些问题,该框架由基于不确定性的 MLLM 故障检测器支持,并且与所使用的任何 MLLM 或 LLM 无关。具体而言,我们基于三种精心设计的代表性提示策略,评估了三种量化 MLLM 不确定性的不同方式,即 token probability、entropy 和 self-explained confidence,作为主要指标。借助一个包含多种操作任务的自收集数据集以及一个基于 LLM 的机器人系统,我们的实验表明,与 self-explained confidence 相比,token probability 和 entropy 更具反映能力。通过设置适当阈值过滤不确定预测并主动寻求人类帮助,故障检测的准确性可以显著提高。这种改进提升了闭环规划的有效性和任务的总体成功率。

英文摘要:

Recently, Large Language Models (LLMs) have witnessed remarkable performance as zero-shot task planners for robotic manipulation tasks. However, the open-loop nature of previous works makes LLM-based planning error-prone and fragile. On the other hand, failure detection approaches for closed-loop planning are often limited by task-specific heuristics or following an unrealistic assumption that the prediction is trustworthy all the time. As a general-purpose reasoning machine, LLMs or Multimodal Large Language Models (MLLMs) are promising for detecting failures. However, However, the appropriateness of the aforementioned assumption diminishes due to the notorious hullucination problem. In this work, we attempt to mitigate these issues by introducing a framework for closed-loop LLM-based planning called KnowLoop, backed by an uncertainty-based MLLMs failure detector, which is agnostic to any used MLLMs or LLMs. Specifically, we evaluate three different ways for quantifying the uncertainty of MLLMs, namely token probability, entropy, and self-explained confidence as primary metrics based on three carefully designed representative prompting strategies. With a self-collected dataset including various manipulation tasks and an LLM-based robot system, our experiments demonstrate that token probability and entropy are more reflective compared to self-explained confidence. By setting an appropriate threshold to filter out uncertain predictions and seek human help actively, the accuracy of failure detection can be significantly enhanced. This improvement boosts the effectiveness of closed-loop planning and the overall success rate of tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑