用AI自动设计计算机架构,性能超越现有方案。
Agentic Architect: An Agentic AI Framework for Architecture Design Exploration and Optimization
- 让大模型在约束下演化代码,结合精准仿真优化设计。
- 缓存替换提升1.062倍性能,分支预测快1.100倍。
- 适合想探索智能架构设计的工程师和研究者。
大型语言模型(LLM)的发展为高效探索复杂设计空间提供了新机遇,尤其在计算机体系结构领域,性能依赖于海量组合中的微架构设计与策略。我们提出Agentic Architect,一个基于大模型驱动代码演化的智能架构探索与优化框架,结合周期精确仿真。人类架构师定义优化目标、初始设计、评分函数、仿真接口和基准划分,由LLM在此约束下探索实现。在缓存替换、数据预取和分支预测任务中,该框架表现达到或超过当前最优水平。最佳演化缓存替换设计相比LRU提升1.062倍几何平均IPC,优于Mockingjay(1.056x)。演化分支预测器相比Bimodal提升1.100倍,优于其哈希感知机种子(1.085x)。演化预取器相比无预取提升1.76倍,优于VA/AMPM Lite种子(1.59x)和SMS(1.55x)。分析表明,演化设计常对应已知技术,创新在于协同方式;人类角色转变但仍为核心。种子质量决定上限:演化可优化改进,但无法弥补基础薄弱。目标、约束与提示引导影响结果可靠性与泛化性。整体上,Agentic Architect是首个端到端开源的智能体系结构探索与优化框架。
原文摘要 · Abstract (English)
Rapid advances in Large Language Models (LLMs) create new opportunities by enabling efficient exploration of broad, complex design spaces. This is particularly valuable in computer architecture, where performance depends on microarchitectural designs and policies drawn from vast combinatorial spaces. We introduce Agentic Architect, an agentic AI framework for computer architecture design exploration and optimization that combines LLM-driven code evolution with cycle-accurate simulation. The human architect specifies the optimization target, seed design, scoring function, simulator interface, and benchmark split, while the LLM explores implementations within these constraints. Across cache replacement, data prefetching, and branch prediction, Agentic Architect matches or exceeds state-of-the-art designs. Our best evolved cache replacement design achieves a 1.062x geomean IPC speedup over LRU, 0.6% over Mockingjay (1.056x). Our evolved branch predictor achieves a 1.100x geomean IPC speedup over Bimodal, 1.5% over its Hashed Perceptron seed (1.085x). Finally, our evolved prefetcher achieves a 1.76x geomean IPC speedup over no prefetching, 17% over its VA/AMPM Lite seed (1.59x) and 21% over SMS (1.55x). Our analysis surfaces several findings about agentic AI-driven microarchitecture design. Across evolved designs, components often correspond to known techniques; the novelty lies in how they are coordinated. The architect's role is shifting, but the human remains central. Seed quality bounds what search can achieve: evolution can refine and extend an existing mechanism, but cannot compensate for a weak foundation. Likewise, objectives, constraints, and prompt guidance affect reliability and generalization. Overall, Agentic Architect is the first end-to-end open-source framework for agentic AI architecture exploration and optimization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。