Abstract
Traditional neural network optimization focuses on model-side techniques such as pruning and quantization. This paper proposes a "data-side" approach, demonstrating that strategic adjustments to data attributes—including the number of classes, image resolution, and color—can yield significant computational savings. By introducing the Ease of Classification (EoC) framework and similarity-based metrics, the authors show how to achieve up to a 66% reduction in computation while maintaining or even improving accuracy in real-world edge AI applications.
Introduction
In the deployment of deep learning on low-power "Edge AI" devices like drones and industrial robots, the trade-off between accuracy and resource consumption is a primary challenge. While most research targets architectural efficiency, this work explores the neglected lever of data complexity. Many practical tasks do not require the 1,000-class granularity of benchmarks like ImageNet. By tailoring data attributes to the specific needs of an application, designers can significantly reduce the burden on lightweight Convolutional Neural Networks (CNNs).
Methodology: Ease of Classification (EoC)
The authors introduce the concept of Ease of Classification (EoC), suggesting that simplifying data allows for smaller, faster models. To evaluate this without exhaustive training cycles, they propose two metrics based on Metric Learning:
- Intra-class Similarity ($S_1$): Measures the consistency of images within a single category.
- Inter-class Similarity ($S_2$): Measures the overlap between different categories in the latent space.
These metrics enable a 30x speedup in evaluating data-side changes compared to full training and inference tests. This framework guides designers in grouping similar classes, determining optimal resolution ($R_E$), and assessing the viability of grayscale inputs.
Experimental Setup
The approach was validated across diverse datasets including CIFAR-10, COCO, and Berkeley DeepDrive (BDD). For instance, in the Wildlife Spotter application, animal and bird classes were condensed from 18 to 6 to improve efficiency. High-resolution datasets like PANDA 4k were used to study the plateau of accuracy relative to image resolution.
Key Insights and Results
The Impact of Class Reduction
Reducing the number of classes ($N_{CL}$) significantly flattens the accuracy-loss curve. For a 1-class task, a "sub-YOLO" (SY) model can be 72% smaller than YOLOv5-nano with negligible performance loss. In a factory robot application, reducing 5 classes to 2 led to a 66% reduction in computation and a 3.5% accuracy gain.
Resolution and Color
The research highlights a "plateau" point in resolution where additional pixels increase GFLOPs without improving accuracy. Furthermore, switching from RGB to grayscale often provides a "free" efficiency gain of 1-2% in lightweight tasks without degrading performance metrics.
Conclusion and Future Work
This paper establishes that data-side optimization is a powerful, yet underutilized, tool for edge AI. The proposed similarity metrics provide a reliable proxy for model performance, showing a -0.77 correlation with error rates. Future work will focus on further decoupling object scale from resolution and extending these principles to Vision Transformers (ViTs).
Summary updated