Skip to main content
QUICK REVIEW

[论文解读] Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models

Ling Yang, Zhaochen Yu|arXiv (Cornell University)|Jun 6, 2024
Topic ModelingComputer Science被引用 7
一句话总结

Buffer of Thoughts (BoT) 引入一个高层次思维模板的元缓冲以及一个缓冲管理器,用以动态提炼并重用推理准则,在10个具有挑战性的任务上实现了最先进的改进,同时降低多问询提示成本。

ABSTRACT

We introduce Buffer of Thoughts (BoT), a novel and versatile thought-augmented reasoning approach for enhancing accuracy, efficiency and robustness of large language models (LLMs). Specifically, we propose meta-buffer to store a series of informative high-level thoughts, namely thought-template, distilled from the problem-solving processes across various tasks. Then for each problem, we retrieve a relevant thought-template and adaptively instantiate it with specific reasoning structures to conduct efficient reasoning. To guarantee the scalability and stability, we further propose buffer-manager to dynamically update the meta-buffer, thus enhancing the capacity of meta-buffer as more tasks are solved. We conduct extensive experiments on 10 challenging reasoning-intensive tasks, and achieve significant performance improvements over previous SOTA methods: 11% on Game of 24, 20% on Geometric Shapes and 51% on Checkmate-in-One. Further analysis demonstrate the superior generalization ability and model robustness of our BoT, while requiring only 12% of the cost of multi-query prompting methods (e.g., tree/graph of thoughts) on average. Notably, we find that our Llama3-8B+BoT has the potential to surpass Llama3-70B model. Our project is available at: https://github.com/YangLing0818/buffer-of-thought-llm

研究动机与目标

  • 激励并解决在大型语言模型推理中单次查询与多次查询提示的局限性。
  • 引入高层次思维模板的元缓冲及缓冲管理器,以提炼和重复使用推理准则。
  • 使思维模板能够针对具体任务进行实例化,以提升准确性和效率。
  • 在10个需要推理的任务上展示最先进的提升,并分析鲁棒性与效率。

提出的方法

  • 问题提炼模块在推理前提取关键任务信息与约束。
  • 元缓冲存储通用的高层次思考(思维模板),分为六种类型,并通过嵌入相似度进行检索。
  • 实例化推理通过一个实例化提示使检索出的思维模板适用于当前任务。
  • 缓冲管理器从已解决的问题中提炼模板并更新元缓冲,以改善未来的任务求解。
  • 使用两任务与跨任务示例来提炼鲁棒的思维模板并改善泛化。
  • 评估以 GPT-4 为基础模型(也分析 Llama3-8B/70B),覆盖10个基准,并与标准、单次查询、多次查询和元提示基线进行比较。

实验结果

研究问题

  • RQ1与单次查询和多次查询提示基线相比,Buffer of Thoughts 是否能在具有挑战性、需要推理的任务上提升准确性?
  • RQ2元缓冲通过在跨任务复用高层次思考来实现更好的泛化与鲁棒性吗?
  • RQ3与现有多查询方法相比,BoT 的效率影响是什么,较小的模型是否也能从 BoT 中受益?

主要发现

  • BoT 在多项任务上取得显著的准确性提升,包含 Game of 24 提升11%、Geometric Shapes 提升20%、Checkmate-in-One 提升51%。
  • BoT 的成本显著低于多查询提示方法,平均约为它们成本的12%。
  • BoT 展示出鲁棒性提升,在基线相比下具有更高的成功率。
  • 在若干任务中,使用 Llama3-8B 的 BoT 可能超过 Llama3-70B,改善效率-准确性权衡。
  • 缓冲管理器实现持续的元缓冲扩展,随着解决的问题增多,推理效率提高。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。