Latency-Constrained DNN Architecture Learning for Edge Systems using Zerorized Batch Normalization

· Source: Computer Vision and Pattern Recognition · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, quick

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

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

Topics

Code references

Best for: Computer Vision Engineer, Research Scientist, Machine Learning Engineer, AI Engineer, AI Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.