Accelerating the Inference Era with AI-Driven, Globally Optimized HW/SW Co-Design
Miria Feng ⋅ Fangzhao Zhang ⋅ Adrian G Lafuente ⋅ Mert Pilanci ⋅ Azalia Mirhoseini
Abstract
Deep learning inference demand is projected to grow $10{,}000\times$ over the next five years, a trajectory that general-purpose accelerators cannot match. Custom accelerators offer a path forward, but designing them requires co-optimizing hardware datapaths and software schedules across a search space exceeding $\mathcal O(10^{2300})$. Existing methodologies rely on decoupled, heuristics-driven pipelines that miss critical cross-stage trade-offs. We introduce CHEETAH: a globally optimized, AI-driven framework for inference accelerator co-design, and the first to combine joint tiling-fusion, dynamic placement, rematerialization, and hardware decisions in a single linear program (LP). Key contributions include: (i) time-indexed joint optimization variables via McCormick linearization, (ii) Pareto-pruned optimal tiling selection, and (iii) hardware decision variables with pre-RTL feasibility constraints strictly enforced. An LLM Architect outer loop steers the inner optimization formulation through causal interventions based on deployment profiles and Lagrangian sensitivity signals. In under 6 hours, CHEETAH discovers Pareto-frontier designs across $12$ workloads spanning CNNs, diffusion, dense and mixture-of-experts LLMs, reaching up to $\sim24.20\times$ on LLM prefill, and $\sim17.93\times$ on LLM decode over a simulated TPU-v3 baseline, thus unlocking efficiency previously inaccessible to sequential pipelines.
Successful Page Load