Precision-Scalable Microscaling Datapaths with Optimized Reduction Tree for Efficient NPU Integration
Stef Cuyckens, Xiaoling Yi, Robin Geens, Joren Dumoulin, Martin Wiesner, Chao Fang, Marian Verhelst
TL;DR
The paper tackles the challenge of building an edge NPU capable of training and inference with precision-scalable Microscale (MX) data types. It introduces a hybrid precision-scalable reduction tree that blends integer accumulation with FP-style normalization to enable efficient mixed-precision accumulation while relaxing some accuracy constraints. The MX MAC array is organized into an 8×8 MX tensor core and integrated into the SNAX NPU platform with CSR-based control and dynamic data streaming to adapt bandwidth to the current MX precision. Experimental results show significant energy-efficiency gains over the state of the art PS-MX_MAC across MXINT8, MXFP8/6, and MXFP4 modes, along with high utilization on ResNet18 and Vision Transformer workloads, underscoring practical impact for continual-learning edge AI.
Abstract
Emerging continual learning applications necessitate next-generation neural processing unit (NPU) platforms to support both training and inference operations. The promising Microscaling (MX) standard enables narrow bit-widths for inference and large dynamic ranges for training. However, existing MX multiply-accumulate (MAC) designs face a critical trade-off: integer accumulation requires expensive conversions from narrow floating-point products, while FP32 accumulation suffers from quantization losses and costly normalization. To address these limitations, we propose a hybrid precision-scalable reduction tree for MX MACs that combines the benefits of both approaches, enabling efficient mixed-precision accumulation with controlled accuracy relaxation. Moreover, we integrate an 8x8 array of these MACs into the state-of-the-art (SotA) NPU integration platform, SNAX, to provide efficient control and data transfer to our optimized precision-scalable MX datapath. We evaluate our design both on MAC and system level and compare it to the SotA. Our integrated system achieves an energy efficiency of 657, 1438-1675, and 4065 GOPS/W, respectively, for MXINT8, MXFP8/6, and MXFP4, with a throughput of 64, 256, and 512 GOPS.
