IJCAI 2020poster0 citations

Fully Nested Neural Network for Adaptive Compression and Quantization

Yufei Cui, Ziquan Liu, Wuguannan Yao, Qiao Li, Antoni B. Chan, Tei-wei Kuo, Chun Jason Xue

Abstract

Neural network compression and quantization are important tasks for fitting state-of-the-art models into the computational, memory and power constraints of mobile devices and embedded hardware. Recent approaches to model compression/quantization are based on reinforcement learning or search methods to quantize the neural network for a specific hardware platform. However, these methods require multiple runs to compress/quantize the same base neural network to different hardware setups. In this work, we propose a fully nested neural network (FN3) that runs only once to build a nested set of compressed/quantized models, which is optimal for different resource constraints. Specifically, we exploit the additive characteristic in different levels of building blocks in neural network and propose an ordered dropout (ODO) operation that ranks the building blocks. Given a trained FN3, a fast heuristic search algorithm is run offline to find the optimal removal of components to maximize the accuracy under different constraints. Compared with the related works on adaptive neural network designed only for channels or bits, the proposed approach is applicable to different levels of building blocks (bits, neurons, channels, residual paths and layers). Empirical results validate strong practical performance of proposed approach.

Machine Learning: Deep LearningMachine Learning: Deep Learning: Convolutional networks
BibTeX
@inproceedings{ijcai2020p288,
  title     = {Fully Nested Neural Network for Adaptive Compression and Quantization},
  author    = {Cui, Yufei and Liu, Ziquan and Yao, Wuguannan and Li, Qiao and Chan, Antoni B. and Kuo, Tei-wei and Xue, Chun Jason},
  booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
               Artificial Intelligence, {IJCAI-20}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Christian Bessiere},
  pages     = {2080--2087},
  year      = {2020},
  month     = {7},
  note      = {Main track},
  doi       = {10.24963/ijcai.2020/288},
  url       = {https://doi.org/10.24963/ijcai.2020/288},
}
Fully Nested Neural Network for Adaptive Compression and Quantization · IJCAI 2020