Stream of Search (SoS): Learning to Search in Language
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Language models are rarely shown fruitful mistakes while training. They then struggle to look beyond the next token, suffering from a snowballing of errors and struggling to predict the consequence of their actions several steps ahead. In this paper, we show how language models can be taught to search by representing the process of search in language, as a flattened string -- a stream of search (SoS). We propose a unified language for search that captures an array of different symbolic search strategies. We demonstrate our approach using the simple yet difficult game of Countdown, where the goal is to combine input numbers with arithmetic operations to reach a target number. We pretrain a transformer-based language model from scratch on a dataset of streams of search generated by heuristic solvers. We find that SoS pretraining increases search accuracy by 25% over models trained to predict only the optimal search trajectory. We further finetune this model with two policy improvement methods: Advantage-Induced Policy Alignment (APA) and Self-Taught Reasoner (STaR). The finetuned SoS models solve 36% of previously unsolved problems, including problems that cannot be solved by any of the heuristic solvers. Our results indicate that language models can learn to solve problems via search, self-improve to flexibly use different search strategies, and potentially discover new ones.
Key facts. Cited by 141 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 23 of its 31 references that are in the map. First posted on arXiv 1 Apr 2024.
Builds on
23 of 31 references.
Closest ancestors · 5
Same direction, newest first
- 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Tasks12 Feb
- 2023Large Language Models Cannot Self-Correct Reasoning Yet3 Oct
- 2023Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models20 Aug
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May
- 2022STaR: Bootstrapping Reasoning With Reasoning28 Mar
Other references · 18
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Let's Verify Step by Stepcited by 3,598
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,327
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2015Sequence Level Training with Recurrent Neural Networkscited by 568
- 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
- 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 308
- 2024The pitfalls of next-token predictioncited by 156
- 2022Why Exposure Bias Matters: An Imitation Learning Perspective of Error Accumulation in Language Generationcited by 106
6 more
- 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 89
- 2023Evaluating Cognitive Maps and Planning in Large Language Models with CogEvalcited by 77
- 2023Strategic Reasoning with Language Modelscited by 64
- 2023Fine-Tuning Language Models with Advantage-Induced Policy Alignmentcited by 48
- 2023Understanding the Capabilities of Large Language Models for Automated Planningcited by 34
- 2022Chain of Thought Imitation with Procedure Cloningcited by 30
Built on by
Citing papers per year: 2024: 18; 2025: 85; 2026: 38.
141 papers.
Sort:
By area:
- 2025s1: Simple test-time scalingcited by 1,311
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 373
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 319
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 268
- 2024HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMscited by 257
- 2025Training Language Models to Reason Efficientlycited by 242
- 2025Inference-Time Scaling for Diffusion Models beyond Scaling Denoising Stepscited by 225
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 215
- 2024Recursive Introspection: Teaching Language Model Agents How to Self-Improvecited by 162
- 2025Crossing the Reward Bridge: Expanding RL with Verifiable Rewards Across Diverse Domainscited by 150
- 2024Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planningcited by 135
38 more
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Modelscited by 129
- 2025Optimizing Test-Time Compute via Meta Reinforcement Fine-Tuningcited by 121
- 2025Towards Thinking-Optimal Scaling of Test-Time Compute for LLM Reasoningcited by 118
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 108
- 2025Agentic Large Language Models, a surveycited by 105
- 2025Curriculum Reinforcement Learning from Easy to Hard Tasks Improves LLM Reasoningcited by 89
- 2025Token Assorted: Mixing Latent and Text Tokens for Improved Language Model Reasoningcited by 87
- 2024Inference-Aware Fine-Tuning for Best-of-N Sampling in Large Language Modelscited by 86
- 2025Scaling Test-Time Compute Without Verification or RL is Suboptimalcited by 82
- 2025Efficient Reasoning with Hidden Thinkingcited by 72
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2025e3: Learning to Explore Enables Extrapolation of Test-Time Compute for LLMscited by 56
- 2025One Token to Fool LLM-as-a-Judgecited by 56
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 47
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokenscited by 41
- 2024Dualformer: Controllable Fast and Slow Thinking by Learning with Randomized Reasoning Tracescited by 40
- 2025SoftCoT++: Test-Time Scaling with Soft Chain-of-Thought Reasoningcited by 38
- 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 38
- 2024System-1.x: Learning to Balance Fast and Slow Planning with Language Modelscited by 35
- 2024EVOLvE: Evaluating and Optimizing LLMs For In-Context Explorationcited by 33
- 2025Meta-Reasoner: Dynamic Guidance for Optimized Inference-time Reasoning in Large Language Modelscited by 33
- 2025Navigate the Unknown: Enhancing LLM Reasoning with Intrinsic Motivation Guided Explorationcited by 33
- 2024Thought of Search: Planning with Language Models Through The Lens of Efficiencycited by 32
- 2025Generative to Agentic AI: Survey, Conceptualization, and Challengescited by 32
- 2024Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Modelscited by 31
- 2025Next-Latent Prediction Transformers Learn Compact World Modelscited by 29
- 2024On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encodingcited by 28
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generationcited by 28
- 2025Adversarial Reasoning at Jailbreaking Timecited by 27
- 2025Metastable Dynamics of Chain-of-Thought Reasoning: Provable Benefits of Search, RL and Distillationcited by 25
- 2025LaDiR: Latent Diffusion Enhances LLMs for Text Reasoningcited by 25
- 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoningcited by 24
- 2026Purified OPSD: On-Policy Self-Distillation Without Losing How to Thinkcited by 23
- 2025Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Samplingcited by 20
- 2024Transformers Struggle to Learn to Searchcited by 19
- 2025On the Effect of Sampling Diversity in Scaling LLM Inferencecited by 18
- 2025Stepwise Guided Policy Optimization: Coloring your Incorrect Reasoning in GRPOcited by 18
- 2025Meta-RL Induces Exploration in Language Agentscited by 17
50 most cited of 141 All 141 (JSON)
- 2026Selecting Diverse SFT Traces Improves Post-RL Generalization27 Sep 2026
- 2026Fine Until Fine-Tuned: Repeated Solutions Make Reasoning Fragile27 Sep 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026Score Centering Stabilizes Off-policy Reinforcement Learning17 Sep 2026
- 2026EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scale10 Sep 2026
- 2026Long-Horizon Language Model Reinforcement Learning via Progressive Point Matching7 Sep 2026
- 2026Latent Recurrent Thoughts: Recurrent Refinement of Proposed Latents for Reasoning with Frozen LLMs1 Sep 2026
- 2026Dependency-Aware Revocable Decoding for Efficient Diffusion Large Language Model Inference27 Aug 2026
- 2026Divergent-Convergent Reasoning: Scaling Test-Time Compute through Structured Solution Synthesis15 Aug 2026
- 2026TsuGO: Probing Search Efficiency in LLM Reasoning via Go Life-and-Death Problems13 Aug 2026
- 2026Can Bayesian Optimization Efficiently Find a Strong Single Expert in Neural Thickets?11 Aug 2026
- 2026Anatomy of a Sound Neural Reasoner: One-Shot Amortization, First-Pass Poisoning, and Search Inertness in Clue-Rich Completion22 Jul 2026
38 more
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2026Constrained Path Reasoning: Measuring When Committed Stages Earn Their Cost19 Jul 2026
- 2026Purified OPSD: On-Policy Self-Distillation Without Losing How to Think2 Jul 2026
- 2026Recursive Scaling in Masked Diffusion Models16 Jun 2026
- 2026Adaptive Inference-Time Scaling via Early-Step Latent Verification for Image Editing13 Jun 2026
- 2026Consolidating Rewarded Perturbations for LLM Post-Training29 May 2026
- 2026Overcoming Forgetting in LLM Fine-Tuning with Evolution Strategies28 May 2026
- 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Models27 May 2026
- 2026LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generation26 May 2026
- 2026Learnability-Informed Fine-Tuning of Diffusion Language Models21 May 2026
- 2026A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits19 May 2026
- 2026Focus on the Core: Empowering Diffusion Large Language Models by Self-Contrast2 May 2026
- 2026Multi-modal Reasoning with LLMs for Visual Semantic Arithmetic21 Apr 2026
- 2026Neural Garbage Collection: Learning to Forget while Learning to Reason20 Apr 2026
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026The Illusion of Superposition? A Principled Analysis of Latent Thinking in Language Models7 Apr 2026
- 2026Continually self-improving AI18 Mar 2026
- 2026PACE-RAG: Patient-Aware Contextual and Evidence-Constrained RAG for Clinical Drug Recommendation18 Mar 2026
- 2026Re2: Unlocking LLM Reasoning via Reinforcement Learning with Re-solving7 Mar 2026
- 2026GradAlign: Gradient-Aligned Data Selection for LLM Reinforcement Learning25 Feb 2026
- 2026Boule or Baguette? A Study on Task Topology, Length Generalization, and the Benefit of Reasoning Traces16 Feb 2026
- 2026Think Longer to Explore Deeper: Learn to Explore In-Context via Length-Incentivized Reinforcement Learning12 Feb 2026
- 2026Vision-aligned Latent Reasoning for Multi-modal Large Language Model4 Feb 2026
- 2026TSLM: Tree-Structured Language Modeling for Divergent Thinking30 Jan 2026
- 2026Save the Good Prefix: Precise Error Penalization via Process-Supervised RL to Enhance LLM Reasoning26 Jan 2026
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agents18 Jan 2026
- 2025Meta-RL Induces Exploration in Language Agents18 Dec 2025
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLM5 Dec 2025
- 2025Mode-Conditioning Unlocks Superior Test-Time Scaling30 Nov 2025
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Training10 Nov 2025
- 2025Next-Latent Prediction Transformers Learn Compact World Models8 Nov 2025
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
- 2025Code-enabled language models can outperform reasoning models on diverse tasks23 Oct 2025
- 2025Loopholing Discrete Diffusion: Deterministic Bypass of the Sampling Wall22 Oct 2025
- 2025Test-time Verification via Optimal Transport: Coverage, ROC, & Sub-optimality21 Oct 2025
- 2025Inference-Time Compute Scaling For Flow Matching20 Oct 2025
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons15 Oct 2025
- 2025Benefits and Limitations of Communication in Multi-Agent Reasoning14 Oct 2025
50 newest of 141 All 141 (JSON)
- 2025s1: Simple test-time scalingcited by 1,311
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 373
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 319
- 2024HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMscited by 257
- 2025Training Language Models to Reason Efficientlycited by 242
- 2025Inference-Time Scaling for Diffusion Models beyond Scaling Denoising Stepscited by 225
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 215
- 2024Recursive Introspection: Teaching Language Model Agents How to Self-Improvecited by 162
- 2025Crossing the Reward Bridge: Expanding RL with Verifiable Rewards Across Diverse Domainscited by 150
- 2024Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planningcited by 135
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Modelscited by 129
12 most cited of 94 All 94 (JSON)
- 2026Selecting Diverse SFT Traces Improves Post-RL Generalization27 Sep 2026
- 2026Latent Recurrent Thoughts: Recurrent Refinement of Proposed Latents for Reasoning with Frozen LLMs1 Sep 2026
- 2026Divergent-Convergent Reasoning: Scaling Test-Time Compute through Structured Solution Synthesis15 Aug 2026
- 2026TsuGO: Probing Search Efficiency in LLM Reasoning via Go Life-and-Death Problems13 Aug 2026
- 2026Constrained Path Reasoning: Measuring When Committed Stages Earn Their Cost19 Jul 2026
- 2026Purified OPSD: On-Policy Self-Distillation Without Losing How to Think2 Jul 2026
- 2026Adaptive Inference-Time Scaling via Early-Step Latent Verification for Image Editing13 Jun 2026
- 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Models27 May 2026
- 2026LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generation26 May 2026
- 2026Learnability-Informed Fine-Tuning of Diffusion Language Models21 May 2026
- 2026A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits19 May 2026
- 2026Multi-modal Reasoning with LLMs for Visual Semantic Arithmetic21 Apr 2026
12 newest of 94 All 94 (JSON)
- 2025Agentic Large Language Models, a surveycited by 105
- 2025Generative to Agentic AI: Survey, Conceptualization, and Challengescited by 32
- 2025Meta-RL Induces Exploration in Language Agentscited by 17
- 2025LLM-BabyBench: Can Language Models Plan in Worlds They Can Simulate?cited by 2
- 2025Agent-Centric Projection of Prompting Techniques and Implications for Synthetic Training Data for Large Language Modelscited by 0
- 2025Meta-RL Induces Exploration in Language Agents18 Dec 2025
- 2025LLM-BabyBench: Can Language Models Plan in Worlds They Can Simulate?17 May 2025
- 2025Generative to Agentic AI: Survey, Conceptualization, and Challenges26 Apr 2025
- 2025Agentic Large Language Models, a survey29 Mar 2025
- 2025Agent-Centric Projection of Prompting Techniques and Implications for Synthetic Training Data for Large Language Models14 Jan 2025
- 2024Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Modelscited by 31
- 2025MedReflect: Teaching Medical LLMs to Self-Improve via Reflective Correctioncited by 8
- 2024Learning to Better Search with Language Models via Guided Reinforced Self-Trainingcited by 5
- 2025Language Models can Self-Improve at State-Value Estimation for Better Searchcited by 4
- 2026Continually self-improving AIcited by 0
- 2026Continually self-improving AI18 Mar 2026
- 2025MedReflect: Teaching Medical LLMs to Self-Improve via Reflective Correction4 Oct 2025
- 2025Language Models can Self-Improve at State-Value Estimation for Better Search4 Mar 2025
- 2024Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Models4 Dec 2024
- 2024Learning to Better Search with Language Models via Guided Reinforced Self-Training3 Oct 2024
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 268
- 2025Loopholing Discrete Diffusion: Deterministic Bypass of the Sampling Wallcited by 6
- 2025Ctrl-Z Sampling: Scaling Diffusion Sampling with Controlled Random Zigzag Explorationscited by 1
- 2026Recursive Scaling in Masked Diffusion Modelscited by 0
- 2026Recursive Scaling in Masked Diffusion Models16 Jun 2026
- 2025Loopholing Discrete Diffusion: Deterministic Bypass of the Sampling Wall22 Oct 2025
- 2025Ctrl-Z Sampling: Scaling Diffusion Sampling with Controlled Random Zigzag Explorations25 Jun 2025
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Models23 Oct 2024
- 2025One Token to Fool LLM-as-a-Judgecited by 56
- 2025One Token to Fool LLM-as-a-Judge11 Jul 2025
- 2024System-1.x: Learning to Balance Fast and Slow Planning with Language Modelscited by 35
- 2024On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encodingcited by 28
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generationcited by 28
- 2025Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Samplingcited by 20
- 2024Transformers Struggle to Learn to Searchcited by 19
- 2025On the Effect of Sampling Diversity in Scaling LLM Inferencecited by 18
- 2025BoxingGym: Benchmarking Progress in Automated Experimental Design and Model Discoverycited by 15
- 2026GradAlign: Gradient-Aligned Data Selection for LLM Reinforcement Learningcited by 10
- 2025DISC: Dynamic Decomposition Improves LLM Inference Scalingcited by 9
- 2025Seemingly Simple Planning Problems are Computationally Challenging: The Countdown Gamecited by 7
- 2025Position: We Need An Algorithmic Understanding of Generative AIcited by 5
- 2025Quantifying the Impact of Structured Output Format on Large Language Models through Causal Inferencecited by 5
12 most cited of 30 All 30 (JSON)
- 2026Fine Until Fine-Tuned: Repeated Solutions Make Reasoning Fragile27 Sep 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026Score Centering Stabilizes Off-policy Reinforcement Learning17 Sep 2026
- 2026EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scale10 Sep 2026
- 2026Long-Horizon Language Model Reinforcement Learning via Progressive Point Matching7 Sep 2026
- 2026Dependency-Aware Revocable Decoding for Efficient Diffusion Large Language Model Inference27 Aug 2026
- 2026Can Bayesian Optimization Efficiently Find a Strong Single Expert in Neural Thickets?11 Aug 2026
- 2026Anatomy of a Sound Neural Reasoner: One-Shot Amortization, First-Pass Poisoning, and Search Inertness in Clue-Rich Completion22 Jul 2026
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2026Consolidating Rewarded Perturbations for LLM Post-Training29 May 2026
- 2026Overcoming Forgetting in LLM Fine-Tuning with Evolution Strategies28 May 2026
- 2026Focus on the Core: Empowering Diffusion Large Language Models by Self-Contrast2 May 2026
12 newest of 30 All 30 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Navigating the Labyrinth: Evaluating LLMs' Ability to Reason About Search Problems
- 2025SEM: Reinforcement Learning for Search-Efficient Large Language Models
- 2026LinTree: Improving LLM Reasoning with Explicitly Structured Search Histories
- 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling
- 2026Search, Do not Guess: Teaching Small Language Models to Be Effective Search Agents
- 2026When Should LLMs Search? Counterfactual Supervision for Search Routing
- 2025Unifying Tree Search Algorithm and Reward Design for LLM Reasoning: A Survey
- 2025ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning