arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.07694cs.CLcs.AIcs.LG
收藏

大型语言模型的树状不确定思维推理

Tree of Uncertain Thoughts Reasoning for Large Language Models

Carnegie Mellon University(卡内基梅隆大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Shentong Mo, Miao Xin

AI总结:

针对大型语言模型推理中忽略局部不确定性的问题,提出 Tree of Uncertain Thoughts (TouT) 框架,利用 Monte Carlo Dropout 量化中间步骤不确定性并结合全局搜索算法,在规划任务上显著提升了推理精度。

摘要:

虽然最近引入的 Tree of Thoughts (ToT) 在允许大型语言模型(LLMs)通过前瞻和回溯进行全局决策推理方面取得了进展,但它忽略了中间决策点或“思维”中固有的局部不确定性。鉴于 LLMs 产生多样化响应的潜力,这些局部不确定性是 LLMs 固有的,在推理过程中仍是一个重要问题。针对这一关键空白,我们引入了 Tree of Uncertain Thoughts (TouT)——一种专为 LLMs 设计的推理框架。我们的 TouT 有效地利用 Monte Carlo Dropout 来量化 LLMs 在这些中间步骤中多样化局部响应相关的不确定性分数。通过将这种局部不确定性与全局搜索算法相结合,TouT 提高了模型生成响应的精度。我们通过在两个具有挑战性的规划任务上的严格实验验证了该方法:Game of 24 和 Mini Crosswords。实验证据突显了 TouT 相对于 ToT 和思维链提示方法的优越性。

英文摘要:

While the recently introduced Tree of Thoughts (ToT) has heralded advancements in allowing Large Language Models (LLMs) to reason through foresight and backtracking for global decision-making, it has overlooked the inherent local uncertainties in intermediate decision points or "thoughts". These local uncertainties, intrinsic to LLMs given their potential for diverse responses, remain a significant concern in the reasoning process. Addressing this pivotal gap, we introduce the Tree of Uncertain Thoughts (TouT) - a reasoning framework tailored for LLMs. Our TouT effectively leverages Monte Carlo Dropout to quantify uncertainty scores associated with LLMs' diverse local responses at these intermediate steps. By marrying this local uncertainty quantification with global search algorithms, TouT enhances the model's precision in response generation. We substantiate our approach with rigorous experiments on two demanding planning tasks: Game of 24 and Mini Crosswords. The empirical evidence underscores TouT's superiority over both ToT and chain-of-thought prompting methods.

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

↑