NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Simple Baselines are Competitive with Code Evolution

Yonatan Gideoni, Sebastian Risi, Yarin Gal

NeurIPS page · Open on the map

Category: LLM Agents, Evals & Benchmarks › Code Generation · Type: new method · Keywords: code evolution, simple baselines, automated program synthesis, search space, prompt engineering, evaluation stability

Areas: Code & Coding Agents › Code Generation and Optimization › Evolutionary Search and Self-Evolution; AI Agents › Agentic Decision Making › Autonomous Agents; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Self-Improving Agents

Summary

The paper introduces two simple baselines for code evolution and shows they match or outperform complex pipelines across three domains, highlighting the importance of search space and prompt design over pipeline complexity.

Explained to a 5-year-old

People use computer programs to solve problems. They try to improve the programs by changing bits of code. Usually they use complicated methods to do this. This paper shows that very simple methods can do just as well as the complicated ones. It also tells us that the way we look at the problems matters more than how fancy the method is.

Explained to a 5-year-old, longer

In computer programming, we sometimes want to make a program better at solving a problem. One way is to take an existing program and change a little bit of it, then test it. This process is called code evolution. Many researchers have built complex tools to do this, trying many changes at once. However, this paper looks at whether very simple tools can work just as well. They created two easy ways to try new code changes and compared them to the complex tools. The simple tools performed as well as the complex ones in three different areas: math problems, robot designs, and game competitions. The study found that the set of possible changes (the search space) matters more than how clever the tool is. Also, the information given to the tool (prompt) can affect how efficiently it finds good solutions. The paper also points out that the way we test the programs can be noisy, leading to poor choices, and suggests better testing methods. Overall, the work shows that simpler approaches and careful setup can lead to good results without needing complicated systems.

For a technical reader

The authors propose two straightforward baseline methods that generate code modifications via simple prompting and search, then compare them against popular evolutionary pipelines. They find that the size of the search space and the content of prompts have a larger impact on performance than the complexity of the pipeline. The paper also highlights that high variance in evaluation can cause automated search to select suboptimal solutions and suggests more stable evaluation procedures. These insights indicate that future improvements in code evolution should focus on expanding search spaces and refining prompts rather than on increasingly complex algorithms.

Problem

Adapting large language models to search through computer programs to find better solutions is often done with complex pipelines, but it is unclear whether simpler alternatives can achieve comparable performance.

Method

The approach uses straightforward prompting and search strategies to generate candidate code modifications, avoiding complex evolutionary operators.

Results

The approach matches or outperforms existing pipelines across all three domains, and shows that search space and prompt design have larger impacts than pipeline complexity.

Contributions

The paper provides simple baselines for code evolution, demonstrates that search space and prompt design dominate performance, and proposes improved evaluation procedures to reduce stochasticity.

Limitations and assumptions

The results are specific to the three evaluated domains and may not generalize to other tasks.

Practical relevance

These insights can guide practitioners in designing more effective and reproducible code evolution pipelines, fostering progress in automated program synthesis.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction