Intelligent Measurement on Edge Devices Using Hardware Memory-Aware Joint Compression Enabled Neural Networks

Bowen Yao,Liansheng Liu,Yu Peng,Xiyuan Peng
DOI: https://doi.org/10.1109/tim.2023.3341126
IF: 5.6
2023-01-01
IEEE Transactions on Instrumentation and Measurement
Abstract:Applying neural network (NN) on edge devices is crucial for intelligent measurement. However, the limited memory resource is one of the main challenges for deploying NN with high spatial complexity. To address this issue, a hardware memory-aware joint compression (MAJOR) is proposed in this article. First, a trainable joint compression framework is established for the parallel operation of pruning and quantization. Then, a partial memory-bottleneck penalty regularizer is designed to guide the compression to meet actual hardware memory demands accurately. The proposed method is evaluated on SLOC4, WHU-RS19, RSSCN7, and OPT-Aircraft v1.0 remote sensing image datasets using VGG, ResNet-20/50, MobileNetv1, EfficientNet-B0, DenseNet-121, and ResNeXt-50 for the satellite onboard processing platform, which is a typical hardware memory-limited device. The experimental results show that MAJOR could reduce the model’s partial peak memory size up to $23.19\times $ , ensuring it fits within the target platform’s capacity with less than 3% accuracy loss. Furthermore, the proposed method is evaluated on CIFAR-10 using VGG, ResNet-20, and MobileNetv1 for four edge hardware with different memory sizes. It achieves a remarkable compression ratio of up to 94.92% while ensuring that model accuracy loss remains below 3%. Compared with other compression methods, MAJOR accurately reduces model memory size to match the capacity of the various target hardware. The partial memory bottleneck in NNs could be significantly eliminated.
What problem does this paper attempt to address?