Cited by 556Topic ModelingNatural Language Processing TechniquesAI-based Problem Solving and Planning

Graph of Thoughts: Solving Elaborate Problems with Large Language Models

Open access
Besta, Maciej, Blach, Nils, Kubicek, Ales, Gerstenberger, Robert, Podstawski, Michal, Gianinazzi, Lukas, Gajda, Joanna, Lehmann, Tomasz +3 more·2024·Proceedings of the AAAI Conference on Artificial Intelligence

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 be used to spearhead new prompting schemes. This work brings the LLM reasoning closer to human thinking or brain mechanisms such as recurrence, both of which form complex networks

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1609/aaai.v38i16.29720

Cites

68 of 68 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Graph-of-Thoughts (GoT) models reasoning as arbitrary graphs with thoughts as vertices and dependencies as edges, improving quality by 62% and reducing costs by 31% compared to ToT.

    “Graph-of-Thoughts (GoT) models reasoning as arbitrary graphs with thoughts as vertices and dependencies as edges, improving quality by 62% and reducing costs by 31% compared to ToT [69, 832, 1376].”

    From A Survey of Context Engineering for Large Language Models (2025) · cites this paper as [69]

    The Introduction describes GoT as a graph with thoughts as vertices and dependencies as edges. Section 6.2 reports approximately 62% lower median error and more than 31% lower cost than ToT, but those figures are for a sorting task with P = 128; the claim omits that condition and presents the improvement as general. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • CoT and ToT reasoning extend single-agent reflection through structured deliberation.

    “Methods such as Chain-of-Thought (CoT) and Tree-of-Thought (ToT) reasoning (Yao et al., 2023; Besta et al., 2024) extend single-agent reflection through structured deliberation”

    From SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoning (2025) · cites this paper as Besta et al., 2024

    The Introduction (page not available) describes CoT as a chain of intermediate reasoning steps and ToT as a tree that permits exploring different paths and backtracking. That supports structured deliberation, but the paper does not say CoT and ToT extend single-agent reflection; its Prompting Paradigms & Approaches section discusses self-reflection separately. (LLM, conf=0.78)

    Experimental — accuracy not yet measured
  • GoT expands the tree-like reasoning structure in ToT to graph structures, resulting in more powerful prompting strategies.

    “In GoT [52], the authors expand the tree-like reasoning structure in ToT to graph structures, resulting in more powerful prompting strategies.”

    From A survey on large language model based autonomous agents (2024) · cites this paper as [52]

  • Tree-of-thoughts (ToT) and graph-of-thoughts (GoT) enable LLMs to branch, evaluate, and backtrack across multiple reasoning paths.

    “Early approaches extend CoT into treeor graph-structured representations, such as tree-of-thoughts (ToT) [254] and graph-ofthoughts (GoT) [255], enabling LLMs to branch, evaluate, and backtrack across multiple reasoning paths.”

    From A Survey of Large Language Models (2026) · cites this paper as [255]

  • Graph-of-Thoughts generalizes chain-of-thought reasoning into graph-structured trajectories, enabling intermediate states to branch, merge, and be reused.

    “Early formulations such as Graph-of-Thoughts [74] generalize chain-ofthought reasoning into graph-structured trajectories, enabling intermediate states to branch, merge, and be reused.”

    From Code as Agent Harness (2026) · cites this paper as [74]

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 8

  1. [8]8. Besta, M.; et al. 2021b. GraphMineSuite: Enabling High- Performance and Programmable Graph Mining Algorithms with Set Algebra. Proc. VLDB Endow., 14(11): 1922-1935.
  2. [13]13. Brown, T.; Mann, B.; Ryder, N.; Subbiah, M.; Kaplan, J. D.; Dhariwal, P.; et al. 2020. Language Models are Few-Shot Learn- ers. In Advances in Neural Information Processing Systems (NeurIPS '20), volume 33, 1877-1901.
  3. [20]20. Dohan, D.; Xu, W.; Lewkowycz, A.; Austin, J.; Bieber, D.; et al. 2022. Language Model Cascades. In Beyond Bayes: Paths To- wards Universal Reasoning Systems, Workshop at ICML '22.
  4. [21]21. Fan, W.; Li, J.; Ma, S.; Tang, N.; Wu, Y.; and Wu, Y. 2010. Graph Pattern Matching: From Intractable to Polynomial Time. Proc. VLDB Endow., 3(1-2): 264-275.
  5. [30]30. PMLR.
  6. [37]37. Malewicz, G.; Austern, M. H.; Bik, A. J.; et al. 2010. Pregel: A System for Large-Scale Graph Processing. In International Con- ference on Management of Data, SIGMOD '10, 135-146. ACM.
  7. [51]51. Teixeira, C. H. C.; et al. 2015. Arabesque: A System for Dis- tributed Graph Mining. In 25th Symposium on Operating Systems Principles, SOSP '15, 425-440. ACM.
  8. [54]54. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; et al. 2017. Attention is All you Need. In Advances in Neural Information Processing Systems (NIPS '17), volume 30.

Cited by

Sorted by citations

Authors
Besta, M., Blach, N., Kubicek, A., Gerstenberger, R., Podstawski, M., Gianinazzi, L., Gajda, J., Lehmann, T., Niewiadomski, H., Nyczyk, P., & Hoefler, T.
Affiliations
ETH Zurich (CH)
Venue
Proceedings of the AAAI Conference on Artificial Intelligence
Published
2024-03-24
Volume
38
Issue
16
Pages
17682-17690
ISSN
  • 2159-5399 (ISSN-L)
  • 2374-3468
OpenAlex
W4393160302
Cited by
556
References
68
Citations by year
2026: 201 · 2025: 235 · 2024: 111 · 2023: 9
FWCI
161.72
Type
conference paper
Language
en
Open access
Locations
  • Proceedings of the AAAI Conference on Artificial Intelligence (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • AAAI Publications (The Association for the Advancement of Artificial Intelligence (AAAI)) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • European High Performance Computing Joint Undertaking
  • European Commission (101070141, 955513)
  • H2020 European Research Council (101002047)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › AI-based Problem Solving and Planning
Keywords
graph-of-thought, large language models, prompting, chain-of-thought, tree-of-thought, graph reasoning, feedback loops, sorting, LLM reasoning

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review