DuoDiscover: Scaling Autonomous Discovery Beyond the Evaluation Bottleneck
AuthorsShubham 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
AffiliationsUC Berkeley · Stanford University · Google
DuoDiscover uses a fleet of AI agents and fast, continuously checked proxy tests to find engineering improvements when full evaluations are too slow.
Key results
Kernel candidate checks were 53× faster than full evaluations.
Speedup over base code across the benchmark tasks.
Mean score across 235 GPU kernels.
Geometric-mean gain across four serving objectives.
Overall geometric-mean gain over the reference core.
What the paper found
Autonomous optimization can stall when each full performance evaluation takes minutes or hours. DuoDiscover tackles that bottleneck by having independent coding agents jointly choose a code target and create a cheap, target-specific proxy called a yardstick. Agents hill-climb the proxy; an orchestrator schedules full evaluations, combines confirmed edits, and repeatedly checks whether each yardstick still ranks candidates correctly. A yardstick must reach Kendall’s τ of at least 0.5, and no improvement counts until a full evaluation confirms it. Across repository and GPU/TPU kernel benchmarks, kernel yardsticks made candidate checks 53× faster. DuoDiscover achieved a 15.02× geometric-mean speedup on SWE-fficiency and a 79.74% speed-of-light score on NVIDIA’s SOL-Exec, taking first place on 121 of 235 kernels. In vLLM serving, it reached a 1.92× gain over the base system, compared with 1.07× for Anthropic’s Claude Code. For CPU prefetcher design, it delivered a 6.31% overall gain, surpassing both the best human design and AlphaEvolve-based ArchAgent v2 in 16.7 days, versus more than 40 days for ArchAgent v2. The study also reports gains using Google’s Gemini 3.8 Flash as the coding-agent backbone, suggesting the approach is not tied to one model.
Original abstract
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-fficiency, 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$\times$ and 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$\times$ ArchAgent v2's gain in 16.7 days versus more than 40 days, advancing the frontier of autonomous chip design.
Read the original paperMore in AI Agents
Browse all 65 papers →AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
Simon Yu, Baolin Peng, Bo Liu, Zhengyan Shi, Zhaoyang Wang, Hao Cheng, Qianhui Wu, Wenlin Yao, Natasha Jaques, Weiyan Shi, Jianfeng Gao
AutoEnvScaling has agents create the training environments that help terminal agents get better at solving tasks.
World of SWECraft: Agent Collaboration at Scale via Simulated Software Worlds
Shannon Zejiang Shen, Yapei Chang, Qiyao Liang, Benjamin Newman, Jenny Liang, Rulin Shao, Ziqiao Ma, Junjie Oscar Yin, Yung-Sung Chuang, Weijia Shi, Yejin Choi, Luke Zettlemoyer, Pang Wei Koh, Mohit Iyyer, Tongshuang Wu, David Sontag
The paper builds simulated software ecosystems to test how AI agents collaborate and scale their work.
CUAWright: A Minimal Unified Interface for Digital Agents
Yadong Lu, Theodore Lee, Yifei Li, Lawrence Keunho Jang, Tianci Xue, Yu Su, Huan Sun, Ahmed Hassan Awadallah
CUAWright argues that giving computer-use agents a simple programmable terminal instead of GUI-specific tools makes them substantially more capable, efficient, and adaptable.