Skip to main content
QUICK REVIEW

[Paper Review] Efficient Neural Network Compression

Hyeji Kim, Muhammad Umar Karim Khan|arXiv (Cornell University)|Nov 30, 2018
Advanced Neural Network ApplicationsComputer Science18 references3 citations
TL;DR

This paper proposes Efficient Neural Network Compression (ENC), a non-iterative method for optimizing low-rank kernel decomposition in deep neural networks by jointly considering the entire network to determine optimal rank configurations. It achieves faster compression (3 minutes on CPU vs. 4 hours on 8 GPUs) with improved accuracy and FLOPs reduction—e.g., 25% FLOPs reduction and 0.7% accuracy gain on VGG-16—while enabling lossless compression with minimal fine-tuning.

ABSTRACT

Network compression reduces the computational complexity and memory consumption of deep neural networks by reducing the number of parameters. In SVD-based network compression, the right rank needs to be decided for every layer of the network. In this paper, we propose an efficient method for obtaining the rank configuration of the whole network. Unlike previous methods which consider each layer separately, our method considers the whole network to choose the right rank configuration. We propose novel accuracy metrics to represent the accuracy and complexity relationship for a given neural network. We use these metrics in a non-iterative fashion to obtain the right rank configuration which satisfies the constraints on FLOPs and memory while maintaining sufficient accuracy. Experiments show that our method provides better compromise between accuracy and computational complexity/memory consumption while performing compression at much higher speed. For VGG-16 our network can reduce the FLOPs by 25% and improve accuracy by 0.7% compared to the baseline, while requiring only 3 minutes on a CPU to search for the right rank configuration. Previously, similar results were achieved in 4 hours with 8 GPUs. The proposed method can be used for lossless compression of a neural network as well. The better accuracy and complexity compromise, as well as the extremely fast speed of our method makes it suitable for neural network compression.

Motivation & Objective

  • To address the inefficiency of iterative, layer-wise network compression methods that require hours of computation.
  • To develop a non-iterative method that jointly optimizes rank configurations across all layers to balance accuracy, FLOPs, and memory constraints.
  • To enable fast, accurate, and efficient compression suitable for real-world deployment, including lossless compression with minimal fine-tuning.
  • To reduce the time cost of model compression from hours to seconds or minutes while maintaining or improving performance.

Proposed method

  • Proposes three variants: ENC-Map (mapping-based), ENC-Model (accuracy metric-based), and ENC-Inf (hybrid with inference validation) for rank configuration.
  • Introduces layer-wise accuracy metrics based on normalized PCA energy and partial training accuracy to estimate contribution of each layer to overall network performance.
  • Uses a non-iterative search strategy that maps complexity constraints (FLOPs, memory) directly to optimal rank configurations using learned or empirical mappings.
  • Employs a holistic network view to avoid sequential layer-by-layer optimization, improving global accuracy-complexity trade-offs.
  • Applies fine-tuning after compression to recover accuracy, especially effective for lossless compression with brief fine-tuning (e.g., 0.1 epoch).
  • Leverages singular value decomposition (SVD) for kernel decomposition, enabling low-rank approximation of convolutional and fully connected layers.

Experimental results

Research questions

  • RQ1Can a non-iterative, holistic method outperform iterative, layer-wise approaches in neural network compression speed and accuracy?
  • RQ2How can global rank configurations be efficiently determined to satisfy FLOPs and memory constraints while preserving accuracy?
  • RQ3To what extent can lossless compression be achieved with minimal fine-tuning using a fast, model-based compression strategy?
  • RQ4Does a mapping-based approach using accuracy metrics provide a reliable and fast alternative to reinforcement learning or evolutionary algorithms in rank configuration?

Key findings

  • ENC-Map achieves a 25% FLOPs reduction and 0.7% accuracy improvement on VGG-16 with only 3 minutes of CPU time, outperforming prior methods that required 4 hours on 8 GPUs.
  • ENC-Model reduces FLOPs by 24% on VGG-16 with only -0.4% accuracy drop, demonstrating strong accuracy-complexity trade-off.
  • For ResNet-56, ENC-Map achieves 55% FLOPs reduction with only -0.1% accuracy loss after fine-tuning, and completes in 3 seconds on a single CPU core.
  • Lossless compression of VGG-16 achieves 41% FLOPs reduction with 0.1 epoch fine-tuning (22 minutes), outperforming a prior method that required 4 hours for 64% FLOPs reduction.
  • On the ODROID-XU4 board, FLOPs reduction correlates directly with latency reduction, confirming real-world inference benefits.
  • The method enables fast, accurate compression with minimal fine-tuning, making it suitable for edge deployment and automated model compression pipelines.

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.