Feedback Over Form: Why Execution Feedback Matters More Than Pipeline Topology in 1-3B Code Generation
Charles Junichi McAndrews

TL;DR
This study shows that execution feedback significantly improves small language model code generation, while complex pipeline structures offer limited additional benefits at the 1-3B scale.
Contribution
It demonstrates that simple generate-execute-refine loops with execution feedback outperform more complex pipeline topologies in small model code generation tasks.
Findings
Execution feedback improves code correctness by over 4 standard deviations.
Model specialization outperforms pipeline complexity in effectiveness.
Early stopping is crucial to prevent negative iteration effects.
Abstract
Small language models (1-3B) are practical to run locally, but individually limited on harder code generation tasks. We ask whether composing them into pipelines can recover some of that lost capability. We study code generation pipelines built from 1-3B models with execution feedback, and use a NEAT-inspired evolutionary search to test whether more complex pipeline structure helps beyond a simple refinement loop. We evaluate on HumanEval (164 problems) and sanitized MBPP (427 problems), all with local inference on a single laptop. Self-refinement with execution feedback improves code generation by more than 4 standard deviations on both benchmarks. The gains are narrow in mechanism: refinement fixes many runtime errors (especially NameError and SyntaxError), but rarely fixes logic errors such as AssertionError. Within our tested general-purpose model pool, generator identity mattered…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
