[Paper Review] EdgeCNN: Convolutional Neural Network Classification Model with small inputs for Edge Computing
This paper proposes EdgeCNN, a lightweight convolutional neural network optimized for edge computing devices with limited memory and processing power, such as the Raspberry Pi 3B+. By avoiding group convolution—previously common in mobile-optimized models—EdgeCNN achieves 1.37 FPS inference speed on the Raspberry Pi while outperforming other models in accuracy on facial expression classification tasks using FER-2013 and RAF-DB datasets.
With the development of Internet of Things (IoT), data is increasingly appearing on the edge of the network. Processing tasks on the edge of the network can effectively solve the problems of personal privacy leaks and server overload. As a result, it has attracted a great deal of attention and made substantial progress. This progress includes efficient convolutional neural network (CNN) models such as MobileNet and ShuffleNet. However, all of these networks appear as a common network model and they usually need to identify multiple targets when applied. So the size of the input is very large. In some specific cases, only the target needs to be classified. Therefore, a small input network can be designed to reduce computation. In addition, other efficient neural network models are primarily designed for mobile phones. Mobile phones have faster memory access, which allows them to use group convolution. In particular, this paper finds that the recently widely used group convolution is not suitable for devices with very slow memory access. Therefore, the EdgeCNN of this paper is designed for edge computing devices with low memory access speed and low computing resources. EdgeCNN has been run successfully on the Raspberry Pi 3B+ at a speed of 1.37 frames per second. The accuracy of facial expression classification for the FER-2013 and RAF-DB datasets outperforms other proposed networks that are compatible with the Raspberry Pi 3B+. The implementation of EdgeCNN is available at https://github.com/yangshunzhi1994/EdgeCNN
Motivation & Objective
- Address the challenge of deploying deep learning models on edge devices with low computational and memory resources.
- Identify that group convolution, widely used in mobile-optimized networks, is inefficient on edge devices with slow memory access, such as the Raspberry Pi 3B+.
- Design a new CNN architecture, EdgeCNN, tailored for target classification with small input sizes (44×44) to reduce computational overhead.
- Achieve high accuracy and acceptable inference speed on resource-constrained edge hardware, specifically the Raspberry Pi 3B+.
- Demonstrate that model efficiency must be re-evaluated based on the actual memory access characteristics of target devices, not just FLOPs or parameter count.
Proposed method
- Design EdgeCNN with a small input size of 44×44, optimized for single-target classification rather than multi-object detection.
- Avoid group convolution in EdgeCNN to reduce memory access overhead, which is critical on devices with slow memory bandwidth like the Raspberry Pi 3B+.
- Implement EdgeCNN-G as a variant that uses group convolution to compare performance trade-offs under the same hardware constraints.
- Train and evaluate the models on facial expression recognition datasets (FER-2013 and RAF-DB) to assess accuracy and inference speed.
- Measure real-world inference speed (FPS) and memory usage on the Raspberry Pi 3B+ to evaluate practical deployability.
- Use the OpenVINO toolkit and Intel Movidius NCS 2 for potential speedup, but note hardware limitations due to lack of feature detection support.
Experimental results
Research questions
- RQ1Can a CNN model be designed to achieve high accuracy on edge devices with minimal computational and memory resources?
- RQ2Why does group convolution—commonly used in mobile-optimized models—perform poorly on edge devices with slow memory access?
- RQ3How does input size reduction (to 44×44) impact model accuracy and efficiency in single-target classification tasks?
- RQ4Can a model optimized for low-memory-access devices outperform mobile-optimized models like MobileNet and ShuffleNet on the same hardware?
- RQ5What are the practical limitations of using accelerator hardware like Intel Movidius NCS 2 for edge inference when feature detection is required?
Key findings
- EdgeCNN achieves 1.37 frames per second inference speed on the Raspberry Pi 3B+, demonstrating feasibility for real-time edge deployment.
- EdgeCNN outperforms other models compatible with the Raspberry Pi 3B+ in accuracy on both the FER-2013 and RAF-DB facial expression classification datasets.
- Group convolution degrades performance on the Raspberry Pi 3B+ due to its slow memory access speed (22.61 MB/s), which is only 1/10 of typical mobile phones (222.26 MB/s).
- EdgeCNN-G, which uses group convolution, performs worse than EdgeCNN on the same hardware, confirming that group convolution is unsuitable for low-memory-access edge devices.
- SqueezeNet and SqueezeNext, which avoid group convolution, are fast but have low accuracy, highlighting the trade-off between speed and performance.
- The Intel Movidius NCS 2 could not be used to accelerate EdgeCNN due to lack of support for feature detection, limiting its applicability for this model.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.