mlsanityData to 7 Oct 2026

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

arXiv 2604.21950 ↗First posted 23 Apr 2026cs.SE cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

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 less than refiner capability: a 1.5B generator paired with a 3B refiner matched a 3B model doing both roles. Early stopping is essential; without it, every iteration is net-negative. The code-specialized models outperform every general-purpose pipeline configuration, suggesting model specialization matters more than pipeline architecture. Preliminary text-only pipeline experiments without execution feedback did not show gains at this scale. In our constrained search space, evolutionary search mostly rediscovered the same simple generate-execute-refine loop we found manually, with no clearly significant gain from added topology. Single-evaluation fitness inflates results by 5-7 percent, selecting lucky genomes over good ones. On these benchmarks at 1-3B scale, execution feedback mattered more than added pipeline complexity in determining whether composition helped.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 13 of its 16 references that are in the map. First posted on arXiv 23 Apr 2026.

Builds on

13 of 16 references.

References · 13

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  4. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  5. 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 420
  6. 2024AFlow: Automating Agentic Workflow Generationcited by 395
  7. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
  8. 2025Small Models Struggle to Learn from Strong Reasonerscited by 109
  9. 2025EvoFlow: Evolving Diverse Agentic Workflows On The Flycited by 49
  10. 2024CYCLE: Learning to Self-Refine the Code Generationcited by 39
  11. 2026Controlled Self-Evolution for Algorithmic Code Optimizationcited by 11
  12. 2026AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generationcited by 9
1 more
  1. 2025EA4LLM: A Gradient-Free Approach to Large Language Model Optimization via Evolutionary Algorithmscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.