Abstract
Deep Neural Networks (DNNs) have shown great success in completing complex tasks. However, DNNs inevitably bring high computational cost and storage consumption due to the complexity of hierarchical structures, thereby hindering their wide deployment in Internet-of-Things (IoT) devices, which have limited computational capability and storage capacity. Therefore, it is a necessity to investigate the technologies to compact DNNs. Despite tremendous advances in compacting DNNs, few surveys summarize compacting-DNNs technologies, especially for IoT applications. Hence, this paper presents a comprehensive study on compacting-DNNs technologies. We categorize compacting-DNNs technologies into three major types: 1) network model compression, 2) Knowledge Distillation (KD), 3) modification of network structures. We also elaborate on the diversity of these approaches and make side-by-side comparisons. Moreover, we discuss the applications of compacted DNNs in various IoT applications and outline future directions.
Introduction: The Challenge of Edge Intelligence
The proliferation of Internet of Things (IoT) devices—ranging from smartwatches and industrial sensors to autonomous vehicles—generates massive volumes of data. While Deep Learning (DL) is the ideal tool for analyzing this data, standard models are notoriously resource-hungry, requiring significant memory, high computational power (GPUs/TPUs), and substantial energy.
Traditionally, IoT devices have relied on a "cloud-centric" approach, offloading data to remote servers for processing. However, this introduces severe latency, consumes high network bandwidth, and raises data privacy concerns. To achieve "Edge Intelligence," where data is processed locally at the source, researchers must "compact" these massive neural networks. This allows them to run efficiently on low-power IoT microchips without significant loss in accuracy.
Methodologies for Compacting DNNs
This survey categorizes the primary strategies for network compaction into three distinct pillars: post-training model compression, knowledge distillation, and structural modification.
1. Compacting Network Models (Post-Training)
This approach focuses on trimming redundancy from pre-trained, "bloated" models:
- Quantization: Reducing weight precision (e.g., from 32-bit floating-point to 8-bit integers or 1-bit binary values) to cut memory usage.
- Network Pruning: Removing unimportant neurons or connections. While magnitude-based pruning targets individual weak connections, channel pruning removes entire feature maps, making it more compatible with standard hardware acceleration.
- Low-Rank Decomposition: Utilizing matrix factorization (such as SVD) to approximate complex weight matrices with smaller, simpler ones.
2. Knowledge Distillation (KD)
KD utilizes a "teacher-student" paradigm. A large, highly accurate "teacher" model guides the training of a much smaller "student" model. By learning from the teacher's "soft" probabilities and intermediate feature maps rather than just raw data labels, the student model can achieve performance levels far beyond its native capacity.
3. Modification of Network Structures
Instead of shrinking existing models, this strategy designs lightweight architectures from the ground up. Key techniques include depth-wise separable convolutions (as seen in MobileNet), channel shuffling (ShuffleNet), and automated Network Architecture Search (NAS) to algorithmically discover efficient building blocks.
Key Insights and Results
The survey highlights that the effectiveness of compaction is not just about size reduction, but hardware compatibility. For instance, while unstructured pruning creates sparse networks that save storage, standard IoT chips often require structured "channel pruning" to see actual inference speedups. Similarly, fixed-point quantization is preferred over scalar quantization because it reduces both memory footprint and computation time.
Quantitative benchmarks demonstrate the dramatic impact of these techniques:
- Multi-Stage Compression: By combining pruning, quantization, and Huffman coding, frameworks like "Deep Compression" can reduce the size of models like VGG-16 by up to 49x while maintaining accuracy.
- Efficient Architectures: Models like SqueezeNet achieve AlexNet-level accuracy with 50x fewer parameters, resulting in a total model size under 0.5MB.
Real-World IoT Applications
Compacted DNNs are already transforming IoT sectors:
- Drones: Channel pruning applied to YOLOv3 (SlimYOLOv3) enables real-time, 60 FPS object detection on resource-constrained aerial platforms.
- Wearables: Binarized LSTMs allow for the local processing of EEG brain waves on low-power medical devices.
- Surveillance: Compacted models facilitate intelligent sensing and privacy-preserving local analysis in smart city infrastructure.
Future Directions
Despite progress, several hurdles remain. The "fine-tuning bottleneck" requires repetitive retraining to recover accuracy lost during pruning. Future research is shifting toward Automated Model Compression, using AutoML and GANs to find optimal strategies for specific hardware targets. Additionally, Distributed Edge AI explores partitioning a single compacted DNN across multiple interconnected IoT devices, while Blockchain integration is being investigated to secure the decentralized data processing inherent in edge intelligence.
Summary updated