THREAD: Thinking Deeper with Recursive Spawning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Large language models (LLMs) have shown impressive capabilities across diverse settings, but still struggle as the length and complexity of the context increases. To address this challenge, we propose Thinking Recursively and Dynamically (ThReaD). THREAD frames model generation as a thread of execution that, based on the context, can run to completion or dynamically spawn new threads. By spawning, threads can offload work (e.g., thinking, retrieving information) to child threads, which only return tokens needed for the parent thread to do its work. In effect, this enables the model to adapt, as needed, the amount of intermediate work used to produce tokens. We apply THREAD in the settings of LLM task solving and question answering, where the dynamic threading allows the model to recursively decompose the given task or question into progressively simpler sub-problems that can be solved by separate child threads. We test THREAD, implemented using a few-shot learning approach, on diverse benchmarks for agent tasks and data-grounded question answering. THREAD achieves state-of-the-art performance with GPT-4 and GPT-3.5 on these benchmarks, including ALFWorld, TextCraft, and WebShop, along with two new benchmarks, DataCommons QA and MIMIC-III ICU QA. In addition, THREAD outperforms existing frameworks by 10% to 50% absolute points with smaller models, including Llama-3-8b and CodeLlama-7b.
Key facts. Cited by 25 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 9 of its 39 references that are in the map. First posted on arXiv 27 May 2024.
Builds on
9 of 39 references.
References · 9
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
- 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 177
- 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
- 2024AutoGuide: Automated Generation and Selection of Context-Aware Guidelines for Large Language Model Agentscited by 74
- 2023PEARL: Prompting Large Language Models to Plan and Execute Actions Over Long Documentscited by 61
- 2024TDAG: A Multi-Agent Framework based on Dynamic Task Decomposition and Agent Generationcited by 51
- 2023Natural Language Embedded Programs for Hybrid Language Symbolic Reasoningcited by 15
Built on by
Citing papers per year: 2024: 1; 2025: 10; 2026: 14.
25 papers.
Sort:
By area:
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
- 2025Recursive Language Modelscited by 104
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2026AOrchestra: Automating Sub-Agent Creation for Agentic Orchestrationcited by 35
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 23
- 2025ReCode: Unify Plan and Action for Universal Granularity Controlcited by 15
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Managementcited by 11
- 2026Recursive Models for Long-Horizon Reasoningcited by 9
- 2025ThreadWeaver: Adaptive Threading for Efficient Parallel Reasoning in Language Modelscited by 8
- 2025ROVER: Recursive Reasoning Over Videos with Vision-Language Models for Embodied Taskscited by 6
- 2026Uno-Orchestra: Parsimonious Agent Routing via Selective Delegationcited by 6
- 2025Fine-tuning with RAG for Improving LLM Learning of New Skillscited by 5
13 more
- 2026Recursive Agent Optimizationcited by 5
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answerscited by 5
- 2025Reflect before Act: Proactive Error Correction in Language Modelscited by 2
- 2026HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolationcited by 2
- 2026Self-Manager: Parallel Agent Loop for Long-form Deep Researchcited by 1
- 2026Spawn Freely, Act Sparingly: Progressive Risk Vesting for Recursive LLM-Agent Treescited by 1
- 2025A Training-free LLM Framework with Interaction between Contextually Related Subtasks in Solving Complex Taskscited by 0
- 2026RVLM: Recursive Vision-Language Models with Adaptive Depthcited by 0
- 2026H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Modelscited by 0
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observecited by 0
- 2026Recursive Language Models Generalize Out of Domaincited by 0
- 2026Hermes: Learning Contextual Reasoning Unlocks Test-Time Scalingcited by 0
- 2026Self-Evaluating Recursive Agentscited by 0
- 2026Self-Evaluating Recursive Agents4 Oct 2026
- 2026Hermes: Learning Contextual Reasoning Unlocks Test-Time Scaling29 Sep 2026
- 2026Spawn Freely, Act Sparingly: Progressive Risk Vesting for Recursive LLM-Agent Trees1 Sep 2026
- 2026HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolation16 Aug 2026
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observe13 Aug 2026
- 2026Recursive Language Models Generalize Out of Domain23 Jul 2026
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answers12 May 2026
- 2026Recursive Agent Optimization7 May 2026
- 2026Uno-Orchestra: Parsimonious Agent Routing via Selective Delegation6 May 2026
- 2026H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Models15 Apr 2026
- 2026RVLM: Recursive Vision-Language Models with Adaptive Depth25 Mar 2026
- 2026Recursive Models for Long-Horizon Reasoning2 Mar 2026
13 more
- 2026AOrchestra: Automating Sub-Agent Creation for Agentic Orchestration3 Feb 2026
- 2026Self-Manager: Parallel Agent Loop for Long-form Deep Research25 Jan 2026
- 2025Recursive Language Models31 Dec 2025
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Management11 Dec 2025
- 2025ThreadWeaver: Adaptive Threading for Efficient Parallel Reasoning in Language Models24 Nov 2025
- 2025ReCode: Unify Plan and Action for Universal Granularity Control27 Oct 2025
- 2025Fine-tuning with RAG for Improving LLM Learning of New Skills1 Oct 2025
- 2025Reflect before Act: Proactive Error Correction in Language Models23 Sep 2025
- 2025ROVER: Recursive Reasoning Over Videos with Vision-Language Models for Embodied Tasks3 Aug 2025
- 2025Learning Adaptive Parallel Reasoning with Language Models21 Apr 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2025A Training-free LLM Framework with Interaction between Contextually Related Subtasks in Solving Complex Tasks29 Mar 2025
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-tracking21 Sep 2024
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
- 2026AOrchestra: Automating Sub-Agent Creation for Agentic Orchestrationcited by 35
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 23
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Managementcited by 11
- 2026Uno-Orchestra: Parsimonious Agent Routing via Selective Delegationcited by 6
- 2026HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolationcited by 2
- 2026Spawn Freely, Act Sparingly: Progressive Risk Vesting for Recursive LLM-Agent Treescited by 1
- 2026Self-Evaluating Recursive Agentscited by 0
- 2026Self-Evaluating Recursive Agents4 Oct 2026
- 2026Spawn Freely, Act Sparingly: Progressive Risk Vesting for Recursive LLM-Agent Trees1 Sep 2026
- 2026HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolation16 Aug 2026
- 2026Uno-Orchestra: Parsimonious Agent Routing via Selective Delegation6 May 2026
- 2026AOrchestra: Automating Sub-Agent Creation for Agentic Orchestration3 Feb 2026
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Management11 Dec 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-tracking21 Sep 2024
- 2025Recursive Language Modelscited by 104
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2026Recursive Models for Long-Horizon Reasoningcited by 9
- 2025ThreadWeaver: Adaptive Threading for Efficient Parallel Reasoning in Language Modelscited by 8
- 2025ROVER: Recursive Reasoning Over Videos with Vision-Language Models for Embodied Taskscited by 6
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answerscited by 5
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observecited by 0
- 2026Hermes: Learning Contextual Reasoning Unlocks Test-Time Scalingcited by 0
- 2026Hermes: Learning Contextual Reasoning Unlocks Test-Time Scaling29 Sep 2026
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observe13 Aug 2026
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answers12 May 2026
- 2026Recursive Models for Long-Horizon Reasoning2 Mar 2026
- 2025Recursive Language Models31 Dec 2025
- 2025ThreadWeaver: Adaptive Threading for Efficient Parallel Reasoning in Language Models24 Nov 2025
- 2025ROVER: Recursive Reasoning Over Videos with Vision-Language Models for Embodied Tasks3 Aug 2025
- 2025Learning Adaptive Parallel Reasoning with Language Models21 Apr 2025
- 2026Recursive Agent Optimizationcited by 5
- 2026Recursive Agent Optimization7 May 2026
- 2026RVLM: Recursive Vision-Language Models with Adaptive Depth25 Mar 2026
- 2025ReCode: Unify Plan and Action for Universal Granularity Controlcited by 15
- 2025Reflect before Act: Proactive Error Correction in Language Modelscited by 2
- 2026Self-Manager: Parallel Agent Loop for Long-form Deep Researchcited by 1
- 2025A Training-free LLM Framework with Interaction between Contextually Related Subtasks in Solving Complex Taskscited by 0
- 2026H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Modelscited by 0
- 2026Recursive Language Models Generalize Out of Domaincited by 0
- 2026Recursive Language Models Generalize Out of Domain23 Jul 2026
- 2026H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Models15 Apr 2026
- 2026Self-Manager: Parallel Agent Loop for Long-form Deep Research25 Jan 2026
- 2025ReCode: Unify Plan and Action for Universal Granularity Control27 Oct 2025
- 2025Reflect before Act: Proactive Error Correction in Language Models23 Sep 2025
- 2025A Training-free LLM Framework with Interaction between Contextually Related Subtasks in Solving Complex Tasks29 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model Agents
- 2026Caterpillar of Thoughts: The Optimal Test-Time Algorithm for Large Language Models
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Tasks
- 2023Recursion of Thought: A Divide-and-Conquer Approach to Multi-Context Reasoning with Language Models
- 2023Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models
- 2023Question Decomposition Improves the Faithfulness of Model-Generated Reasoning
- 2025THiNK: Can Large Language Models Think-aloud?
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generation