Vertical Layering of Quantized Neural Networks for Heterogeneous Inference

被引:1
作者
Wu, Hai [1 ]
He, Ruifei [1 ]
Tan, Haoru [1 ]
Qi, Xiaojuan [1 ]
Huang, Kaibin [1 ]
机构
[1] Univ Hong Kong, Dept Elect & Elect Engn, Pok Fu Lam, Hong Kong, Peoples R China
关键词
Bit-width scalable network; layered coding; multi-objective optimization; quantization-aware training;
D O I
10.1109/TPAMI.2023.3319045
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Although considerable progress has been obtained in neural network quantization for efficient inference, existing methods are not scalable to heterogeneous devices as one dedicated model needs to be trained, transmitted, and stored for one specific hardware setting, incurring considerable costs in model training and maintenance. In this paper, we study a new vertical-layered representation of neural network weights for encapsulating all quantized models into a single one. It represents weights as a group of bits (i.e., vertical layers) organized from the most significant bit (also called the basic layer) to less significant bits (i.e., enhance layers). Hence, a neural network with an arbitrary quantization precision can be obtained by adding corresponding enhance layers to the basic layer. However, we empirically find that models obtained with existing quantization methods suffer severe performance degradation if they are adapted to vertical-layered weight representation. To this end, we propose a simple once quantization-aware training (QAT) scheme for obtaining high-performance vertical-layered models. Our design incorporates a cascade downsampling mechanism with the multi-objective optimization employed to train the shared source model weights such that they can be updated simultaneously, considering the performance of all networks. After the model is trained, to construct a vertical-layered network, the lowest bit-width quantized weights become the basic layer, and every bit dropped along the downsampling process act as an enhance layer. Our design is extensively evaluated on CIFAR-100 and ImageNet datasets. Experiments show that the proposed vertical-layered representation and developed once QAT scheme are effective in embodying multiple quantized networks into a single one and allow one-time training, and it delivers comparable performance as that of quantized models tailored to any specific bit-width.
引用
收藏
页码:15964 / 15978
页数:15
相关论文
共 50 条
[41]   Optimization of a Steam Reforming Plant Modeled with Artificial Neural Networks [J].
Pardo, Eduardo G. ;
Blanco-Linares, Jaime ;
Velazquez, David ;
Serradilla, Francisco .
ELECTRONICS, 2020, 9 (11) :1-20
[42]   Evolutionary Compression of Deep Neural Networks for Biomedical Image Segmentation [J].
Zhou, Yao ;
Yen, Gary G. ;
Yi, Zhang .
IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2020, 31 (08) :2916-2929
[43]   Estimation of the Kinematics and Workspace of a Robot Using Artificial Neural Networks [J].
Boanta, Catalin ;
Brisan, Cornel .
SENSORS, 2022, 22 (21)
[44]   GWQ: Group-Wise Quantization Framework for Neural Networks [J].
Yang, Jiaming ;
Tang, Chenwei ;
Yu, Caiyang ;
Lv, Jiancheng .
ASIAN CONFERENCE ON MACHINE LEARNING, VOL 222, 2023, 222
[45]   Artificial Neural Networks as Metamodels for the Multiobjective Optimization of Biobutanol Production [J].
Elmeligy, Ahmed ;
Mehrani, Poupak ;
Thibault, Jules .
APPLIED SCIENCES-BASEL, 2018, 8 (06)
[46]   Multi-objective cooperative coevolution of artificial neural networks (multi-objective cooperative networks) [J].
García-Pedrajas, N ;
Hervás-Martínez, C ;
Muñoz-Pérez, J .
NEURAL NETWORKS, 2002, 15 (10) :1259-1278
[47]   A Spectrum-Sharing Approach in Heterogeneous Networks Based on Multi-Objective Optimization [J].
Wu, Runze ;
Zhu, Jiajia ;
Tang, Liangrui ;
Xu, Chen ;
Wu, Xin .
IEICE TRANSACTIONS ON COMMUNICATIONS, 2017, E100B (07) :1145-1151
[48]   Network access and spectrum allocation in next-generation multi-heterogeneous networks [J].
Dong, Xiaoqing ;
Cheng, Lianglun ;
Zheng, Gengzhong ;
Wang, Tao .
INTERNATIONAL JOURNAL OF DISTRIBUTED SENSOR NETWORKS, 2019, 15 (08)
[49]   A resource characteristic and user QoS oriented bandwidth and power allocation algorithm for heterogeneous networks [J].
Rong Chai ;
Yujiao Chen ;
Hong Chen ;
Qianbin Chen .
Wireless Networks, 2018, 24 :2267-2282
[50]   Traffic and QoS-Aware Base Station Sleeping Scheme in Heterogeneous Cellular Networks [J].
Xiao, Lin ;
Wu, Fahui ;
Yang, Dingcheng ;
Zhu, Yutao ;
Liu, Jietong .
INTERNATIONAL JOURNAL OF FUTURE GENERATION COMMUNICATION AND NETWORKING, 2016, 9 (09) :257-266