DuoDiscover:突破评估瓶颈的自主发现规模化方法
DuoDiscover: Scaling Autonomous Discovery Beyond the Evaluation Bottleneck
AI总结:
DuoDiscover是突破评估瓶颈的自主发现系统,通过联合发现优化目标与代理评估器等三种机制,在软件、芯片架构等多类任务上实现了优于人类与现有方法的优化效果。
摘要:
评估是AI进步的核心,对自主发现同样至关重要。然而,将自主发现扩展到现实工程挑战面临一个根本瓶颈:评估进展的成本。在现实场景中,单次真实评估(如完整基准测试或服务追踪)可能耗时数小时,因此搜索过程仅能承担少量真实评估。本文提出DuoDiscover,这是一种通过三种机制联合发现优化目标与高效评估进展方式的搜索系统。第一,代码智能体集群中的每个工作智能体共同发现优化目标与快速定制化代理评估器(称为“基准尺度”),智能体随后基于该基准尺度而非真实评估进行爬山搜索。第二,由于搜索可利用基准尺度与真实目标之间的偏差,保真度测试会持续重新检查每个基准尺度的排名并使任何漂移的基准尺度失效。第三,该集群为自底向上架构,无问题的中心分解,轻量级协调器生成与终止智能体、向运行中的智能体传递指令,并以其他智能体的已确认工作为新智能体提供初始信息。DuoDiscover可实现从软件到芯片架构的自主优化。我们在两个仓库级基准测试及四个涵盖数百个内核的GPU与TPU内核套件上对DuoDiscover进行验证:在SWE-fficiency上,其平均加速比是人类专家的两倍;在SOL-Exec上,235个内核中121个排名第一,212个进入前三;在高度优化的vLLM与SQLite引擎上,DuoDiscover较基础代码分别实现1.92倍与1.38倍的增益;在单次评估耗时长达28小时的CPU微架构优化任务中,DuoDiscover超越基于AlphaEvolve的ArchAgent v2与最佳人类设计,耗时16.7天实现的增益为ArchAgent v2的1.65倍,而ArchAgent v2耗时超40天,推动了自主芯片设计的前沿发展。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。