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

ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolution

About

We introduce ShinkaEvolve: a new open-source framework leveraging large language models (LLMs) to advance scientific discovery with state-of-the-art performance and unprecedented efficiency. Recent advances in scaling inference time compute of LLMs have enabled significant progress in generalized scientific discovery. These approaches rely on evolutionary agentic harnesses that leverage LLMs as mutation operators to generate candidate solutions. However, current code evolution methods suffer from critical limitations: they are sample inefficient, requiring thousands of samples to identify effective solutions, and remain closed-source, hindering broad adoption and extension. ShinkaEvolve addresses these limitations, introducing three key innovations: a parent sampling technique balancing exploration and exploitation, code novelty rejection-sampling for efficient search space exploration, and a bandit-based LLM ensemble selection strategy. We evaluate ShinkaEvolve across diverse tasks, demonstrating consistent improvements in sample efficiency and solution quality. ShinkaEvolve discovers a new state-of-the-art circle packing solution using only 150 samples, designs high-performing agentic harnesses for AIME mathematical reasoning tasks, identifies improvements to ALE-Bench competitive programming solutions, and discovers novel mixture-of-expert load balancing loss functions that illuminate the space of optimization strategies. Our results demonstrate that ShinkaEvolve achieves broad applicability with exceptional sample efficiency. By providing open-source accessibility and cost-efficiency, this work democratizes open-ended discovery across diverse computational problems.

Robert Tjarko Lange, Yuki Imajuku, Edoardo Cetin• 2025

Related benchmarks

TaskDatasetResultRank
Kernel OptimizationKernelBench 1.0 (test)
Latency (us)0.476
27
Mathematical OptimizationHeilbronn Convex n=13
Best Result0.026
10
Mathematical OptimizationCircle Packing Square n=26
Best Result2.541
10
Mathematical OptimizationCircle Packing Rect n=21
Best Objective Value2.358
10
Mathematical OptimizationHeilbronn Triangles n=11
Best Result0.034
10
Mathematical OptimizationMinMax Distance n=3
Best Result0.2398
10
Systems OptimizationADRS Prism
Best Score26.26
9
Expert Parallelism Load BalancingADRS EPLB
Best Load Metric0.1272
9
GeometryAtCoder Heuristic Contest ahc039 (official leaderboard)
Score5.58e+5
9
Transaction schedulingADRS TXN
Best4.33e+3
9
Showing 10 of 20 rows

Other info

Follow for update