Arch-Net: Model Distillation for Architecture Agnostic Model Deployment
arXiv:2111.01135
Abstract
Vast requirement of computation power of Deep Neural Networks is a major hurdle to their real world applications. Many recent Application Specific Integrated Circuit (ASIC) chips feature dedicated hardware support for Neural Network Acceleration. However, as ASICs take multiple years to develop, they are inevitably out-paced by the latest development in Neural Architecture Research. For example, Transformer Networks do not have native support on many popular chips, and hence are difficult to deploy. In this paper, we propose Arch-Net, a family of Neural Networks made up of only operators efficiently supported across most architectures of ASICs. When a Arch-Net is produced, less common network constructs, like Layer Normalization and Embedding Layers, are eliminated in a progressive manner through label-free Blockwise Model Distillation, while performing sub-eight bit quantization at the same time to maximize performance. Empirical results on machine translation and image classification tasks confirm that we can transform latest developed Neural Architectures into fast running and as-accurate Arch-Net, ready for deployment on multiple mass-produced ASIC chips. The code will be available at https://github.com/megvii-research/Arch-Net.
15 pages, 6 figures
References in corpus (11)
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
- Distilling the Knowledge in a Neural Network
- Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfer
- Trained Ternary Quantization
- MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers
- Like What You Like: Knowledge Distill via Neuron Selectivity Transfer
- Improving Neural Network Quantization without Retraining using Outlier Channel Splitting
- Improving Post Training Neural Quantization: Layer-wise Calibration and Integer Programming
- MEAL V2: Boosting Vanilla ResNet-50 to 80%+ Top-1 Accuracy on ImageNet without Tricks
- QKD: Quantization-aware Knowledge Distillation
- Diversifying Sample Generation for Accurate Data-Free Quantization