Deep Neural Network Compression via Mask-Based Pruning
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Deep neural networks, particularly those used in speech recognition, face challenges in compression due to their large scale, leading to high computational and storage requirements, which restricts their deployment on mobile terminals and can result in accuracy degradation from noise in training sets.
Innovation Solution
A multi-iteration compression method for neural networks that involves sensitivity analysis, pruning, and fine-tuning, utilizing a mask matrix to record non-zero elements and adjust weights, allowing for efficient compression while maintaining accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If neural networks are compressed by pruning low-weight connections to reduce storage and computation, then computational speed and storage efficiency are improved, but network accuracy deteriorates due to removal of important connections
Solution Approach 1:
The patent applies preliminary action by performing sensitivity analysis and identifying important connections before pruning occurs. The method pre-processes the network to determine which connections are critical, then uses this information to guide the pruning process, ensuring that important connections are preserved while removing only truly redundant ones. This preliminary identification step prevents accuracy loss that would occur with random or purely weight-threshold-based pruning.
Solution Approach 2:
The patent implements feedback mechanisms through iterative pruning and retraining cycles. After each pruning operation, the network is retrained and evaluated, and the results feed back into the next pruning iteration. This feedback loop allows the system to adaptively adjust the pruning threshold and preserve connections that are important for maintaining accuracy, while progressively removing redundant connections to improve computational efficiency.
2Ease of operation
If neural networks are compressed into smaller scale for mobile deployment, then ease of deployment is improved, but computational and storage resources are reduced leading to accuracy degradation
Solution Approach 1:
The patent applies local quality by treating different connections in the neural network differently based on their individual importance. Rather than uniformly pruning all connections below a global threshold, the method performs local sensitivity analysis to identify which specific connections are critical for accuracy. This allows the network to have varying densities across different regions, with important connections preserved and redundant ones removed, achieving compression without uniform accuracy loss.
Solution Approach 2:
The patent utilizes parameter changes by dynamically adjusting the pruning threshold and other compression parameters based on the specific network architecture, task requirements, and available resources. The method changes parameters such as the weight threshold for pruning, the sensitivity analysis depth, and the retraining learning rate to optimize the balance between compression ratio and accuracy retention for mobile deployment scenarios.
3Reliability
If iterative pruning and retraining is performed to maintain accuracy, then network accuracy is improved, but training time and computational overhead increase
Solution Approach 1:
The patent applies partial action by performing sensitivity analysis on only a subset of connections or using approximate sensitivity metrics rather than exhaustive analysis. The retraining process is also performed for limited iterations rather than full convergence each time. This partial approach reduces the time cost of iterative pruning while still achieving sufficient accuracy preservation, accepting that not every connection needs perfect optimization.
Solution Approach 2:
The patent implements periodic action by performing full sensitivity analysis and retraining only at specific intervals or milestones during the compression process, rather than after every single pruning operation. Between these periodic full cycles, lighter pruning operations are performed with fewer retraining iterations. This periodic approach reduces overall training time while maintaining accuracy through the structured sequence of analysis-pruning-retraining cycles.
Data Source
AI summary
The present invention relates to artificial neural networks, for example, deep neural networks. In particular, the present invention relates to a compression method for deep neural networks with proper use of mask and the device thereof. More specifically, the present invention relates to how to compress dense neural networks into sparse neural networks while maintaining or even improving the accuracy of the neural networks after compression.


