Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Current literature, aiming to surpass the "Chain-of-Thought" approach, often resorts to external modi operandi involving halting, modifying, and then resuming the generation process to boost Large Language Models' (LLMs) reasoning capacities. Due to their myopic perspective, they escalate the number of query requests, leading to increased costs, memory, and computational overheads. Addressing this, we propose the Algorithm of Thoughts -- a novel strategy that propels LLMs through algorithmic reasoning pathways. By employing algorithmic examples fully in-context, this overarching view of the whole process exploits the innate recurrence dynamics of LLMs, expanding their idea exploration with merely one or a few queries. Our technique outperforms earlier single-query methods and even more recent multi-query strategies that employ an extensive tree search algorithms while using significantly fewer tokens. Intriguingly, our results suggest that instructing an LLM using an algorithm can lead to performance surpassing that of the algorithm itself, hinting at LLM's inherent ability to weave its intuition into optimized searches. We probe into the underpinnings of our method's efficacy and its nuances in application. The code and related content can be found in: https://algorithm-of-thoughts.github.io.
Key facts. Cited by 92 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 29 of its 38 references that are in the map. First posted on arXiv 20 Aug 2023.
Builds on
29 of 38 references.
Closest ancestors · 4
Same direction, newest first
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May
- 2023Large Language Model Guided Tree-of-Thought15 May
- 2022Language Models (Mostly) Know What They Know11 Jul
- 2022STaR: Bootstrapping Reasoning With Reasoning28 Mar
Other references · 25
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
13 more
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 703
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2022Towards Reasoning in Large Language Models: A Surveycited by 596
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2023Augmented Language Models: a Surveycited by 403
- 2023Faithful Chain-of-Thought Reasoningcited by 288
- 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
- 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 203
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Modelscited by 61
Built on by
Citing papers per year: 2023: 16; 2024: 23; 2025: 40; 2026: 13.
92 papers.
Sort:
By area:
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Modelscited by 293
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 225
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 148
- 2024Stream of Search (SoS): Learning to Search in Languagecited by 145
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 143
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
- 2024Forest-of-Thought: Scaling Test-Time Compute for Enhancing LLM Reasoningcited by 110
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 109
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 99
38 more
- 2023On Generative Agents in Recommendationcited by 90
- 2024Language Agents as Optimizable Graphscited by 89
- 2025Scaling Test-Time Compute Without Verification or RL is Suboptimalcited by 84
- 2024Tell Me More! Towards Implicit User Intention Understanding of Language Model Driven Agentscited by 74
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-4cited by 68
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2024Demystifying Chains, Trees, and Graphs of Thoughtscited by 63
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 50
- 2023Reason for Future, Act for Now: A Principled Framework for Autonomous LLM Agents with Provable Sample Efficiencycited by 46
- 2024Dualformer: Controllable Fast and Slow Thinking by Learning with Randomized Reasoning Tracescited by 43
- 2023LatEval: An Interactive LLMs Evaluation Benchmark with Incomplete Information from Lateral Thinking Puzzlescited by 41
- 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 40
- 2024System-1.x: Learning to Balance Fast and Slow Planning with Language Modelscited by 35
- 2023DetermLR: Augmenting LLM-based Logical Reasoning from Indeterminacy to Determinacycited by 34
- 2025PENCIL: Long Thoughts with Short Memorycited by 33
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generationcited by 29
- 2025Chain-of-Reasoning: Towards Unified Mathematical Reasoning in Large Language Models via a Multi-Paradigm Perspectivecited by 29
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Executioncited by 27
- 2023ProAgent: From Robotic Process Automation to Agentic Process Automationcited by 26
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Modelscited by 21
- 2024ChartThinker: A Contextual Chain-of-Thought Approach to Optimized Chart Summarizationcited by 19
- 2025Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Codecited by 18
- 2023Applications of Large Scale Foundation Models for Autonomous Drivingcited by 14
- 2025HyperTree Planning: Enhancing LLM Reasoning via Hierarchical Thinkingcited by 14
- 2023StrategyLLM: Large Language Models as Strategy Generators, Executors, Optimizers, and Evaluators for Problem Solvingcited by 13
- 2024How Can LLM Guide RL? A Value-Based Approachcited by 13
- 2025Let Me Think! A Long Chain-of-Thought Can Be Worth Exponentially Many Short Onescited by 13
- 2023Rational Decision-Making Agent with Internalized Utility Judgmentcited by 11
- 2025A Survey of Scaling in Large Language Model Reasoningcited by 10
- 2025SPRINT: Enabling Interleaved Planning and Parallelized Execution in Reasoning Modelscited by 10
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competenciescited by 9
- 2025Policy Guided Tree Search for Enhanced LLM Reasoningcited by 9
- 2025CodeAgents: A Token-Efficient Framework for Codified Multi-Agent Reasoning in LLMscited by 9
- 2023Towards A Unified View of Answer Calibration for Multi-Step Reasoningcited by 8
- 2024Skin-in-the-Game: Decision Making via Multi-Stakeholder Alignment in LLMscited by 8
- 2024Towards Building Specialized Generalist AI with System 1 and System 2 Fusioncited by 8
50 most cited of 92 All 92 (JSON)
- 2026Open Evaluation Agent: Efficient and Promptable Evaluation of Visual Generative Models10 Aug 2026
- 2026Training Language Models to Cooperate with Inference-Time Controllers26 Jul 2026
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2026When LLMs Develop Languages: Symbolic Communication for Efficient Multi-Agent Reasoning28 Jun 2026
- 2026LinTree: Improving LLM Reasoning with Explicitly Structured Search Histories29 May 2026
- 2026Unified Data Selection for LLM Reasoning21 May 2026
- 2026LLM-Guided Communication for Cooperative Multi-Agent Reinforcement Learning18 May 2026
- 2026FACT-E: Causality-Inspired Evaluation for Trustworthy Chain-of-Thought Reasoning12 Apr 2026
- 2026Grading the Unspoken: Evaluating Tacit Reasoning in Quantum Field Theory and String Theory with LLMs1 Apr 2026
- 2026Reasoning Topology Matters: Network-of-Thought for Complex Reasoning Tasks21 Mar 2026
- 2026Reinforcement Learning with Backtracking Feedback9 Feb 2026
- 2026Continuous-Utility Direct Preference Optimization31 Jan 2026
38 more
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agents18 Jan 2026
- 2025Iterative Deployment Improves Planning Skills in LLMs31 Dec 2025
- 2025Reflection Pretraining Enables Token-Level Self-Correction in Biological Sequence Models24 Dec 2025
- 2025Understanding Chain-of-Thought in Large Language Models via Topological Data Analysis22 Dec 2025
- 2025On the Limits of Innate Planning in Large Language Models26 Nov 2025
- 2025JudgeBoard: Benchmarking and Enhancing Small Language Models for Reasoning Evaluation20 Nov 2025
- 2025Foundation Models for Trajectory Planning in Autonomous Driving: A Review of Progress and Open Challenges31 Oct 2025
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
- 2025OPTAGENT: Optimizing Multi-Agent LLM Interactions Through Verbal Reinforcement Learning for Enhanced Reasoning20 Oct 2025
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Execution29 Sep 2025
- 2025StyleBench: Evaluating thinking styles in Large Language Models25 Sep 2025
- 2025Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoning4 Sep 2025
- 2025CodeAgents: A Token-Efficient Framework for Codified Multi-Agent Reasoning in LLMs4 Jul 2025
- 2025Direct Behavior Optimization: Unlocking the Potential of Lightweight LLMs6 Jun 2025
- 2025SPRINT: Enabling Interleaved Planning and Parallelized Execution in Reasoning Models6 Jun 2025
- 2025LLM-First Search: Self-Guided Exploration of the Solution Space5 Jun 2025
- 2025Reason from Future: Reverse Thought Chain Enhances LLM Reasoning4 Jun 2025
- 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling28 May 2025
- 2025Let Me Think! A Long Chain-of-Thought Can Be Worth Exponentially Many Short Ones27 May 2025
- 2025Make Planning Research Rigorous Again!27 May 2025
- 2025Large Language Models for Planning: A Comprehensive and Systematic Survey26 May 2025
- 2025A Reality Check of Language Models as Formalizers on Constraint Satisfaction Problems19 May 2025
- 2025HyperTree Planning: Enhancing LLM Reasoning via Hierarchical Thinking5 May 2025
- 2025Learning Adaptive Parallel Reasoning with Language Models21 Apr 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025A Survey of Scaling in Large Language Model Reasoning2 Apr 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2025Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Code24 Mar 2025
- 2025PENCIL: Long Thoughts with Short Memory18 Mar 2025
- 2025Understanding Formal Reasoning Failures in LLMs as Abstract Interpreters16 Mar 2025
- 2025ARIES: Autonomous Reasoning with LLMs on Interactive Thought Graph Environments28 Feb 2025
- 2025Complex LLM Planning via Automated Heuristics Discovery26 Feb 2025
- 2025An Autonomous Network Orchestration Framework Integrating Large Language Models with Continual Reinforcement Learning22 Feb 2025
- 2025Scaling Test-Time Compute Without Verification or RL is Suboptimal17 Feb 2025
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models16 Feb 2025
- 2025Policy Guided Tree Search for Enhanced LLM Reasoning4 Feb 2025
- 2025Chain-of-Reasoning: Towards Unified Mathematical Reasoning in Large Language Models via a Multi-Paradigm Perspective19 Jan 2025
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Models16 Jan 2025
50 newest of 92 All 92 (JSON)
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024Stream of Search (SoS): Learning to Search in Languagecited by 145
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 143
- 2024Forest-of-Thought: Scaling Test-Time Compute for Enhancing LLM Reasoningcited by 110
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 109
- 2025Scaling Test-Time Compute Without Verification or RL is Suboptimalcited by 84
- 2024Demystifying Chains, Trees, and Graphs of Thoughtscited by 63
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 50
- 2024Dualformer: Controllable Fast and Slow Thinking by Learning with Randomized Reasoning Tracescited by 43
- 2023LatEval: An Interactive LLMs Evaluation Benchmark with Incomplete Information from Lateral Thinking Puzzlescited by 41
- 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 40
12 most cited of 53 All 53 (JSON)
- 2026When LLMs Develop Languages: Symbolic Communication for Efficient Multi-Agent Reasoning28 Jun 2026
- 2026LinTree: Improving LLM Reasoning with Explicitly Structured Search Histories29 May 2026
- 2026Unified Data Selection for LLM Reasoning21 May 2026
- 2026FACT-E: Causality-Inspired Evaluation for Trustworthy Chain-of-Thought Reasoning12 Apr 2026
- 2026Grading the Unspoken: Evaluating Tacit Reasoning in Quantum Field Theory and String Theory with LLMs1 Apr 2026
- 2026Reasoning Topology Matters: Network-of-Thought for Complex Reasoning Tasks21 Mar 2026
- 2026Continuous-Utility Direct Preference Optimization31 Jan 2026
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agents18 Jan 2026
- 2025Reflection Pretraining Enables Token-Level Self-Correction in Biological Sequence Models24 Dec 2025
- 2025Understanding Chain-of-Thought in Large Language Models via Topological Data Analysis22 Dec 2025
- 2025JudgeBoard: Benchmarking and Enhancing Small Language Models for Reasoning Evaluation20 Nov 2025
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
12 newest of 53 All 53 (JSON)
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 225
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 99
- 2023On Generative Agents in Recommendationcited by 90
- 2024Language Agents as Optimizable Graphscited by 89
- 2024Tell Me More! Towards Implicit User Intention Understanding of Language Model Driven Agentscited by 74
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-4cited by 68
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Executioncited by 27
- 2023ProAgent: From Robotic Process Automation to Agentic Process Automationcited by 26
- 2023Rational Decision-Making Agent with Internalized Utility Judgmentcited by 11
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competenciescited by 9
12 most cited of 14 All 14 (JSON)
- 2026LLM-Guided Communication for Cooperative Multi-Agent Reinforcement Learning18 May 2026
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Execution29 Sep 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2024A Review of Large Language Models and Autonomous Agents in Chemistry26 Jun 2024
- 2024Data Interpreter: An LLM Agent For Data Science28 Feb 2024
- 2024Language Agents as Optimizable Graphs26 Feb 2024
- 2024Tell Me More! Towards Implicit User Intention Understanding of Language Model Driven Agents14 Feb 2024
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competencies6 Feb 2024
- 2023The Tyranny of Possibilities in the Design of Task-Oriented LLM Systems: A Scoping Survey29 Dec 2023
- 2023ProAgent: From Robotic Process Automation to Agentic Process Automation2 Nov 2023
- 2023On Generative Agents in Recommendation16 Oct 2023
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-429 Sep 2023
12 newest of 14 All 14 (JSON)
- 2026Reinforcement Learning with Backtracking Feedbackcited by 0
- 2026Reinforcement Learning with Backtracking Feedback9 Feb 2026
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2024System-1.x: Learning to Balance Fast and Slow Planning with Language Modelscited by 35
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generationcited by 29
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Codecited by 18
- 2024How Can LLM Guide RL? A Value-Based Approachcited by 13
- 2024Towards Building Specialized Generalist AI with System 1 and System 2 Fusioncited by 8
- 2025Complex LLM Planning via Automated Heuristics Discoverycited by 6
- 2023UPAR: A Kantian-Inspired Prompting Framework for Enhancing Large Language Model Capabilitiescited by 3
- 2024CoT-Driven Framework for Short Text Classification: Enhancing and Transferring Capabilities from Large to Smaller Modelcited by 2
- 2026Open Evaluation Agent: Efficient and Promptable Evaluation of Visual Generative Modelscited by 2
12 most cited of 18 All 18 (JSON)
- 2026Open Evaluation Agent: Efficient and Promptable Evaluation of Visual Generative Models10 Aug 2026
- 2026Training Language Models to Cooperate with Inference-Time Controllers26 Jul 2026
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2025Iterative Deployment Improves Planning Skills in LLMs31 Dec 2025
- 2025On the Limits of Innate Planning in Large Language Models26 Nov 2025
- 2025Direct Behavior Optimization: Unlocking the Potential of Lightweight LLMs6 Jun 2025
- 2025Make Planning Research Rigorous Again!27 May 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Code24 Mar 2025
- 2025Complex LLM Planning via Automated Heuristics Discovery26 Feb 2025
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generation9 Jan 2025
- 2024System-1.x: Learning to Balance Fast and Slow Planning with Language Models19 Jul 2024
12 newest of 18 All 18 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Tree of Thoughts as a Classical Heuristic Search Problem: Formal Foundations and Design Patterns
- 2026Beyond Fixed Budgets: Characterizing the Inelasticity and Limitations of Tree-of-Thought Reasoning Strategies
- 2025ThoughtProbe: Classifier-Guided LLM Thought Space Exploration via Probing Representations
- 2026Policy-Guided Search on Tree-of-Thoughts for Efficient Problem Solving with Bounded Language Model Queries
- 2023Why Can Large Language Models Generate Correct Chain-of-Thoughts?
- 2026Mean-Field Dynamics of Chain-of-Thought Reasoning in Large Language Models
- 2024T2 of Thoughts: Temperature Tree Elicits Reasoning in Large Language Models
- 2025Metastable Dynamics of Chain-of-Thought Reasoning: Provable Benefits of Search, RL and Distillation