[Paper Review] Iterative Low-Rank Approximation for CNN Compression
This paper proposes an iterative low-rank approximation method for compressing convolutional neural networks (CNNs) by gradually reducing rank through repeated cycles of rank weakening, tensor decomposition (HOSVD/SVD), and fine-tuning. The approach achieves higher compression ratios with significantly reduced accuracy loss compared to single-shot methods, demonstrating superior performance on AlexNet, VGG-16, YOLOv2, and Tiny YOLO.
Deep convolutional neural networks contain tens of millions of parameters, making them impossible to work efficiently on embedded devices. We propose iterative approach of applying low-rank approximation to compress deep convolutional neural networks. Since classification and object detection are the most favored tasks for embedded devices, we demonstrate the effectiveness of our approach by compressing AlexNet, VGG-16, YOLOv2 and Tiny YOLO networks. Our results show the superiority of the proposed method compared to non-repetitive ones. We demonstrate higher compression ratio providing less accuracy loss.
Motivation & Objective
- Address the challenge of deploying large, parameter-heavy CNNs on resource-constrained embedded and mobile devices.
- Overcome the accuracy degradation common in single-shot low-rank approximation methods by introducing an iterative compression process.
- Enable seamless integration into any deep learning framework without requiring framework-level modifications.
- Achieve higher compression ratios while minimizing accuracy loss through gradual noise reduction via iterative decomposition and fine-tuning.
- Automate rank selection using variational Bayesian matrix factorization (VBMF) while avoiding over-compression by iteratively weakening extreme ranks.
Proposed method
- Apply iterative low-rank approximation using four core steps: automated extreme rank selection via VBMF, rank weakening, tensor decomposition (HOSVD for conv layers, SVD for fully connected), and model fine-tuning.
- Use higher-order singular value decomposition (HOSVD) to decompose 4D convolutional kernel tensors into core tensors and factor matrices, reducing parameter count.
- Leverage variational Bayesian matrix factorization (VBMF) to automatically determine initial rank bounds, treating them as upper limits for compression.
- Implement rank weakening by reducing the VBMF-estimated ranks by a factor of 0.5 to 0.7, preventing over-compression in a single step.
- Perform iterative compression cycles where each iteration applies decomposition and fine-tuning, continuing until accuracy drop falls below 1%.
- Support both convolutional and fully connected layers by applying HOSVD and SVD respectively, with optional pre-processing for non-compressible layers like batch normalization.
Experimental results
Research questions
- RQ1Can iterative low-rank approximation reduce accuracy loss during CNN compression compared to single-shot decomposition?
- RQ2Does gradually weakening ranks before decomposition enable higher compression ratios without sacrificing model performance?
- RQ3How effective is the combination of VBMF-based rank estimation and iterative fine-tuning in maintaining accuracy across diverse CNN architectures?
- RQ4To what extent does the iterative approach outperform non-repetitive low-rank approximation in terms of compression ratio and inference speedup?
- RQ5Can the method be applied universally across different deep learning frameworks without requiring framework-level changes?
Key findings
- The iterative method achieved a 4.90× compression ratio on AlexNet with only 0.81% top-5 accuracy loss, compared to 2.30× speedup and 4.2% accuracy loss with one-time compression.
- For VGG-16, the iterative approach achieved 1.51× compression with 0.15% accuracy loss, outperforming the 1.2× compression and 2.8% loss from one-time compression.
- YOLOv2 saw 2.13× compression with 0.19% mAP loss using the iterative method, compared to 1.7× compression and 3.1% mAP loss with single-shot compression.
- Tiny YOLOv2 achieved 2.30× compression with 0.10% mAP loss via iteration, significantly better than 2.11× compression and 2.7% loss in the non-repetitive baseline.
- The iterative method consistently achieved higher speedups on CPUs (up to ×4.76 for AlexNet) and maintained consistent performance across different CPU and GPU platforms.
- Fine-tuning after each iteration recovered accuracy lost during decomposition, with convergence typically requiring 5–15 epochs per iteration.
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.