ShatterQuant: Breaking Uniform Precision with Block-Wise Mixed-Precision on a Systolic Transformer Hardware Accelerator
Mikolaj Walczak, Edward Humes, Chao Fang, Marian Verhelst, Tinoosh Mohsenin
Abstract
Due to limited support for intra-tensor heterogeneous precision in conventional accelerators, neural network quantization remains largely restricted to per-tensor precision assignment. We present ShatterQuant, a hardware-software co-designed framework enabling mixed-precision quantization within each tensor by assigning independent bit-widths to blocks of a weight projection. ShatterQuant couples precision granularity with PE configuration, such that each precision determines an effective block height. We introduce (1) a hardware-aware post-training method that assigns intra-tensor precision based on block-level standard deviation and weight sensitivity; (2) the ShatterQuant Transformer Accelerator supporting 1/2/4/8-bit weight precision, precision-dependent PE configuration, block rescaling, and integrated softmax and piecewise-linear nonlinearities; and (3) an evaluation of model-hardware tradeoffs using an implementation in the TSMC 16nm PDK operating at 1 GHz, achieving 1.5 TOPS, 760 GOPS/ area efficiency, and 2.8 TOPS/W energy efficiency. On DeiT and ImageNet-1K, ShatterQuant achieves accuracy within of state-of-the-art mixed-precision techniques while using a 2 bit lower effective bitwidth, while for PixelDiT demonstrates comparable generation quality. ShatterQuant demonstrates how fine-grained intra-tensor mixed-precision can be realized through hardware-software co-design.
Create a lesson
Metadata
- Categories
- cs.AR, cs.AI, eess.IV
Related papers
APEX-RBD: Mixed-Precision Exploration Framework for Hardware-Efficient Robot Dynamics Accelerator Design
Shared title terminologycs.ARXingyu Liu, Hanwei Fan, Chaofang Ma et al.
Hardware Acceleration of Block-Diffusion LLM for Edge Devices
Shared title terminologycs.ARWei-Hsing Huang, Kiseok Lee, Ming-Yen Lee et al.
Sattva: A Hardware-Algorithm Co-Designed SAT Solving Accelerator with Off-Chip Scalability
Shared title terminologycs.ARHuifeng Ke, Michael Lo, Justin Oh et al.
TriSpark: A Sparse Ternary Spiking Transformer with Event-Driven Acceleration on Edge FPGAs
Shared title terminologycs.ARJun Yang, Yingxuan Xiao, Feiyang Li et al.
Exploring Runtime-Configurable Piecewise Linear Function Interpolation for FPGA-Based LLM Hardware Acceleration
Shared title terminologycs.ARPatrick Nepveu-Nelson, Fabiola Jiménez-Chacón, Roger Morales-Monge et al.
MixMoMo: Accelerating Extra--Large MoE Inference with Mixed--Precision GPU--NPU Execution on Mobile Devices
Shared title terminologycs.ARHailong Zou, Maoliang Li, Taohong Han et al.