atlas

Research map / Large language models / Reasoning and chain of thought

Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models

ICML 2024 · Large language models › Reasoning and chain of thought · approach: Search and self-correction in reasoning · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Algorithm of Thoughts (AoT), a single-prompt in-context method whose exemplars show DFS/BFS-style search traces so the LLM explores ideas within one generation, matching or beating tree-search ToT with far fewer queries.

Problem

Multi-query reasoning methods such as Tree of Thoughts require halting, evaluating, and resuming generation, which multiplies query count, latency, cost, and tokens for tasks needing extensive idea exploration.

Approach

Few-shot exemplars capture the full algorithmic search process (node selection, expansion, failed attempts, backtracking) rather than only solution steps, so the LLM internalizes tree search and generates the whole exploration in one uninterrupted sequence at temperature 0.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use AoT instead of ToTGPT-4 · Game of 24success: 69% -> 71%Helped
manually resolve the final answer after AoT finds a solution (ablation)AoT · Game of 24success: 71% -> 78%Helped
use shorter in-context examples with one or two steps (ablation)AoT · Game of 24success: 71% -> 48%Hurt
use AoT instead of ToTGPT-4 · Mini Crosswords (5×5)word success: 46.5% -> 52%Helped
use AoT instead of ToTGPT-4 · GSM8Kaccuracy: 90% -> 89%Hurt
use AoT instead of CoTGPT-4 · GSM8Kaccuracy: 86% -> 89%Helped
use AoT instead of ToTGPT-4 · StrategyQAaccuracy: 83% -> 84%Helped
use AoT instead of CoTGPT-4 · Coin Changeaccuracy: 76% -> 96%Helped
use AoT instead of CoTGPT-4 · Edit Distanceaccuracy: 64% -> 90%Helped
use AoT instead of ToTGPT-4 · Creative Writingscore: 7.56 -> 7.58No clear effect
fine-tune AoT prompts on 900 examplesGPT-3.5-Turbo · Game of 24success: 3% -> 63%Helped
fine-tune CoT prompts on 900 examplesGPT-3.5-Turbo · Game of 24success: 3% -> 12%Helped

Surprising findings

Limitations

Experimental setup

Datasets: 4nums.com game of 24 (indices 901-1000) goobix.com mini crosswords (20 test games) GSM8K (first 100 questions) StrategyQA (first 100 questions) Coin Change Edit Distance

Benchmarks: Game of 24 Mini Crosswords Creative Writing GSM8K StrategyQA Coin Change Edit Distance

Metrics: success rate word success rate number of queries prompt tokens completion tokens coherence score (1-10)

Baselines: standard prompting CoT CoT-SC Tree of Thoughts I/O + Refine DFS

Builds on: chain-of-thought tree of thoughts self-consistency least-to-most prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy