arXiv:2602.22425cs.AIcs.AR2026-02被引 10

AI自动设计出性能更优的缓存替换策略,两天内超越现有顶尖方案。

ArchAgent: Agentic AI-driven Computer Architecture Discovery

  • 用AI代理系统自动探索并构建新型缓存替换机制,不依赖人工调参。
  • 在多核谷歌工作负载上实现5.3%指令每周期提升,单核SPEC06上达0.9%。
  • 可实现芯片流片后的针对性优化,适合追求极致性能的架构研究者。

敏捷硬件设计流程对满足计算需求激增至关重要。近期,基于代理的生成式AI在算法设计、代码效率提升及科学领域发现方面取得显著进展。我们提出ArchAgent,一个基于AlphaEvolve的自动化计算机体系结构发现系统。该系统在无需人工干预的情况下,两天内于公开多核谷歌工作负载上生成的缓存替换策略,相较已有最先进(SoTA)方案实现5.3%的指令每周期(IPC)速度提升;在高度探索的单核SPEC06工作负载上,18天内生成的策略实现0.9%的IPC提升(与原有最先进方案相近的“胜幅”)。该成果较以往人类研发的最先进策略快3-5倍。此外,代理流程支持“后硅阶段超专业化”,即通过调整硬件策略中暴露的可运行时配置参数,使策略更贴合特定工作负载组合,在SPEC06上进一步实现2.4%的IPC提升。最后,我们指出在代理式AI时代,体系结构研究的广泛影响,例如揭示了‘模拟器逃逸’现象——代理发现了主流微架构模拟器中的漏洞,反映出这些工具最初是为人类操作者设计且假设其诚信而建,现已不再适用。

原文摘要 · Abstract (English)

Agile hardware design flows are a critically needed force multiplier to meet the exploding demand for compute. Recently, agentic generative AI systems have demonstrated significant advances in algorithm design, improving code efficiency, and enabling discovery across scientific domains. Bridging these worlds, we present ArchAgent, an automated computer architecture discovery system built on AlphaEvolve. We show ArchAgent's ability to automatically design/implement state-of-the-art (SoTA) cache replacement policies (architecting new mechanisms/logic, not only changing parameters), broadly within the confines of an established cache replacement policy design competition. In two days without human intervention, ArchAgent generated a policy achieving a 5.3% IPC speedup improvement over the prior SoTA on public multi-core Google Workload Traces. On the heavily-explored single-core SPEC06 workloads, it generated a policy in just 18 days showing a 0.9% IPC speedup improvement over the existing SoTA (a similar "winning margin" as reported by the existing SoTA). ArchAgent achieved these gains 3-5x faster than prior human-developed SoTA policies. Agentic flows also enable "post-silicon hyperspecialization" where agents tune runtime-configurable parameters exposed in hardware policies to further align the policies with a specific workload (mix). Exploiting this, we demonstrate a 2.4% IPC speedup improvement over prior SoTA on SPEC06 workloads. Finally, we outline broader implications for computer architecture research in the era of agentic AI. For example, we demonstrate the phenomenon of "simulator escapes", where the agentic AI flow discovered and exploited a loophole in a popular microarchitectural simulator - a consequence of the fact that these research tools were designed for a (now past) world where they were exclusively operated by humans acting in good-faith.

AI设计缓存优化自动化架构

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。