YangLing0818/buffer-of-thought-llm
Buffer of Thoughts is a thought-augmented reasoning framework that improves LLM problem-solving by storing and retrieving high-level reasoning templates.

The repository implements the NeurIPS 2024 Spotlight paper Buffer of Thoughts (BoT), a framework that augments Large Language Models with a thought buffer for storing reusable reasoning templates. The approach retrieves relevant thought templates from the buffer to guide problem-solving across diverse tasks, aiming to improve reasoning accuracy and efficiency. The framework includes template distillation from solved problems and template retrieval mechanisms for novel problem types.