Jie Hu;Zhihan Zhang;Zhan Li;Qunkang Meng;Xingyu Shi;Qijun Huang;Hao Wang;Sheng Chang
{"title":"Single-Step Hardware-Aware Neural Network Quantization With Mixed Precision","authors":"Jie Hu;Zhihan Zhang;Zhan Li;Qunkang Meng;Xingyu Shi;Qijun Huang;Hao Wang;Sheng Chang","doi":"10.1109/TC.2026.3666546","DOIUrl":null,"url":null,"abstract":"Quantization is a neural network compression technique that effectively improves the deployment performance on inference hardware. Fixed-point quantization methods use the same bit-width for all layers in the network, which leads to difficulties in balancing compression rate and accuracy loss. Therefore, mixed-precision quantization has recently been proposed. The major challenge of the mixed-precision quantization is to select the quantization bit-widths of each layer in network to simultaneously meet the requirements of minimizing accuracy loss and hardware resource consumption. In this paper, we present a Single-Step Hardware-Aware Quantization (SHQ) method. It can calculate the resource consumption of hardware such as Field Programmable Gate Arrays (FPGAs) before actual deployment and find effective quantization schemes by just single step, different from common software-hardware two-step approaches with large workload and time-consuming. Genetic algorithm is combined with SHQ to search quantization schemes with low hardware resource usage and high accuracy. In addition, the correlation between hardware resource cost and qualitative indicators of proxy signal has been analyzed to bring computer-aided design insights of neural network accelerators. Experiments of full-pipeline accelerator deployment on FPGAs platforms show that our approach saves 39% of Digital Signal Processors (DSP) and 59% of Block Random Access Memory (BRAM) usage on MobileNet compared to full 8-bit quantization, while the accuracy drops by only 0.56%. The source code about our method can be found at this link: <uri>https://github.com/hujie369/SHQ</uri>.","PeriodicalId":13087,"journal":{"name":"IEEE Transactions on Computers","volume":"75 5","pages":"1809-1819"},"PeriodicalIF":4.9000,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Computers","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11402920/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/20 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Quantization is a neural network compression technique that effectively improves the deployment performance on inference hardware. Fixed-point quantization methods use the same bit-width for all layers in the network, which leads to difficulties in balancing compression rate and accuracy loss. Therefore, mixed-precision quantization has recently been proposed. The major challenge of the mixed-precision quantization is to select the quantization bit-widths of each layer in network to simultaneously meet the requirements of minimizing accuracy loss and hardware resource consumption. In this paper, we present a Single-Step Hardware-Aware Quantization (SHQ) method. It can calculate the resource consumption of hardware such as Field Programmable Gate Arrays (FPGAs) before actual deployment and find effective quantization schemes by just single step, different from common software-hardware two-step approaches with large workload and time-consuming. Genetic algorithm is combined with SHQ to search quantization schemes with low hardware resource usage and high accuracy. In addition, the correlation between hardware resource cost and qualitative indicators of proxy signal has been analyzed to bring computer-aided design insights of neural network accelerators. Experiments of full-pipeline accelerator deployment on FPGAs platforms show that our approach saves 39% of Digital Signal Processors (DSP) and 59% of Block Random Access Memory (BRAM) usage on MobileNet compared to full 8-bit quantization, while the accuracy drops by only 0.56%. The source code about our method can be found at this link: https://github.com/hujie369/SHQ.
期刊介绍:
The IEEE Transactions on Computers is a monthly publication with a wide distribution to researchers, developers, technical managers, and educators in the computer field. It publishes papers on research in areas of current interest to the readers. These areas include, but are not limited to, the following: a) computer organizations and architectures; b) operating systems, software systems, and communication protocols; c) real-time systems and embedded systems; d) digital devices, computer components, and interconnection networks; e) specification, design, prototyping, and testing methods and tools; f) performance, fault tolerance, reliability, security, and testability; g) case studies and experimental and theoretical evaluations; and h) new and important applications and trends.