Adaptive Gradual Quantization with a Custom RISC-V SIMD Accelerator

December 15, 2025·
Zongcheng Yue
,
Dongwei Yan
Dr Sean Longyu Ma
Dr Sean Longyu Ma
,
Chiu-Wing Sham
· 0 min read
Abstract
Neural network quantization is essential for deploying deep learning models on resource-constrained devices, but it presents a critical trade-off: aggressive, low-bit quantization often decimates model accuracy, while standard processors fail to efficiently execute the resulting operations. In this paper, we propose a full-stack, algorithm-hardware co-design that resolves this conflict. Our adaptive gradual quantization algorithm incrementally reduces precision in stages, a method that ensures training stability and preserves high accuracy at 4-bit precision, avoiding the catastrophic performance drop common in direct quantization. To translate this model compactness into execution speed, we introduce a custom sub-word SIMD instruction for the RISC-V architecture that dramatically accelerates 4-bit computations. Experiments on CIFAR-10 and Tiny-ImageNet confirm our method achieves state-of-the-art accuracy, while simulations validate a significant inference speedup of over 8x, proving our synergistic approach delivers both high performance and efficiency.
Type
Publication
2025 IEEE 18th International Symposium on Embedded Multicore/Many-core Systems-on-Chip (MCSoC)
publications
Dr Sean Longyu Ma
Authors
Lecturer in Computer Science
Sean Longyu Ma is a Lecturer in the School of Computer Science at the University of Auckland. His research focuses on FPGA-based computing, RISC-V customisation, high-level synthesis, and heterogeneous computing.