Skip to main content
QUICK REVIEW

[Paper Review] Learning Low-Rank Approximation for CNNs

Dongsoo Lee, Se Jung Kwon|arXiv (Cornell University)|May 24, 2019
Sparse and Compressive Sensing TechniquesEngineering24 references13 citations
TL;DR

This paper proposes DeepTwist, a novel training technique that enables high-compression low-rank approximation of CNNs by injecting low-rank approximation-induced noise into weights during training without altering the original model structure. By preserving the original architecture, the method allows efficient 2D SVD via im2col transformation and achieves higher model accuracy than conventional fine-tuning, especially at high compression ratios, with tiled SVD under DeepTwist outperforming Tucker decomposition on both CIFAR-10 and ImageNet benchmarks.

ABSTRACT

Low-rank approximation is an effective model compression technique to not only reduce parameter storage requirements, but to also reduce computations. For convolutional neural networks (CNNs), however, well-known low-rank approximation methods, such as Tucker or CP decomposition, result in degraded model accuracy because decomposed layers hinder training convergence. In this paper, we propose a new training technique that finds a flat minimum in the view of low-rank approximation without a decomposed structure during training. By preserving the original model structure, 2-dimensional low-rank approximation demanding lowering (such as im2col) is available in our proposed scheme. We show that CNN models can be compressed by low-rank approximation with much higher compression ratio than conventional training methods while maintaining or even enhancing model accuracy. We also discuss various 2-dimensional low-rank approximation techniques for CNNs.

Motivation & Objective

  • To address the degradation in model accuracy when applying low-rank approximation to CNNs using conventional decomposition methods like Tucker or CP decomposition.
  • To enable effective 2D low-rank approximation (e.g., SVD) on CNNs by preserving the original model structure during training.
  • To develop a training strategy that finds flat minima robust to parameter errors induced by low-rank approximation.
  • To improve compression efficiency and accuracy by combining lowering (im2col) with SVD-based low-rank approximation.
  • To demonstrate that SVD-based methods, when trained with DeepTwist, can surpass Tucker decomposition in accuracy and compression ratio.

Proposed method

  • DeepTwist periodically distorts network weights using low-rank approximation (e.g., SVD) at fixed intervals (every $S_D$ batches), injecting noise without changing the model structure.
  • The method maintains the original CNN architecture throughout training, enabling compatibility with im2col-based lowering for 2D SVD.
  • Low-rank approximation is applied to weight tensors during distortion steps, reconstructing them via multiplication of decomposed tensors to simulate parameter error.
  • The training process escapes sharp minima by distorting weights when the loss surface is not flat enough relative to the approximation error.
  • Tiled SVD is used with fixed tile size (e.g., 64×64), and each tile is independently decomposed with rank $r$, enabling scalable and efficient low-rank approximation.
  • The approach avoids the need for fine-tuning on decomposed structures, allowing direct deployment of the transformed model after training.

Experimental results

Research questions

  • RQ1Can low-rank approximation be applied to CNNs with high compression ratios while maintaining or improving model accuracy?
  • RQ2Why do conventional low-rank methods like Tucker or CP decomposition degrade model accuracy despite fine-tuning?
  • RQ3Can injecting low-rank approximation noise during training help find flatter minima that are robust to parameter approximation errors?
  • RQ4Does preserving the original model structure enable effective use of 2D SVD via im2col transformation in CNNs?
  • RQ5How does DeepTwist compare to conventional fine-tuning in terms of accuracy and compression efficiency when using SVD versus Tucker decomposition?

Key findings

  • Tiled SVD with DeepTwist achieves 4.00× compression on VGG19 (CIFAR-10) with 92.07% top-1 accuracy, outperforming Tucker decomposition at similar ratios.
  • On VGG19, DeepTwist-assisted tiled SVD maintains 92.42% accuracy at 2.00× compression, exceeding the pre-trained model's 92.37% accuracy.
  • On ResNet-34 (ImageNet), tiled SVD with DeepTwist achieves 73.00% top-1 accuracy at 3.1× compression, surpassing Tucker decomposition's 72.31%.
  • The method enables effective 2D SVD in CNNs by preserving the original model structure, allowing the use of im2col-based lowering techniques.
  • DeepTwist improves training loss and test accuracy throughout the training process compared to conventional fine-tuning for low-rank approximation.
  • The choice of distortion interval $S_D$ and tile size has minimal impact on final accuracy, indicating robustness and ease of deployment.

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.