Despite its importance for federated learning, continuous learning and many other applications, on-device training remains an open problem for EdgeAI. The problem stems from the large number of operations (e.g., floating point multiplications and additions) and memory consumption required during training by the back-propagation algorithm. Consequently, in this paper, we propose a new gradient filtering approach which enables on-device CNN model training. More precisely, our approach creates a special structure with fewer unique elements in the gradient map, thus significantly reducing the computational complexity and memory consumption of back propagation during training. Extensive experiments on image classification and semantic segmentation with multiple CNN models (e.g., MobileNet, DeepLabV3, UPerNet) and devices (e.g., Raspberry Pi and Jetson Nano) demonstrate the effectiveness and wide applicability of our approach. For example, compared to SOTA, we achieve up to 19$\times$ speedup and 77.1% memory savings on ImageNet classification with only 0.1% accuracy loss. Finally, our method is easy to implement and deploy; over 20$\times$ speedup and 90% energy savings have been observed compared to highly optimized baselines in MKLDNN and CUDNN on NVIDIA Jetson Nano. Consequently, our approach opens up a new direction of research with a huge potential for on-device training.
SpecGradFilter: A Spectral Gradient Filtering Framework for Taming Federated Heterogeneity
School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院)
Fast Fourier Transform-Based Spectral and Temporal Gradient Filtering for Differential Privacy
Electronics and Telecommunications Research Institute (ETRI)(电子电信研究所);University of Southern California(南加州大学);KAIST(韩国科学技术院);Hanwha Life Insurance(翰威特生命保险);OpenNN Lab, MODULABS(OpenNN实验室,MODULABS)
SHLE: Devices Tracking and Depth Filtering for Stereo-based Height Limit Estimation
School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院);Department of Management Science and Engineering, Tsinghua University(清华大学管理科学与工程系)
The Analysis of Projective Transformation Algorithms for Image Recognition on Mobile Devices
Moscow Institute of Physics and Technology(莫斯科物理技术学院);Institute for Systems Analysis FRC CSC RAS(俄罗斯科学院联邦研究中心信息学与控制研究所系统分析研究所);Smart Engines Service LLC(智能引擎服务有限责任公司);Institute for Information Transmission Problems RAS(俄罗斯科学院信息传输问题研究所)