Skip to main content
QUICK REVIEW

[Paper Review] Compression-aware Training of Deep Networks

José M. Alvarez, Mathieu Salzmann|arXiv (Cornell University)|Nov 7, 2017
Advanced Neural Network ApplicationsComputer Science34 references54 citations
TL;DR

This paper introduces a low-rank regularizer during training to produce compact deep networks that can be effectively compressed post-training, achieving high compression with minimal accuracy loss.

ABSTRACT

In recent years, great progress has been made in a variety of application domains thanks to the development of increasingly deeper neural networks. Unfortunately, the huge number of units of these networks makes them expensive both computationally and memory-wise. To overcome this, exploiting the fact that deep networks are over-parametrized, several compression strategies have been proposed. These methods, however, typically start from a network that has been trained in a standard manner, without considering such a future compression. In this paper, we propose to explicitly account for compression in the training process. To this end, we introduce a regularizer that encourages the parameter matrix of each layer to have low rank during training. We show that accounting for compression during training allows us to learn much more compact, yet at least as effective, models than state-of-the-art compression techniques.

Motivation & Objective

  • Motivate the need for compact deep networks due to over-parameterization and deployment constraints.
  • Propose a regularizer that encourages low-rank parameter matrices in each layer during training.
  • Combine low-rank regularization with group sparsity to enhance unit-level and layer-level compression.
  • Demonstrate that compression-aware training yields higher compression rates with little to no accuracy loss on ImageNet and ICDAR.
  • Show how post-processing via SVD-based factorization further reduces inference cost.

Proposed method

  • Formulate learning with a regularized objective combining supervised loss and a nuclear-norm regularizer on each layer’s parameter matrix.
  • Use a proximal stochastic gradient descent scheme to optimize layer-wise proximal updates.
  • Introduce a sparse group Lasso term to promote both group-level and individual parameter sparsity.
  • Combine low-rank regularization with group sparsity to exploit unit redundancies within layers.
  • During inference, apply an SVD-based post-processing to decompose each layer into two smaller layers.
  • Allow energy-based truncation of singular values (e_l) to control the trade-off between accuracy and compression.

Experimental results

Research questions

  • RQ1Can a low-rank regularizer learned during training yield networks that are highly compressible in post-processing?
  • RQ2Does combining low-rank regularization with group sparsity improve compression beyond low-rank alone?
  • RQ3What are the effects of compression-aware training on accuracy and MACs on ImageNet and ICDAR datasets?
  • RQ4How does the proposed method compare to Denton-style post-processing and prior sparsity methods in terms of parameter count, MACs, and accuracy?
  • RQ5What practical benefits arise during training, such as faster pruning and reloading strategies?

Key findings

  • Achieves substantial compression with minimal accuracy loss on ImageNet and ICDAR compared to post-processing baselines.
  • On ResNet-50, achieves 20.6% compression with 75.0% top-1 accuracy, and 27% compression with 75.2% top-1 when combined with group sparsity.
  • For ICDAR, reductions in parameters and MACs exceed 90% in some configurations while maintaining strong accuracy.
  • On ImageNet with Dec8-512 models, reports over 20% (and >50% in some setups) parameter reductions with comparable accuracy to baselines.
  • Inferred that the low-rank regularizer alone already tends to cancel entire units, providing model selection during training.
  • Post-processing via energy-based truncation (e_l) controls the accuracy/efficiency trade-off, with 80–100% energy retention showing favorable MAC reductions.

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.