arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25083cs.AIcs.AR
收藏

代理架构:一种用于建筑设计探索和优化的代理AI框架

Agentic Architect: An Agentic AI Framework for Architecture Design Exploration and Optimization

Carnegie Mellon University(卡内基梅隆大学)

Vasilis Kypriotis, Alexander Blasberg, Alexandros Moiras, Dimitrios Skarlatos

AI总结:

本文提出Agentic Architect框架,结合LLM驱动的代码进化与精确模拟,实现计算机架构设计的探索与优化,展示了在缓存替换、数据预取和分支预测等领域的性能提升。

摘要:

大规模语言模型(LLMs)的快速进展为高效探索广泛而复杂的设计空间提供了新机遇,尤其在计算机架构中,性能依赖于微架构设计和来自庞大组合空间的策略。我们引入了Agentic Architect,一种结合LLM驱动的代码进化与精确模拟的代理AI框架,用于计算机架构设计探索和优化。人类架构师指定优化目标、初始设计、评分函数、模拟器接口和基准划分,而LLM在这些约束下探索实现。在缓存替换、数据预取和分支预测中,Agentic Architect匹配或超越了最先进的设计。我们的最佳进化缓存替换设计在LRU上实现了1.062倍的几何平均IPC速度提升,在Mockingjay上实现了0.6%的提升(1.056倍)。我们的进化分支预测器在Bimodal上实现了1.100倍的几何平均IPC速度提升,在其Hashed Perceptron种子(1.085倍)上提升了1.5%。最后,我们的进化预取器在无预取情况下实现了1.76倍的几何平均IPC速度提升,在其VA/AMPM Lite种子(1.59倍)上提升了17%,在SMS上提升了21%。我们的分析揭示了代理AI驱动的微架构设计的几个发现:在进化设计中,组件往往对应已知技术;新颖性在于它们如何协调。架构师的角色正在转变,但人类仍处于核心位置。种子质量限制了搜索能实现的范围:进化可以细化和扩展现有机制,但无法弥补基础薄弱。同样,目标、约束和提示指导影响可靠性和泛化能力。总体而言,Agentic Architect是首个端到端的开源框架,用于代理AI架构探索和优化。

英文摘要:

Computer Architecture research has traditionally required the exploration of vast, highly complex design spaces through manual human effort. Large Language Models (LLMs) offer an opportunity to accelerate this process by enabling fast and automated implementation and testing of different architectural mechanisms and their combinations. We introduce Agentic Architect, a framework for agentic CPU microarchitectural design-space exploration and optimization. The Agentic Architect combines LLM-driven code evolution with cycle-accurate simulation and hardware cost modeling to explore performance, area, and power tradeoffs. Starting from a seed design, the LLM is prompted to explore the design space by implementing changes, guided by prior evaluation feedback. Each new design is compiled, simulated on training workloads, evaluated against the optimization objective, and constrained by area and power budgets. Its score and diagnostics update the candidate population and guide subsequent iterations. We evaluate the Agentic Architect framework across prefetching, cache replacement, and branch prediction. On 213 traces spanning five benchmark suites, its evolved prefetchers lead the evaluated L1D and L2 designs, delivering up to 6.7% and 2.6% additional speedup, respectively, over the strongest state-of-the-art design, while the best evolved cache replacement design improves over Mockingjay by up to 1.7%. Moreover, across 191 branch-prediction traces, the evolved branch predictor achieves 97.62% of TAGE-SC-L's geometric mean IPC at 10.58% of its area. Our analysis highlights the importance of seed selection, hardware constraints, and training workloads in shaping search outcomes. Overall, Agentic Architect establishes the first end-to-end framework for agentic CPU microarchitectural design optimization, opening a new direction for architecture research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