Abstract

During recent years, deep convolutional neural networks (CNNs) have become increasingly popular in sensor-based human activity recognition (HAR), due to powerful feature extraction capacity. However, the required high computational cost has hindered their practical deployment in real-world applications. To address this issue, this paper presents a novel approach named ABCSearch to prune channels through an artificial bee colony (ABC) algorithm, which is a meta-heuristic optimization algorithm inspired by the foraging behavior of honeybees. Unlike traditional pruning strategies that prioritize channel importance, the proposed method seeks to identify the optimal number of channels at each layer, i.e., the optimal pruning structure. To lessen human interference, we transform the search problem of the optimal pruning structure into a simple optimization problem and solve it automatically through the ABC algorithm, which can significantly decrease both model size and computational cost without compromising performance. Specifically, we validate the effectiveness of ABCSearch for a standard five-layer CNN backbone architecture, which achieves 97.05%, 98.45%, 91.71%, 78.89% classification accuracies on four HAR benchmarks, i.e., UCI-HAR, WISDM, PAMAP2, UniMiB-SHAR. Our approach can yield 87.44%, 89.41%, 89.06%, 89.59% FLOPs reductions, and 89.54%, 88.70%, 88.38%, 90.45% less memory consumptions, as well as 4.4×, 5.0×, 5.8×, 6.1× practical speedups on real hardware devices, while maintaining comparable accuracy.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call