Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Simple Baselines are Competitive with Code Evolution

About

Code evolution is a family of techniques that rely on large language models to search through possible computer programs by evolving or mutating existing code. Many proposed code evolution pipelines show impressive performance but are often not compared to simpler baselines. We test how well two simple baselines do over three domains: finding better mathematical bounds, designing agentic scaffolds, and machine learning competitions. We find that simple baselines match or exceed much more sophisticated methods in all three. By analyzing these results we find various shortcomings in how code evolution is both developed and used. For the mathematical bounds, a problem's search space and domain knowledge in the prompt are chiefly what dictate a search's performance ceiling and efficiency, with the code evolution pipeline being secondary. Thus, the primary challenge in finding improved bounds is designing good search spaces, which is done by domain experts, and not the search itself. When designing agentic scaffolds we find that high variance in the scaffolds coupled with small datasets leads to suboptimal scaffolds being selected, resulting in hand-designed majority vote scaffolds performing best. We propose better evaluation methods that reduce evaluation stochasticity while keeping the code evolution economically feasible. We finish with a discussion of avenues and best practices to enable more rigorous code evolution in future work.

Yonatan Gideoni, Sebastian Risi, Yarin Gal• 2026

Related benchmarks

TaskDatasetResultRank
Multi-class classificationSpooky Author
Competition Score0.4468
7
Tabular ClassificationTabular Dec. 2021
Competition Score0.9623
7
Binary ClassificationInsult Detection
Competition Score90.56
7
Binary ClassificationToxic Jigsaw
Competition Score0.9863
7
RegressionNYC Taxi
Competition Score5.9758
7
Text NormalizationEnglish Text Norm.
Competition Score0.9913
7
Binary ClassificationRandom Pizza
Competition Score0.6891
7
RegressionTrans. Conductors
Competition Score0.062
7
Tabular ClassificationTabular May 2022
Competition Score98.39
7
Text NormalizationRuss. Text Norm.
Competition Score97.35
7
Showing 10 of 17 rows

Other info

Follow for update