EvoDuet: Bilevel Co-Evolution of Web Searching and Task Solving for Scientific Discovery
Organizations: University of Minnesota · KAIST · Seoul National University · Hanyang University
Abstract
Evolutionary search with large language models (LLMs) can stall when progress requires external knowledge the model lacks. Supplying relevant documents helps, but simply adding web search tool can keep returning the same pages as solutions change. We introduce EvoDuet, a bi-level optimization method that co-evolves solutions and search queries with fixed model parameters. At each iteration, a retrieval gate lets the LLM assess its knowledge gap and choose to retrieve new documents, reuse stored ones, or proceed without them. An inner loop refines queries and ranks documents by the solution scores they are predicted to yield; an outer loop generates candidates in parallel from these documents and records the evaluated outcomes for later searches. Across 21 optimization tasks with one candidate per iteration, EvoDuet raises OpenEvolve's normalized discovery gain from 74.1% to 78.0% with GPT-5.6-Luna and from 61.3% to 82.3% with Gemini-3.8-Flash, whereas Qwen3.5-9B does not benefit. Our best runs surpass the previously reported best scores on eight tasks, including Swap Reduction on Q20 and Rosetta, and match them on three more. EvoDuet also improves with other scaffolds (e.g., Top-K, EvoX) on Sums/Diffs and Denoising, demonstrating its applicability across evolutionary search scaffolds.
Figures & tables
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Tasks | # |
|---|---|---|
| Simple Scientific Optimization | Pressure Vessel, SINDy, Batch Reactor, LABS-27, LJ-13, Chwirut2, Perovskites, SRSD, GuacaMol, Summit | 10 |
| Quantum compilation | Swap Reduction | 1 |
| Astrodynamics | Cassini, Galileo, Mariner 10, Rosetta, Voyager 2 | 5 |
| Scientific algorithms | Denoising | 1 |
| AI foundations | Domain Mixture, U Shape, LR & BSZ, Parallel | 4 |
| Algorithm engineering | AHC039, AHC058 | 2 |
| Task | Supplied evidence | Observed revision | Outcome |
|---|---|---|---|
| Sums/Diffs | A construction using the Chinese Remainder Theorem. | Adds random local search without implementing the supplied modular construction. | |
| Circle Packing (26) | Joint optimization of centers and radii using SLSQP. | Adopts SLSQP but mixes grouped and interleaved parameter layouts; a returned circle extends outside the square. | Invalid |
| Denoising | The Anscombe transform and its inverse. | Omits the factor of two in the forward transform, while the inverse still divides by two before squaring. |
| Behavior | Run | Main finding | Sec. |
|---|---|---|---|
| Method transfer | Swap Reduction | Retrieved depth weighting remains in later best programs despite repeated search misses. | I.1 |
| Cross-domain transfer | Erdős min. overlap | A radar codeword seeds later improvements in a number-theory task. | I.2 |
| Live documentation lookup | Voyager 2 | The added API keywords repeat defaults already given in the prompt. | I.3 |
| Target-informed reconstruction | CP ( =26) | A generated solver exceeds the value named in the first query. | I.4 |
| Public artifact reuse | Erdős, second run | A program that downloads a published witness improves the run’s best. | I.5 |
| Evidence-inspired over-reach | Galileo | A promising retrieval precedes a worse child; the run’s best is preserved. | I.6 |
Large Language Model-Guided Optimization
Large Language Model-Guided Optimization uses language models to propose, steer, and refine solutions to hard search and design problems.
See all 587 papers