Skip to main content
QUICK REVIEW

[Paper Review] CNN Acceleration by Low-rank Approximation with Quantized Factors

Nikolay Kozyrskiy, Anh Huy Phan|arXiv (Cornell University)|Jun 16, 2020
Tensor decomposition and applicationsMathematics51 references5 citations
TL;DR

This paper proposes a novel CNN compression method combining Tucker tensor decomposition with quantization of weights and activations to accelerate inference on mobile and embedded devices. By using greedy rank selection and a quality restoration technique, the approach achieves high compression ratios with minimal accuracy drop, outperforming existing methods on ResNet18 and ResNet34 across CIFAR-10, CIFAR-100, and ImageNet benchmarks.

ABSTRACT

The modern convolutional neural networks although achieve great results in solving complex computer vision tasks still cannot be effectively used in mobile and embedded devices due to the strict requirements for computational complexity, memory and power consumption. The CNNs have to be compressed and accelerated before deployment. In order to solve this problem the novel approach combining two known methods, low-rank tensor approximation in Tucker format and quantization of weights and feature maps (activations), is proposed. The greedy one-step and multi-step algorithms for the task of multilinear rank selection are proposed. The approach for quality restoration after applying Tucker decomposition and quantization is developed. The efficiency of our method is demonstrated for ResNet18 and ResNet34 on CIFAR-10, CIFAR-100 and Imagenet classification tasks. As a result of comparative analysis performed for other methods for compression and acceleration our approach showed its promising features.

Motivation & Objective

  • Address the challenge of deploying large, computationally expensive CNNs on mobile and embedded devices with strict power, memory, and latency constraints.
  • Overcome the limitations of existing compression methods by combining low-rank approximation and quantization in a synergistic way.
  • Develop a flexible, controllable trade-off between model compression ratio and accuracy degradation for diverse deployment scenarios.
  • Enable end-to-end fine-tuning for efficient deployment without requiring task-specific retraining or complex hyperparameter tuning.
  • Demonstrate the effectiveness of the method on standard benchmarks (CIFAR-10, CIFAR-100, ImageNet) using ResNet18 and ResNet34 architectures.

Proposed method

  • Apply Tucker decomposition to the 4D convolutional weight tensors to reduce parameter count via low-rank approximation.
  • Use a greedy one-step and multi-step algorithm for selecting optimal multilinear ranks in the Tucker format to balance compression and accuracy.
  • Quantize both network weights and feature maps (activations) to 4–8 bits using fixed-point representation, reducing memory and computation costs.
  • Introduce a quality restoration technique after decomposition and quantization to stabilize training and improve accuracy recovery.
  • Perform end-to-end fine-tuning of the compressed and quantized model to minimize accuracy drop post-compression.
  • Control the trade-off between compression ratio and accuracy via adjustable rank and bit-width parameters.

Experimental results

Research questions

  • RQ1Can combining Tucker decomposition with weight and activation quantization achieve significant CNN compression with minimal accuracy loss?
  • RQ2How effective is the proposed greedy rank selection algorithm in identifying optimal low-rank approximations for convolutional layers?
  • RQ3To what extent does the quality restoration technique improve convergence and accuracy recovery after decomposition and quantization?
  • RQ4How does the method compare to state-of-the-art compression techniques in terms of compression ratio and accuracy on standard benchmarks?
  • RQ5Can the method be flexibly applied across different models and datasets with controllable trade-offs between compression and performance?

Key findings

  • The proposed method achieves superior compression and acceleration performance compared to existing methods, especially when combined with 8-bit quantization.
  • On ImageNet, the method outperforms all other approaches except the spatial SVD-based method, but with the added benefit of quantization for further efficiency.
  • The method enables a controllable trade-off between compression ratio and accuracy drop, allowing deployment on devices with varying hardware constraints.
  • End-to-end fine-tuning significantly improves convergence and accuracy recovery, outperforming non-fine-tuned or poorly initialized compression strategies.
  • The combination of Tucker decomposition and quantization reduces FLOPs and model size substantially, making models viable for mobile and real-time applications.
  • The approach is generalizable and can be integrated as a plug-in module into deep learning frameworks for out-of-the-box model compression.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.