[Paper Review] DeepIoT: Compressing Deep Neural Network Structures for Sensing Systems with a Compressor-Critic Framework
DeepIoT proposes a unified, structure-aware compression framework that uses a compressor-critic training paradigm to automatically determine optimal dropout probabilities for pruning redundant hidden units across fully-connected, convolutional, and recurrent neural networks. It achieves 90% to 98.9% model size reduction, 71.4% to 94.5% faster inference, and 72.2% to 95.7% lower energy use on embedded devices like Intel Edison, with no accuracy loss.
Recent advances in deep learning motivate the use of deep neutral networks in sensing applications, but their excessive resource needs on constrained embedded devices remain an important impediment. A recently explored solution space lies in compressing (approximating or simplifying) deep neural networks in some manner before use on the device. We propose a new compression solution, called DeepIoT, that makes two key contributions in that space. First, unlike current solutions geared for compressing specific types of neural networks, DeepIoT presents a unified approach that compresses all commonly used deep learning structures for sensing applications, including fully-connected, convolutional, and recurrent neural networks, as well as their combinations. Second, unlike solutions that either sparsify weight matrices or assume linear structure within weight matrices, DeepIoT compresses neural network structures into smaller dense matrices by finding the minimum number of non-redundant hidden elements, such as filters and dimensions required by each layer, while keeping the performance of sensing applications the same. Importantly, it does so using an approach that obtains a global view of parameter redundancies, which is shown to produce superior compression. We conduct experiments with five different sensing-related tasks on Intel Edison devices. DeepIoT outperforms all compared baseline algorithms with respect to execution time and energy consumption by a significant margin. It reduces the size of deep neural networks by 90% to 98.9%. It is thus able to shorten execution time by 71.4% to 94.5%, and decrease energy consumption by 72.2% to 95.7%. These improvements are achieved without loss of accuracy. The results underscore the potential of DeepIoT for advancing the exploitation of deep neural networks on resource-constrained embedded devices.
Motivation & Objective
- To address the high memory, energy, and latency demands of deploying deep neural networks on resource-constrained embedded devices in IoT sensing applications.
- To develop a unified compression method applicable to diverse deep learning architectures, including fully-connected, convolutional, and recurrent networks.
- To minimize network parameters by pruning redundant hidden units rather than relying on sparsity or linear assumptions.
- To jointly optimize a compressor network and a critic network to learn optimal dropout probabilities for each hidden unit.
- To enable direct deployment of compressed models on embedded systems without library modifications.
Proposed method
- A compressor-critic framework is used, where the compressor predicts optimal dropout probabilities for each hidden unit, and the critic evaluates the resulting pruned network's performance.
- The compressor network is trained end-to-end with the original network using a reinforcement learning-like objective to minimize redundancy while preserving accuracy.
- Pruning is performed by dropping hidden units based on learned dropout probabilities, resulting in smaller dense matrices instead of sparse ones.
- The method is architecture-agnostic and applies uniformly across fully-connected, convolutional, and recurrent layers.
- Fine-tuning is performed on a workstation before deployment, ensuring the compressed model is ready for edge devices.
- The approach avoids reliance on matrix factorization or sparsity assumptions, which can be suboptimal for 1D filters and recurrent layers.
Experimental results
Research questions
- RQ1Can a unified compression framework effectively reduce model size across diverse deep learning architectures used in sensing applications?
- RQ2Does learning optimal dropout probabilities through a compressor-critic framework lead to better compression and efficiency than fixed or heuristic dropout strategies?
- RQ3Can structure pruning via hidden unit removal outperform sparsity-based or factorization-based compression in terms of energy and latency on embedded devices?
- RQ4To what extent can model size be reduced without sacrificing accuracy in real-world sensing tasks on low-power platforms?
- RQ5Is the compressed model compatible with existing deep learning inference libraries on mobile and embedded systems?
Key findings
- DeepIoT reduced model size by 90% to 98.9% across five sensing tasks on Intel Edison devices.
- Execution time was reduced by 71.4% to 94.5% compared to baseline methods.
- Energy consumption decreased by 72.2% to 95.7%, with the largest reduction of 95.7% observed in the HHAR dataset.
- The method outperformed all baselines, including SparseSep and other sparsity-based approaches, in both speed and energy efficiency.
- The compressed models maintained original accuracy, demonstrating that redundancy reduction did not degrade performance.
- The approach is compatible with existing deep learning libraries and enables direct deployment on embedded systems without runtime modifications.
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.