Planning-Coding Separation in LLM-Based Code Generation: An Empirical Study
Not on the map. Why?
Abstract (arXiv)
Planning has been identified as an important factor for improved code generation with Large Language Models (LLMs). However, the interaction between planning capability and coding capability remains largely underexplored, especially when the two capabilities are from different LLMs. In this paper, we conduct the first comprehensive empirical study of planning-coding interaction in LLM-based code generation, where planning and coding are assigned to different LLMs (i.e., planning-coding separation). Specifically, we explore different planner-coder combinations to investigate the effectiveness for coders to utilize planning information from various planners and the impact of further training of coders on planner-coder combinations. Our results demonstrate that almost all planner-coder combinations are as competitive as using the same LLM for planning and coding, and the combination of a stronger planner and a stronger coder typically achieves improved effectiveness. Furthermore, using a large model as the planner paired with a much smaller model as the coder can sometimes be as competitive as using the large model as both the planner and the coder, and further training of the coder can typically boost various planner-coder combinations. These findings provide empirical evidence that planning and coding can be separated to a considerable extent in LLM-based code generation, which may offer a more flexible way to construct code-generation systems.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 42 of its 49 references that are in the map. Submitted 3 Nov 2026.
Builds on
42 of 49 references.
References · 42
- 2025Qwen3 Technical Reportcited by 10,000
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
- 2022Competition-Level Code Generation with AlphaCodecited by 1,510
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2024Qwen2.5-Coder Technical Reportcited by 1,301
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,241
- 2024A Survey on Large Language Models for Code Generationcited by 695
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 603
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 497
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 387
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 384
30 more
- 2023Self-collaboration Code Generation via ChatGPTcited by 264
- 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 221
- 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 193
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 190
- 2022Distilling Reasoning Capabilities into Smaller Language Modelscited by 169
- 2023Structured Chain-of-Thought Prompting for Code Generationcited by 145
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 69
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 69
- 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Modelscited by 39
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 37
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debuggingcited by 35
- 2024HumanEvo: An Evolution-aware Benchmark for More Realistic Evaluation of Repository-level Code Generationcited by 31
- 2023Chain-of-Thought in Neural Code Generation: From and For Lightweight Language Modelscited by 29
- 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewardscited by 27
- 2025COFFE: A Code Efficiency Benchmark for Code Generationcited by 25
- 2024Enhancing Code Generation Performance of Smaller Models by Distilling the Reasoning Ability of LLMscited by 18
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generationcited by 9
- 2024Planning-Driven Programming: A Large Language Model Programming Workflowcited by 8
- 2025Are They All Good? Evaluating the Quality of CoTs in LLM-based Code Generationcited by 5
- 2025MapCoder-Lite: Distilling Multi-Agent Coding into a Single Small LLMcited by 5
- 2025MoT: Modularization-of-Thought Prompting for Effective Code Generationcited by 4
- 2025Code2Bench: Scaling Source and Rigor for Dynamic Benchmark Constructioncited by 4
- 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoningcited by 4
- 2025Understanding Chain-of-Thought Effectiveness in Code Generation: An Empirical and Information-Theoretic Analysiscited by 3
- 2026PaT: Planning-after-Trial for Efficient Test-Time Code Generationcited by 3
- 2024Condor: A Code Discriminator Integrating General Semantics with Code Detailscited by 2
- 2025Think Like Human Developers: Harnessing Community Knowledge for Structured Code Reasoningcited by 2
- 2026Idea First, Code Later: Disentangling Problem Solving from Code Generation in Evaluating LLMs for Competitive Programmingcited by 2
- 2026CollabCoder: Plan-Code Co-Evolution via Collaborative Decision-Making for Efficient Code Generationcited by 1
- 2026SolidCoder: Bridging the Mental-Reality Gap in LLM Code Generation through Concrete Executioncited by 1
Built on by
Not cited yet.