Skip to main content
QUICK REVIEW

[Paper Review] Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models

Ling Yang, Zhaochen Yu|arXiv (Cornell University)|Jun 6, 2024
Topic ModelingComputer Science7 citations
TL;DR

Buffer of Thoughts (BoT) introduces a meta-buffer of high-level thought-templates and a buffer-manager to dynamically distill and reuse reasoning guidelines, achieving state-of-the-art improvements across 10 challenging tasks while reducing multi-query prompting costs.

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

Motivation & Objective

  • Motivate and address limitations of single-query and multi-query prompting in LLM reasoning.
  • Introduce a meta-buffer of high-level thought-templates and a buffer-manager to distill and reuse reasoning guidelines.
  • Enable task-specific instantiation of thought-templates for improved accuracy and efficiency.
  • Demonstrate state-of-the-art gains on 10 reasoning-intensive tasks and analyze robustness and efficiency.

Proposed method

  • Problem distiller module extracts essential task information and constraints before reasoning.
  • Meta-buffer stores universal high-level thoughts (thought-templates) categorized into six types and retrieved by embedding similarity.
  • Instantiated reasoning adapts the retrieved thought-template to the current task via an instantiation prompt.
  • Buffer-manager distills templates from solved problems and updates the meta-buffer to improve future Task solving.
  • Two-task and cross-task examples are used to distill robust thought-templates and improve generalization.
  • Evaluation uses GPT-4 as base model (also analyzes Llama3-8B/70B) across 10 benchmarks and compares to standard, single-query, multi-query, and meta-prompting baselines.

Experimental results

Research questions

  • RQ1Can Buffer of Thoughts improve accuracy on challenging, reasoning-intensive tasks compared with single- and multi-query prompting baselines?
  • RQ2Does the meta-buffer enable better generalization and robustness by reusing high-level thoughts across tasks?
  • RQ3What are the efficiency implications of BoT compared with existing multi-query approaches, and can smaller models benefit from BoT?

Key findings

  • BoT achieves significant accuracy gains over prior methods on multiple tasks, including 11% on Game of 24, 20% on Geometric Shapes, and 51% on Checkmate-in-One.
  • BoT attains substantially lower cost than multi-query prompting methods, averaging about 12% of their cost.
  • BoT demonstrates robustness improvements, with higher success rates across benchmarks compared with baselines.
  • BoT with Llama3-8B can potentially surpass Llama3-70B on several tasks, improving the efficiency-accuracy trade-off.
  • Buffer-manager enables continual meta-buffer expansion, leading to improved reasoning efficiency as more problems are solved.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.