arXiv:2610.29303cs.LGOct 2026

Manuscript Offprint

arXiv:2610.29303

ExpEvolve: Structuring and Reusing Experience for Open-Ended Discovery

Yongqiang Chen, Chenxi Liu, Deyu Zou, Zhenhao Chen, Tongliang Liu, Bo Han, Kun Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Yongqiang Chen ∗†1,2^{*†1,2}, Chenxi Liu ∗3^{*3}, Deyu Zou ∗4^{*4}, Zhenhao Chen 1^{1}, Tongliang Liu 5,1^{5,1}, Bo Han 3^{3} and Kun Zhang 1,2^{1,2}

1^{1}MBZUAI, 2^{2}Carnegie Mellon University, 3^{3}TMLR Group, Hong Kong Baptist University, 4^{4}The Chinese University of Hong Kong, 5^{5}SAIC Centre, The University of Sydney

*Core contributors. †Project lead.

yqchen24@gmail.com

Evolutionary coding agents such as AlphaEvolve are one of the notable successes in using Large Language Models (LLMs) to build AI Scientists. These agents tackle open-ended scientific problems by iteratively improving and evolving programs, leveraging the prior knowledge and reasoning capabilities of LLMs. Despite their success, mutations over programs are mostly low-level upon surface heuristics, without a persistent unit of control. In contrast, science compounds through ideas. In this work, we propose ExpEvolve, which injects idea-level extraction and control into evolution: it discovers and leverages the high-level factors from programs that explain scoring differences among different programs. We characterize theoretical conditions on when discovery with idea factors improves sample efficiency. We also build a practical framework to show that the extracted high-level idea factors are helpful for guiding exploitation from experience and exploration when discovery comes to a plateau. Across 11 open-ended mathematical tasks, ExpEvolve significantly improves the final performance and sample efficiency up to 5.0×. The improvements also transfer to 4 other LLMs and to 6 machine learning tasks from MLS-Bench. Analysis shows that ExpEvolve can discover idea-level factors to provide better exploration and exploitation for evolutionary discovery.

1. Introduction

Large language models (LLMs) are now widely used to build agents that operate on increasingly long-horizon tasks (Plaat et al., 2025). One of the most ambitious applications is AI scientist agents (Zheng et al., 2025a), in which LLMs automate the scientific discovery process, including literature surveys (Asai et al., 2026), hypothesis generation (Wang et al., 2024; Yang et al., 2024), data-driven analysis (Majumder et al., 2025), experiment design (Li et al., 2025a), or even the whole discovery workflow (Gottweis et al., 2026; Lu et al., 2024; Mitchener et al., 2025; Yamada et al., 2025). LLM-driven discovery has shown strong results in a variety of domains, such as mathematics (OpenAI, 2026b,c), de novo protein design (Anthropic, 2026), algorithm discovery (Lange et al., 2026; Novikov et al., 2025), and the research that develops LLMs themselves, an early form of recursive self-improvement (RSI) (Favaro and Clark, 2026; Karpathy, 2026; Lyu et al., 2026a; OpenAI, 2026a). At the heart of the discovery loop is the iteration over scientific hypotheses, where scientific ideas compound throughout the evaluation of promising hypotheses (Wallace et al., 2026). Therefore, it is essential to reuse the discovery experience to generate high-quality hypotheses, e.g., avoiding getting stuck in repetitive mistakes or suboptimal solutions and encoding promising exploratory proposals.

In this work, we study experience reuse in open-ended discovery with evolutionary coding agents, where hypotheses are represented as solution programs to the underlying scientific problem, and experiences are accumulated as evaluated programs and their scores given by an explicit evaluator (Novikov et al., 2025). Typically, existing evolutionary coding agents such as ShinkaEvolve directly incorporate successful programs or rely on LLMs to summarize reusable insights and incorporate them as

This paper is an extended version of CausalEvolve (arXiv:2603.14575).

Figure

Program-level evolution

Idea-level evolution

Figure 1 | Comparison between experience reuse at program-level and idea-level. All programs solve the same grid task. Left: Experience reuse at program-level is prone to low-level edits. Program-level evolution derives new programs from a high-scoring parent, such as changing the heuristic weight or bounding the search loop. Both edited programs score lower. Right: Experience reuse at idea-level compares structurally different programs through a shared procedure-level factor, lp = refine_lp(lp). Programs that contain the factor score higher than the program that omits it. This contrast singles out the factor, which is then inserted into new programs of different structures.

memory for future mutations with LLMs (Gideoni et al., 2026; Karpathy, 2026; Lange et al., 2026). However, program mutation contains an open-ended search space including low-level details such as hyperparameters and high-level insights such as optimization strategies. LLM-driven guidance is prone to focusing on low-level details (Karpathy, 2026; Pelleriti et al., 2026), which may not bring genuine new scientific discoveries. In contrast, human scientists tend to recognize the high-level contrasts among programs, accumulate and exploit scientific ideas from experience (Douven, 2025; Kuhn and Hawkins, 1963). The gap raises a challenging research question:

How can we reuse experience for evolutionary discovery like human scientists?

To tackle the question, we formulate evolutionary discovery as a Partially Observable Markov Decision Process (POMDP) (Kaelbling et al., 1998) (Sec. 3). In each turn, the agent needs to propose meaningful solutions to uncover the underlying causal mechanism for solving the scientific problem, i.e., maximizing the evaluation score (Glymour; Wallace, 1981). Under the formulation, we introduce the notion of ideas as high-level mechanistic properties of the programs that determine the evaluation scores, e.g., the construction family or the optimization strategy (Def. 3.2). Without uncovering the ideas, the agent has to treat programs as unrelated and cannot tell whether a revision changes an idea or only a low-level detail, so discovery degenerates into exhaustive search (Thm. 3.1). Meanwhile, the identification of ideas also requires sufficient exploration to contrast programs with and without each idea (Thm. 3.3). Hence, an effective discovery agent needs to extract ideas from experience, and keep exploring programs where the ideas vary.

Motivated by the analysis, we propose ExpEvolve, which recognizes, structures, and leverages the high-level idea factors from discovery experience (Fig. 1). Specifically, ExpEvolve realizes the discovery of ideas via identifying high-level factors that help explain the program scoring differences. Built upon COAT (Liu et al., 2025), the discovered idea factors are expected to predict which program performs better given any pair of programs in the experience. Then, the admitted idea factors will be incorporated as an action of a multi-armed bandit that controls the exploration and exploitation of different ideas during discovery. To enable sufficient exploration, ExpEvolve also allocates slots for random exploration (Gideoni et al., 2026), and idea-guided exploration when the evolution comes to a plateau. The idea-guided exploration enforces LLMs to explore diverse ideas other than those widely used in top-scoring programs. The idea-based control in ExpEvolve allows efficient exploitation of promising ideas while continuing to explore programs with varied ideas.

We evaluate ExpEvolve on 11 open-ended mathematical discovery tasks with a budget of 200 evaluated programs, using SCS as the backbone and the main baseline (Sec. 5). Under two configurations that split the budget into 20 generations of 10 programs and 10 generations of 20 programs, ExpEvolve improves the final performance over SCS and ShinkaEvolve in most settings with smaller budgets up to 5.0×. Further analyses show that the discovered idea factors order the archived programs better than their code length on all 11 tasks. We further integrate ExpEvolve into OpenRSI (Yang et al., 2026b) on six tasks from MLS-Bench (Lyu et al., 2026a), where it improves the mean final best-so-far score of OpenRSI on all six tasks.