# Planning-Coding Separation in LLM-Based Code Generation: An Empirical Study

DevFeed: [Planning-Coding Separation in LLM-Based Code Generation: An Empirical Study](<https://devfeed.tech/articles/planning-coding-separation-in-llm-based-code-generation-an-empirical-study-116186.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.04320>)

Author: Wentao Wang, Zeyu Sun, Ruwei Pan, Yueyi Xiao, Qingyuan Liang, Lu Zhang

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Vibe coding](<https://devfeed.tech/topics/vibe-coding.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [code-generation](<https://devfeed.tech/tags/code-generation.md>), [coder](<https://devfeed.tech/tags/coder.md>), [coding](<https://devfeed.tech/tags/coding.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [llm](<https://devfeed.tech/tags/llm.md>), [planner](<https://devfeed.tech/tags/planner.md>), [planning](<https://devfeed.tech/tags/planning.md>), [study](<https://devfeed.tech/tags/study.md>)

## AI overview

The study empirically examines assigning planning and coding to different LLMs. It finds that almost all tested planner-coder pairings are as competitive as using one model for both tasks; pairing stronger planners with stronger coders typically improves effectiveness. A large planner paired with a much smaller coder can sometimes match using the large model for both, and further coder training typically boosts results across pairings. The abstract concludes that planning and coding can be separated to a considerable extent, enabling more flexible code-generation systems.

## Source excerpt

arXiv:2611.04320v1 Announce Type: cross Abstract: 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.