arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.00251cs.LGcs.AIcs.CL
收藏

面向黑盒大语言模型与决策规划的高效非参数不确定性量化

Efficient Non-Parametric Uncertainty Quantification for Black-Box Large Language Models and Decision Planning

Apple(苹果公司)

Yao-Hung Hubert Tsai, Walter Talbott, Jian Zhang

AI总结:

针对大语言模型决策规划的幻觉问题及现有方法对黑盒模型适配差、成本高的痛点,提出无需logits的单次推理非参数不确定性量化方法,并设计了带偏好征询的决策智能体方案,为AI智能体开发提供低成本高效方案。

摘要:

基于大语言模型(LLMs)的分步决策规划在AI智能体开发中日益受到关注。本文聚焦带不确定性估计的决策规划,以解决语言模型的幻觉问题。现有方法要么是白盒的,要么计算成本高昂,限制了黑盒专有LLMs在预算范围内的使用。本文的第一项贡献是提出一种面向LLMs的非参数不确定性量化方法,仅需单次推理即可实时高效估计输入-决策间的逐点依赖关系,且无需访问token logits。该估计器可为决策可信度提供统计学层面的解释。第二项贡献是设计了一套系统化的决策智能体方案,可根据“洗澡”这类用户提示生成“打开浴室灯”这类动作。当有多个动作的估计逐点依赖度都较高时,系统会询问用户提供偏好。综上,我们的不确定性估计方法与决策智能体设计为AI智能体开发提供了一种高成本效益的方案。

英文摘要:

Step-by-step decision planning with large language models (LLMs) is gaining attention in AI agent development. This paper focuses on decision planning with uncertainty estimation to address the hallucination problem in language models. Existing approaches are either white-box or computationally demanding, limiting use of black-box proprietary LLMs within budgets. The paper's first contribution is a non-parametric uncertainty quantification method for LLMs, efficiently estimating point-wise dependencies between input-decision on the fly with a single inference, without access to token logits. This estimator informs the statistical interpretation of decision trustworthiness. The second contribution outlines a systematic design for a decision-making agent, generating actions like ``turn on the bathroom light'' based on user prompts such as ``take a bath''. Users will be asked to provide preferences when more than one action has high estimated point-wise dependencies. In conclusion, our uncertainty estimation and decision-making agent design offer a cost-efficient approach for AI agent development.

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

↑