ShatterQuant: Breaking Uniform Precision with Block-Wise Mixed-Precision on a Systolic Transformer Hardware Accelerator
Organizations: Johns Hopkins University Baltimore, Maryland, USA
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.
Figures & tables
| DeiT-Tiny | DeiT-Small | DeiT-Base | ||||
|---|---|---|---|---|---|---|
| Method | Prec. | Acc. | Prec. | Acc. | Prec. | Acc. |
| Baseline | FP32 | 74.5 | FP32 | 81.2 | FP32 | 83.4 |
| P2ViT | 8 | 69.6 | 8 | 77.6 | 8 | 80.6 |
| Mix-QViT | 6 | 71.7 | 6 | 79.6 | 6 | 81.6 |
| SLIQ-ViT | 6 | 71.8 | 6 | 79.6 | 6 | 81.8 |
| Ours | 5 | 68.5 | 4 | 78.2 | 4 | 80.7 |
| Work | Prec. | Tech. (nm) | Freq. (MhZ) | SRAM (KiB) | Perf. (TOPS) | Area (mm 2 ) | Power (mW) | Area Eff. (GOPS/mm 2 ) | Energy Eff. (TOPS/W) |
|---|---|---|---|---|---|---|---|---|---|
| FLTA ( Lin and others, 2024 ) | A 8 W 8 | 28 | 666 | 38.8 | 0.1 | 0.6 | 74 | 241 | 1.9 |
| SoftEx ( Belano and others, 2025 ) | BF 16 | 12 | 1120 | 256 | 0.4 | 1.21 | 581 | 355 | 1.6 |
| FlexEdge ( Zheng and others, 2026 ) | A 8 W 8 | 28 | 600 | 36 | 1.2 | 1.8 | 404 | 640 | 2.9 |
| ( Hsiung and others, 2026 ) | INT8 | 28 | 1000 | 232 | 1.0 | 1.2 | 443 | 851 | 2.3 |
| Ours | A 8 W 1/2/4/8 | 16 | 1000 | 1666.2 | 1.5 | 1.9 | 521 | 760 | 2.8 |
Mixed-Precision Quantization
Mixed-precision quantization assigns different numeric precisions across a model to balance accuracy with memory, speed, energy, and hardware constraints.
See all 159 papers