MIAO: Microscaling Intermediate Accumulation Optimization
Chloe Wong, Nicolas Rakela, Man Shi, Hansung Kim, Ruohan Richard Yan, Coleman Richard Charles Hooper, Yakun Sophia Shao
Abstract
Microscaling (MX) quantization enables lower-precision large language model (LLM) inference with limited accuracy degradation, reducing memory requirement and multiplication cost. However, despite reduced operand precision, accumulation is often retained at high floating-point precisions, leaving a substantial hardware cost that operand quantization alone does not address. In particular, systolic arrays, as used in tensor accelerators such as Google TPU and AWS Trainium, distribute accumulation across distinct processing elements but conventionally use uniform accumulator precision throughout the array. This spatial organization offers an opportunity to reduce hardware cost by tailoring precision to individual accumulation stages. In this work, we present MIAO, a hardware-software co-design framework that jointly selects product precision and stage-dependent accumulator widths to minimize hardware area and energy cost under an end-to-end perplexity constraint. MIAO first calibrates MX block-scale shifts to reduce intermediate magnitudes while preserving operand quantization accuracy, then assigns narrower accumulators to earlier stages and progressively wider accumulators to later stages. To efficiently explore the resulting design space, MIAO combines hardware cost estimates derived from logic synthesis with a calibrated accuracy predictor to identify promising precision configurations, then validates the accuracy of promising candidates through bit-exact end-to-end LLM evaluation. Across MXFP8, MXFP6, and MXFP4, MIAO reduces processing element (PE) array area by up to 38.7% and energy by up to 36.1% relative to the all-BF16 accumulation baseline, with at most 1.60% additional perplexity degradation over operand-only MX quantization across six LLMs.
Create a lesson
Related papers
Cruella: A Unified Microscaling and Floating-Point Dot-Product Unit for LLM Inference on FPGAs
Shared title terminology · Jinho Yang, Taehyeong Kim, Mincheol Cha et al.
GRADPlace: Geometry-Based Routing-Augmented Differentiable Placement for Routability Optimization
Shared title terminology · Xurong Shen, Xueyan Zhao, Zhipeng Huang 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.
Mixed-Size Placement Initialization via Stiefel-Manifold Sequential Subspace Optimization
Shared title terminology · Pengwen Chen, Chung-Kuan Cheng, Shao-Yun Fang et al.
DT-MATCH: Defect- and Topology-Aware Chiplet Matching for Yield Optimization in Heterogeneous Integration
Shared title terminology · Xuanyi Tan, Sanmitra Banerjee, Dhruv Thapar et al.
SkipLane: Write-Once, Conflict-Free Accumulation for Zero-Skipping CNN Engines on FPGAs
Shared title terminology · Aditya Saboo, Pratibha Verma