Graph of Thoughts: Solving Elaborate Problems with Large Language Models
Maciej Besta, Nils Blach, Ales Kubicek, Robert Gerstenberger, Michal, Podstawski, Lukas Gianinazzi, Joanna Gajda, Tomasz Lehmann, Hubert, Niewiadomski, Piotr Nyczyk, Torsten Hoefler

TL;DR
Graph of Thoughts (GoT) is a novel framework that models LLM generated information as graphs, enabling more complex reasoning and improved task performance over existing methods like Chain-of-Thought and Tree of Thoughts.
Contribution
GoT introduces a flexible graph-based approach to LLM prompting, surpassing prior paradigms in reasoning capability and efficiency, and allowing extensibility with new thought transformations.
Findings
Increased sorting quality by 62% over Tree of Thoughts
Reduced computational costs by over 31%
Demonstrated advantages across multiple tasks
Abstract
We introduce Graph of Thoughts (GoT): a framework that advances prompting capabilities in large language models (LLMs) beyond those offered by paradigms such as Chain-of-Thought or Tree of Thoughts (ToT). The key idea and primary advantage of GoT is the ability to model the information generated by an LLM as an arbitrary graph, where units of information ("LLM thoughts") are vertices, and edges correspond to dependencies between these vertices. This approach enables combining arbitrary LLM thoughts into synergistic outcomes, distilling the essence of whole networks of thoughts, or enhancing thoughts using feedback loops. We illustrate that GoT offers advantages over state of the art on different tasks, for example increasing the quality of sorting by 62% over ToT, while simultaneously reducing costs by >31%. We ensure that GoT is extensible with new thought transformations and thus can…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Advanced Graph Neural Networks · Natural Language Processing Techniques
