Planning In Natural Language Improves LLM Search For Code Generation
Not on the map. Why?
Cited by 37 in LLM reasoning, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
While scaling training compute has led to remarkable improvements in large language models (LLMs), scaling inference compute has not yet yielded analogous gains. We hypothesize that a core missing component is a lack of diverse LLM outputs, leading to inefficient search due to models repeatedly sampling highly similar, yet incorrect generations. We empirically demonstrate that this lack of diversity can be mitigated by searching over candidate plans for solving a problem in natural language. Based on this insight, we propose PlanSearch, a novel search algorithm which shows strong results across HumanEval+, MBPP+, and LiveCodeBench (a contamination-free benchmark for competitive coding). PlanSearch generates a diverse set of observations about the problem and then uses these observations to construct plans for solving the problem. By searching over plans in natural language rather than directly over code solutions, PlanSearch explores a significantly more diverse range of potential solutions compared to baseline search methods. Using PlanSearch on top of Claude 3.5 Sonnet achieves a state-of-the-art pass@200 of 77.0% on LiveCodeBench, outperforming both the best score achieved without search (pass@1 = 41.4%) and using standard repeated sampling (pass@200 = 60.6%). Finally, we show that, across all models, search algorithms, and benchmarks analyzed, we can accurately predict performance gains due to search as a direct function of the diversity over generated ideas. Code can be found at https://github.com/scaleapi/plansearch.
Key facts. Cited by 83 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Sep 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 13; 2025: 46; 2026: 24.
83 papers.
Sort:
By area:
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 223
- 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agentscited by 154
- 2024AutoGLM: Autonomous Foundation Agents for GUIscited by 100
- 2024SafeBench: A Safety Evaluation Framework for Multimodal Large Language Modelscited by 69
- 2024The Limits of Inference Scaling Through Resamplingcited by 53
- 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
- 2025Code to Think, Think to Code: A Survey on Code-Enhanced Reasoning and Reasoning-Driven Code Intelligence in LLMscited by 47
- 2026Code as Agent Harnesscited by 47
- 2024DrugAgent: Automating AI-aided Drug Discovery Programming through LLM Multi-Agent Collaborationcited by 44
- 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewardscited by 42
- 2025LLMs as Planning Formalizers: A Survey for Leveraging Large Language Models to Construct Automated Planning Modelscited by 38
38 more
- 2024Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Modelscited by 35
- 2025Optimizing Temperature for Language Models with Multi-Sample Inferencecited by 33
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 30
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 26
- 2024B-STaR: Monitoring and Balancing Exploration and Exploitation in Self-Taught Reasonerscited by 26
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 25
- 2025A Survey on LLM Test-Time Compute via Search: Tasks, LLM Profiling, Search Algorithms, and Relevant Frameworkscited by 21
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domainscited by 21
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Taskscited by 19
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generationcited by 19
- 2025On the Effect of Sampling Diversity in Scaling LLM Inferencecited by 18
- 2025Rethinking Inference-Time Scaling: Efficiency Limits and Linguistic Signalscited by 18
- 2025CER: Confidence Enhanced Reasoning in LLMscited by 17
- 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 16
- 2025PlanGEN: A Multi-Agent Framework for Generating Planning and Reasoning Trajectories for Complex Problem Solvingcited by 15
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineeringcited by 15
- 2025Teaching LLMs to Plan: Logical Chain-of-Thought Instruction Tuning for Symbolic Planningcited by 15
- 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agentscited by 14
- 2024Scattered Forest Search: Smarter Code Space Exploration with LLMscited by 10
- 2024SRA-MCTS: Self-driven Reasoning Augmentation with Monte Carlo Tree Search for Code Generationcited by 10
- 2025GPO: Learning from Critical Steps to Improve LLM Reasoningcited by 10
- 2025DISC: Dynamic Decomposition Improves LLM Inference Scalingcited by 9
- 2025Rethinking the Sampling Criteria in Reinforcement Learning for LLM Reasoning: A Competence-Difficulty Alignment Perspectivecited by 9
- 2025Generalizable Heuristic Generation Through LLMs with Meta-Optimizationcited by 9
- 2025Large Reasoning Embedding Models: Towards Next-Generation Dense Retrieval Paradigmcited by 9
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 8
- 2025JoyAgent-JDGenie: Technical Report on the GAIAcited by 7
- 2024Generating Diverse Hypotheses for Inductive Reasoningcited by 6
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memorycited by 6
- 2025Scaling Test-Time Inference with Policy-Optimized, Dynamic Retrieval-Augmented Generation via KV Caching and Decodingcited by 5
- 2025Extended Inductive Reasoning for Personalized Preference Inference from Behavioral Signalscited by 5
- 2026Self-Improvement of Large Language Models: A Technical Overview and Future Outlookcited by 5
- 2024Entropy Controllable Direct Preference Optimizationcited by 4
- 2025ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Groundingcited by 4
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debuggingcited by 4
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Actioncited by 4
- 2025Program Synthesis via Test-Time Transductioncited by 4
- 2025MetaMuse: Algorithm Generation via Creative Ideationcited by 4
50 most cited of 83 All 83 (JSON)
- 2026When Does Longer Reasoning Help? Predicting Mathematical Reasoning Through Discovery and Execution4 Oct 2026
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Where Do Test-Time Scaling and Training Fall Short in Individual Stance Prediction?27 Sep 2026
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Models31 Aug 2026
- 2026Idea Search: Guiding Tree Search with Ideas to Explore Diverse Scientific Methods9 Aug 2026
- 2026DecompRL: Solving Harder Problems by Learning Modular Code Generation2 Jul 2026
- 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Models30 Jun 2026
- 2026Selection Without Signal, Recovery Through Expression: A Measurement Study of Post-Hoc Falsification Operators for Frozen Small Code Models15 Jun 2026
- 2026Code as Agent Harness18 May 2026
- 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Language15 May 2026
- 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling11 May 2026
- 2026MIND-Skill: Quality-Guaranteed Skill Generation via Multi-Agent Induction and Deduction9 May 2026
38 more
- 2026EngiAgent: Fully Connected Coordination of LLM Agents for Solving Open-ended Engineering Problems with Feasible Solutions4 May 2026
- 2026Code World Model Preparedness Report1 May 2026
- 2026Understanding Scattered Forest Search: A Version-Space Perspective on Multi-Turn Program Correction27 Apr 2026
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domains21 Apr 2026
- 2026Self-Improvement of Large Language Models: A Technical Overview and Future Outlook26 Mar 2026
- 2026SciNav: A General Agent Framework for Scientific Coding Tasks11 Mar 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2026Plan-MCTS: Plan Exploration for Action Exploitation in Web Navigation15 Feb 2026
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generation15 Feb 2026
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2026Agentic Framework for Epidemiological Modeling30 Jan 2026
- 2026Inference-Time Scaling for Visual AutoRegressive modeling by Searching Representative Samples12 Jan 2026
- 2025RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation25 Nov 2025
- 2025DynaAct: Large Language Model Reasoning with Dynamic Action Spaces11 Nov 2025
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory1 Nov 2025
- 2025Large Reasoning Embedding Models: Towards Next-Generation Dense Retrieval Paradigm16 Oct 2025
- 2025MetaMuse: Algorithm Generation via Creative Ideation4 Oct 2025
- 2025JoyAgent-JDGenie: Technical Report on the GAIA1 Oct 2025
- 2025Adaptive Test-Time Reasoning via Reward-Guided Dual-Phase Search29 Sep 2025
- 2025Timber: Training-free Instruct Model Refining with Base via Effective Rank28 Sep 2025
- 2025Program Synthesis via Test-Time Transduction22 Sep 2025
- 2025GPO: Learning from Critical Steps to Improve LLM Reasoning19 Sep 2025
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generation19 Sep 2025
- 2025Teaching LLMs to Plan: Logical Chain-of-Thought Instruction Tuning for Symbolic Planning14 Sep 2025
- 2025StaAgent: An Agentic Framework for Testing Static Analyzers20 Jul 2025
- 2025Breaking the Myth: Can Small Models Infer Postconditions Too?14 Jul 2025
- 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agents11 Jul 2025
- 2025EvoVerilog: Large Langugage Model Assisted Evolution of Verilog Code26 Jun 2025
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action16 Jun 2025
- 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewards13 Jun 2025
- 2025A Survey on Large Language Models for Mathematical Reasoning10 Jun 2025
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agents29 May 2025
- 2025Generalizable Heuristic Generation Through LLMs with Meta-Optimization27 May 2025
- 2025An Empirical Study on Strong-Weak Model Collaboration for Repo-level Code Generation26 May 2025
- 2025TAG-INSTRUCT: Controlled Instruction Complexity Enhancement through Structure-based Augmentation24 May 2025
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025Extended Inductive Reasoning for Personalized Preference Inference from Behavioral Signals23 May 2025
- 2025Rethinking the Sampling Criteria in Reinforcement Learning for LLM Reasoning: A Competence-Difficulty Alignment Perspective23 May 2025
50 newest of 83 All 83 (JSON)
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 223
- 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
- 2025Code to Think, Think to Code: A Survey on Code-Enhanced Reasoning and Reasoning-Driven Code Intelligence in LLMscited by 47
- 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewardscited by 42
- 2025Optimizing Temperature for Language Models with Multi-Sample Inferencecited by 33
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 30
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 26
- 2024B-STaR: Monitoring and Balancing Exploration and Exploitation in Self-Taught Reasonerscited by 26
- 2025A Survey on LLM Test-Time Compute via Search: Tasks, LLM Profiling, Search Algorithms, and Relevant Frameworkscited by 21
- 2025Rethinking Inference-Time Scaling: Efficiency Limits and Linguistic Signalscited by 18
- 2025CER: Confidence Enhanced Reasoning in LLMscited by 17
12 most cited of 37 All 37 (JSON)
- 2026When Does Longer Reasoning Help? Predicting Mathematical Reasoning Through Discovery and Execution4 Oct 2026
- 2026Where Do Test-Time Scaling and Training Fall Short in Individual Stance Prediction?27 Sep 2026
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Models31 Aug 2026
- 2026Idea Search: Guiding Tree Search with Ideas to Explore Diverse Scientific Methods9 Aug 2026
- 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling11 May 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generation15 Feb 2026
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2026Inference-Time Scaling for Visual AutoRegressive modeling by Searching Representative Samples12 Jan 2026
- 2025RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation25 Nov 2025
- 2025DynaAct: Large Language Model Reasoning with Dynamic Action Spaces11 Nov 2025
- 2025Large Reasoning Embedding Models: Towards Next-Generation Dense Retrieval Paradigm16 Oct 2025
12 newest of 37 All 37 (JSON)
- 2024AutoGLM: Autonomous Foundation Agents for GUIscited by 100
- 2026Code as Agent Harnesscited by 47
- 2024DrugAgent: Automating AI-aided Drug Discovery Programming through LLM Multi-Agent Collaborationcited by 44
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 25
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Taskscited by 19
- 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agentscited by 14
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 8
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memorycited by 6
- 2026SciNav: A General Agent Framework for Scientific Coding Taskscited by 3
- 2026Agentic Framework for Epidemiological Modelingcited by 2
- 2026MIND-Skill: Quality-Guaranteed Skill Generation via Multi-Agent Induction and Deductioncited by 2
- 2026EngiAgent: Fully Connected Coordination of LLM Agents for Solving Open-ended Engineering Problems with Feasible Solutionscited by 1
12 most cited of 13 All 13 (JSON)
- 2026Code as Agent Harness18 May 2026
- 2026MIND-Skill: Quality-Guaranteed Skill Generation via Multi-Agent Induction and Deduction9 May 2026
- 2026EngiAgent: Fully Connected Coordination of LLM Agents for Solving Open-ended Engineering Problems with Feasible Solutions4 May 2026
- 2026SciNav: A General Agent Framework for Scientific Coding Tasks11 Mar 2026
- 2026Agentic Framework for Epidemiological Modeling30 Jan 2026
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory1 Nov 2025
- 2025StaAgent: An Agentic Framework for Testing Static Analyzers20 Jul 2025
- 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agents11 Jul 2025
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agents29 May 2025
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Tasks1 May 2025
- 2024DrugAgent: Automating AI-aided Drug Discovery Programming through LLM Multi-Agent Collaboration24 Nov 2024
12 newest of 13 All 13 (JSON)
- 2024Entropy Controllable Direct Preference Optimizationcited by 4
- 2024Entropy Controllable Direct Preference Optimization12 Nov 2024
- 2024The Limits of Inference Scaling Through Resamplingcited by 53
- 2025LLMs as Planning Formalizers: A Survey for Leveraging Large Language Models to Construct Automated Planning Modelscited by 38
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domainscited by 21
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generationcited by 19
- 2025On the Effect of Sampling Diversity in Scaling LLM Inferencecited by 18
- 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 16
- 2025DISC: Dynamic Decomposition Improves LLM Inference Scalingcited by 9
- 2025Generalizable Heuristic Generation Through LLMs with Meta-Optimizationcited by 9
- 2025JoyAgent-JDGenie: Technical Report on the GAIAcited by 7
- 2025ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Groundingcited by 4
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debuggingcited by 4
- 2025Program Synthesis via Test-Time Transductioncited by 4
12 most cited of 26 All 26 (JSON)
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026DecompRL: Solving Harder Problems by Learning Modular Code Generation2 Jul 2026
- 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Models30 Jun 2026
- 2026Selection Without Signal, Recovery Through Expression: A Measurement Study of Post-Hoc Falsification Operators for Frozen Small Code Models15 Jun 2026
- 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Language15 May 2026
- 2026Understanding Scattered Forest Search: A Version-Space Perspective on Multi-Turn Program Correction27 Apr 2026
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domains21 Apr 2026
- 2026Plan-MCTS: Plan Exploration for Action Exploitation in Web Navigation15 Feb 2026
- 2025MetaMuse: Algorithm Generation via Creative Ideation4 Oct 2025
- 2025JoyAgent-JDGenie: Technical Report on the GAIA1 Oct 2025
- 2025Timber: Training-free Instruct Model Refining with Base via Effective Rank28 Sep 2025
- 2025Program Synthesis via Test-Time Transduction22 Sep 2025
12 newest of 26 All 26 (JSON)