Manuscript Offprint

arXiv:2610.17184

DuoDiscover: Scaling Autonomous Discovery Beyond the Evaluation Bottleneck

Shubham Agarwal, Akshat Gupta, Mike Heddes, Dilara Soylu, Rui Meng, Patrick Tser Jern Kon, Jiefeng Chen, Mert Cemri, Shu Liu, Abe Gonzalez, Akanksha Jain, Bhavana Dalvi Mishra, Linfeng Song, Vilobh Meshram, Xiangru Tang, Jinsung Yoon, Aditya Parameswaran, Ion Stoica, Vahab Mirrokni, Burak Gokturk, Parthasarathy Ranganathan, Tomas Pfister, Nanyun Peng, Chun-Liang Li

Shubham Agarwal ∗1,2^{*1,2}, Akshat Gupta ∗1,2^{*1,2}, Mike Heddes ∗1^{*1}, Dilara Soylu ∗1,3^{*1,3}, Rui Meng 1^{1}, Patrick Tser Jern Kon 1^{1}, Jiefeng Chen 1^{1}, Mert Cemri 1,2^{1,2}, Shu Liu 2^{2}, Abe Gonzalez 1^{1}, Akanksha Jain 1^{1}, Bhavana Dalvi Mishra 1^{1}, Linfeng Song 1^{1}, Vilobh Meshram 1^{1}, Xiangru Tang 1^{1}, Jinsung Yoon 1^{1}, Aditya Parameswaran 2^{2}, Ion Stoica 2^{2}, Vahab Mirrokni 1^{1}, Burak Gokturk 1^{1}, Parthasarathy Ranganathan 1^{1}, Tomas Pfister 1^{1}, Nanyun Peng †1^{\dagger1} and Chun-Liang Li †1^{\dagger1}

1^{1}Google 2^{2}UC Berkeley 3^{3}Stanford University

∗^{*}Equal contribution, ordered alphabetically. †^{\dagger}Co-last authors.

Evaluation has been central to advances in AI, and it is equally critical to autonomous discovery. Yet scaling autonomous discovery to real-world engineering challenges faces a fundamental bottleneck: the cost of evaluating progress. In real settings, a single true evaluation, such as a full benchmark or serving trace, can take hours, so a search can afford only a handful of true evaluations. We present DuoDiscover, a search system that jointly discovers what to optimize and how to evaluate progress efficiently, through three mechanisms. First, each worker in a fleet of coding agents co-discovers an optimization target and a fast, tailored proxy evaluator, which we call a yardstick. The agent then hill-climbs the yardstick rather than the true evaluation. Second, since search can exploit gaps between a yardstick and the true objective, fidelity tests continually recheck each yardstick's ranking and invalidate any that drift. Third, the fleet is bottom-up, with no central decomposition of the problem. A lightweight orchestrator spawns and terminates agents, briefs running ones, and seeds new agents with others' confirmed work. DuoDiscover enables autonomous optimization from software to chip architecture. We demonstrate DuoDiscover on two repository-level benchmarks and four GPU and TPU kernel suites covering hundreds of kernels. On SWE-efficiency, it doubles the average speedup of human experts. On SOL-Exec, it ranks first on 121 of 235 kernels and in the top three on 212. On the heavily optimized vLLM and SQLite engines, DuoDiscover achieves 1.92×1.92\times and 1.38×1.38\times gains over the base code. On a CPU microarchitecture optimization task with evaluations of up to 28 hours, DuoDiscover surpasses both AlphaEvolve-based ArchAgent v2 and the best human design, with 1.65×1.65\times ArchAgent v2's gain in 16.7 days versus more than 40 days, advancing the frontier of autonomous chip design.

(a) The DuoDiscover loop

Figure

(b) vLLM speedup

(c) SOL-Exec B200 kernels

Figure 1 | DuoDiscover at a glance. (a) A worker agent hill-climbs a cheap yardstick in an inner loop (seconds per edit), while an outer loop of true evaluations (hours each) confirms gains and runs the fidelity test. (b) On vLLM, DuoDiscover reaches 1.92×1.92\times on a four-objective geometric mean, against Claude Code's 1.07×1.07\times. (c) On NVIDIA's SOL-Exec leaderboard, DuoDiscover takes first place.

