Lodestone: Automated Semantic Discovery of Datacenter Hardware Specialization
Peizhe Liu, Akanksha Jain, Gerasimos Gerogiannis, Vidushi Dadu, Parthasarathy Ranganathan, Jovan Stojkovic
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%.
Create a lesson
Related papers
Stratum: A Hardware-Software Co-Design Framework for SNN Inference on RISC-V
Shared title terminology · Wajahat Riaz, Muhammad Adeel Pasha, Shahid Masud et al.
Mind the Delta: Early Pruning of RTL Variants for Agentic Hardware Optimization
Shared title terminology · Siyang Cai, Cangyuan Li, Haoyu Gao et al.
Hardware Acceleration of Vision-Language-Action Models with Weight Precision Rising over the Flow Steps
Shared title terminology · Robin Geens, Simon Haepers, Jonas Crols et al.
Inference-Time Scaling in Agentic Hardware Verification Workflows: A Multi-Strategy Characterization Across Protocol Complexity
Shared title terminology · Vikash Kumar
Manufacturing Differential Sparsity: Planner-Hardware Co-Design for Efficient World Model Planning
Shared title terminology · Wenbo Zhu, Paul Yi-Chia Chen, Yuanhan Li et al.
RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTL
Shared title terminology · Yasir Mahmud