paper-with-me

홈 › Papers

Graph of Thoughts: Solving Elaborate Problems with Large Language Models

2023-08-18 · Maciej Besta, Nils Blach, Ales Kubicek, Robert Gerstenberger, Michal Podstawski, Lukas Gianinazzi, Joanna Gajda, Tomasz Lehmann, Hubert Niewiadomski, Piotr Nyczyk, Torsten Hoefler

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.

📄 PDF Abstract BibTeX arXiv:2308.09687

Code (3)

spcl/graph-of-thoughts 공식 구현
ArmelRandy/tree-of-problems pytorch
chiral-carbon/kg-for-science

Similar Papers 제목 키워드 기반

Reinforced Graph of Thoughts: RL-Driven Adaptive Prompting for LLMs

2026-05-21 · Manuel Noah Riesen, Peter Alfred von Niederhäusern arxiv

Graph of Thoughts (GoT), a generalized form of recent prompting paradigms for large language models (LLMs), has been shown to be useful for elaborate problem solving. By executing a graph of operations, thoughts of the L…

Reinforcement Learning

LongPerceptualThoughts: Distilling System-2 Reasoning for System-1 Perception

2025-04-21 · Yuan-Hong Liao, Sven Elflein, Liu He, Laura Leal-Taixé 외

Recent reasoning models through test-time scaling have demonstrated that long chain-of-thoughts can unlock substantial performance boosts in hard reasoning tasks such as math and code. However, the benefit of such long t…

MathMMLUMultiple-choiceVisual Reasoning

Boosting of Thoughts: Trial-and-Error Problem Solving with Large Language Models

2024-02-17 · Sijia Chen, Baochun Li, Di Niu

The reasoning performance of Large Language Models (LLMs) on a wide range of problems critically relies on chain-of-thought prompting, which involves providing a few chain of thought demonstrations as exemplars in prompt…

Toward Adaptive Reasoning in Large Language Models with Thought Rollback

2024-12-27 · Sijia Chen, Baochun Li

Large language models (LLMs) have been routinely used to solve various tasks using step-by-step reasoning. However, the structure of intermediate reasoning steps, or thoughts, is rigid and unidirectional, such as chains,…

Math

Tree of Problems: Improving structured problem solving with compositionality

2024-10-09 · Armel Zebaze, Benoît Sagot, Rachel Bawden

Large Language Models (LLMs) have demonstrated remarkable performance across multiple tasks through in-context learning. For complex reasoning tasks that require step-by-step thinking, Chain-of-Thought (CoT) prompting ha…

In-Context Learning