© 2026 Google. All rights reserved

1. Introduction

Search-based discovery systems that couple large language models (LLMs) with iterative search and evaluator feedback have achieved strong results across mathematics (Romera-Paredes et al., 2024), algorithms (Novikov et al., 2025), and systems optimization (Cheng et al., 2025). Evaluation has long driven progress in AI, yet most prior work on autonomous discovery focuses on refining the search harness itself (Cemri et al., 2026; Lange et al., 2026), largely treating the evaluator as given and fixed. On real engineering systems, however, that assumption breaks down: evaluating progress becomes the bottleneck. For instance, optimizing vLLM for multi-objective serving requires 85 minutes per true evaluation, limiting even frontier coding agents to a dozen evaluations within a 20-hour search budget. Overcoming this bottleneck is key to scaling autonomous discovery across science and real-world engineering.

A natural solution is to guide search with cheap proxy evaluators instead of expensive true evaluations. This works because large speedups often come from focused edits to a few small regions of code, which we call targets, whose progress can be measured much more cheaply than the entire true evaluation. However, proxy evaluators are usually target-specific, making it impractical to design one by hand for every target. Moreover, effective proxy-guided search requires jointly identifying promising targets and cheap, faithful proxies: optimizing the wrong target yields little benefit, while an inaccurate proxy can misguide search. Even faithful proxies can become unreliable as search exploits discrepancies between the proxy and the true objective, improving proxy scores without real gains.

We propose DuoDiscover, a search system that jointly discovers what to optimize and how to evaluate progress when evaluation becomes the bottleneck. Each worker agent co-discovers a promising optimization target and a cheap proxy evaluator, called a yardstick, then hill-climbs on the yardstick to find better solutions. Beyond co-discovery, DuoDiscover addresses two further challenges. The first is maintaining evaluation fidelity. A yardstick that initially ranks edits like the true objective can drift as the agent adapts to it. DuoDiscover continually runs fidelity tests to invalidate drifting yardsticks and requires a true evaluation to confirm every gain before it is accepted. The second is target selection, choosing which regions to optimize among many candidate targets with unpredictable payoffs. Rather than decomposing the problem centrally, DuoDiscover deploys a bottom-up fleet of independent worker agents for co-discovery. Because worker agents are cheap but true evaluations are expensive, a lightweight orchestrator manages only the true evaluations: it steers them toward agents making progress, terminates stalled agents, and combines compatible gains.

DuoDiscover delivers autonomous optimization at every level of the computing stack, from software to chip architecture. We demonstrate it on two repository benchmarks, four GPU/TPU kernel suites, and real-world systems. On repositories, DuoDiscover doubles the human-expert speedup on SWE-efficiency and beats all baselines on FormulaCode, by 21% over the strongest. For GPU kernels, DuoDiscover achieves a 14% higher speed-of-light (SOL) score than the best baseline, ranking first on SOL-Exec for 121 of 235 kernels and in the top three for 212 at the time of submission. On TPU-Inference kernels, DuoDiscover attains a 2.68× speedup over optimized Pallas kernels, ahead of the best baseline at 2.38×. On JAXBench, DuoDiscover achieves a 4.62× speedup over XLA. On highly optimized systems (vLLM and SQLite), DuoDiscover finds up to a 1.92× speedup. Finally, on an expensive CPU microarchitecture design task, whose evaluation takes up to 28 hours, it surpasses both the AlphaEvolve-based ArchAgent v2 and the best human design, with 1.65× ArchAgent v2's gain using about 8,000 candidates over 16.7 days, against over 12,000 candidates and more than 40 days for ArchAgent v2, advancing the frontier of autonomous chip design.

Figure

Figure 2 | Overview of DuoDiscover. Left: a fleet of worker agents, each on its own copy of the codebase, coordinated by an orchestrator that terminates agents (a), spawns new ones, here one combining A and C (b), and briefs running ones (c). Right: inside one agent, a fast loop co-discovers a target and yardstick and climbs it on cheap scores, while a slow loop confirms gains with true evaluations and runs the fidelity test that validates or invalidates the yardstick.

References (66)