arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.07036cs.CLcs.LGcs.MA
收藏

ReDAct:基于不确定性的延迟策略用于LLM代理

ReDAct: Uncertainty-Aware Deferral for LLM Agents

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Ocapital;National University of Science and Technology (NUST) MISIS(国立科技大学(NUST)MISIS);AXXX;Ivannikov Institute for System Programming of the Russian Academy of Sciences(俄罗斯科学院伊万尼科夫系统编程研究所);Trusted AI Center, RAS(俄罗斯科学院可信人工智能中心)

Dzianis Piatrashyn, Nikita Kotelevskii, Kirill Grishchenkov, Nikita Glazkov, Ivan Nasonov, Ilya Makarov, Timothy Baldwin, Preslav Nakov, Roman Vashurin, Maxim Panov

AI总结:

本文提出ReDAct方法,通过在LLM代理中引入小规模和大规模模型,利用小模型的低成本和大模型的高可靠性,在不确定时延迟决策,从而在降低推理成本的同时保持决策质量。

摘要:

近年来,基于LLM的代理在许多应用中变得越来越流行,包括复杂的顺序决策问题。然而,它们继承了LLM的幻觉倾向,导致错误决策。在顺序设置中,即使一次错误也会不可逆地降级轨迹,使幻觉问题更加严重。尽管更大的LLM幻觉更少,但它们带来显著更高的每token成本。在本文中,我们通过提出ReDAct(Reason-Defer-Act)来解决这一权衡。在ReDAct中,代理配备了两个LLM:一个小型、低成本的模型用于默认,一个大型、更可靠但更昂贵的模型。当小型模型的预测不确定性超过校准阈值时,决策将延迟给大型模型。我们在基于文本的具身环境中(如ALFWorld和MiniGrid)评估了我们的方法,并显示将约15%的决策延迟给大型模型可以达到仅使用大型模型的质量,同时显著降低推理成本。

英文摘要:

Recently, LLM-based agents have become increasingly popular across many applications, including complex sequential decision-making problems. However, they inherit the tendency of LLMs to hallucinate, leading to incorrect decisions. In sequential settings, even a single mistake can irreversibly degrade the trajectory, making hallucinations an even bigger problem. Although larger LLMs hallucinate less, they incur a significantly higher per-token cost. In this paper, we address this tradeoff by proposing ReDAct (Reason-Defer-Act). In ReDAct, an agent is equipped with two LLMs: a small, cheap model used by default, and a large, more reliable but expensive model. When the predictive uncertainty of the small model exceeds a calibrated threshold, the decision is deferred to the large model. We evaluate our approach in text-based embodied environments such as ALFWorld and MiniGrid and show that deferring only about 15% of decisions to the large model can match the quality of using it exclusively, while significantly reducing inference costs.

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

↑