Latency-Constrained DNN Architecture Learning for Edge Systems using Zerorized Batch Normalization
Summary
A new latency-oriented neural network learning method is proposed to optimize deep neural networks for edge devices, specifically addressing strict latency constraints while maintaining high accuracy. This approach incorporates a universal hardware-customized latency predictor, enabling a one-shot training process. Experiments demonstrate significant improvements: on an NVIDIA Jetson Nano, GoogLeNet's latency was reduced from 40.32 ms to 34 ms (meeting a 34 ms constraint) with only a 0.14% accuracy drop, further improving to 0.04% with quantization. On an NVIDIA Jetson TX2, VGG-19 was compressed from 119.98 ms to 34 ms, improving accuracy by 0.5%, and GoogLeNet scaled from 20.27 ms to 34 ms, boosting accuracy by 0.78%. The framework is open-sourced at https://github.com/ntuliuteam/ZeroBN.
Key takeaway
For AI Engineers deploying models to edge devices with strict real-time latency constraints, this latency-oriented learning method provides a direct solution. It enables optimizing DNNs to meet specific temporal budgets, as demonstrated by reducing GoogLeNet's latency to 34 ms on a Jetson Nano with minimal accuracy impact, or even improving VGG-19's accuracy on a Jetson TX2. You should explore integrating this open-source framework to achieve efficient, high-performance edge deployments.
Key insights
A latency-oriented DNN learning method optimizes edge models for strict real-time constraints with one-shot training.
Principles
- Directly optimize for temporal cost in edge DNNs.
- Hardware-customized predictors enable efficient optimization.
Method
The method uses a latency-oriented neural network learning approach combined with a universal hardware-customized latency predictor to achieve one-shot training for models satisfying specific latency constraints.
In practice
- Reduce GoogLeNet latency to 34 ms on Jetson Nano.
- Compress VGG-19 to 34 ms on Jetson TX2.
Topics
- Edge AI
- Latency Optimization
- Neural Architecture Search
- Zerorized Batch Normalization
- GoogLeNet
- NVIDIA Jetson
Code references
Best for: Computer Vision Engineer, Research Scientist, Machine Learning Engineer, AI Engineer, AI Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.