Lodestone:自动语义发现数据中心硬件专用化机会的智能体框架
Lodestone: Automated Semantic Discovery of Datacenter Hardware Specialization
Lodestone 是一个智能体框架,通过推理执行代码实际计算的内容来自动发现硬件专用化机会。它从执行轨迹中提取热点控制流区域,由智能体描述其计算内容并合并为计算族,再在记录的执行上验证语义正确性。在 20 个数据中心工作负载上发现的 30 个计算族经周期精确模拟与 RTL 实现后,平均加速 12.6%,最高达 80.2%。
arXiv:2611.23663v1 Announce Type: new Abstract: Hardware specialization can improve datacenter efficiency. Unfortunately, identifying computations that justify dedicated hardware is difficult. Existing approaches analyze hot functions, instruction patterns, or overheads such as datacenter tax. They can miss fine-grained computations whose aggregate cost is spread across applications and libraries, especially when different pieces of code obscure the same underlying computation. We observe that seemingly unrelated code regions often perform the same computations, creating specialization opportunities that require semantic reasoning. The rise of agentic AI makes it possible to automate this. However, conventional AI agents cannot efficiently and reliably analyze large scale datacenter software. To unlock this opportunity, we present Lodestone, an agentic framework that automatically discovers hardware specialization opportunities by reasoning about what the executed code computes. First, Lodestone extracts hot control-flow regions from execution traces across workloads and organizes them into compact analysis packages that make large workloads tractable for agents. Second, agents describe what each region computes, merge those that perform the same computation into computational families, and check their semantic correctness in a loop. Third, to verify the discovered family, Lodestone runs every piece of code in a family against a set of reference inputs and outputs on recorded executions. Finally, for selected families, Lodestone proposes hardware, e.g., ISA extensions, near-core units, or detached accelerators, and human experts decide which proposals to develop further. We evaluate Lodestone on 20 workloads across six datacenter workload categories. We simulate 30 discovered families in a cycle-accurate simulator and implement them in RTL. These optimizations speed up the workloads by 12.6% on average and by up to 80.2%.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org