Compression-aware Training of Neural Networks using Frank-Wolfe

Max Zimmer, Christoph Spiegel, Sebastian Pokutta
5/24/2022
cs.LGmath.OC
quantization-pruning

Official code: ZIB-IOL/compression-aware-SFW (2 stars, Python, PyTorch, last commit 2023-02-22).

Abstract

Many existing Neural Network pruning approaches rely on either retraining or inducing a strong bias in order to converge to a sparse solution throughout training. A third paradigm, 'compression-aware' training, aims to obtain state-of-the-art dense models that are robust to a wide range of compression ratios using a single dense training run while also avoiding retraining.

Show full abstract

We propose a framework centered around a versatile family of norm constraints and the Stochastic Frank-Wolfe (SFW) algorithm that encourage convergence to well-performing solutions while inducing robustness towards convolutional filter pruning and low-rank matrix decomposition. Our method is able to outperform existing compression-aware approaches and, in the case of low-rank matrix decomposition, it also requires significantly less computational resources than approaches based on nuclear-norm regularization. Our findings indicate that dynamically adjusting the learning rate of SFW, as suggested by Pokutta et al. (2020), is crucial for convergence and robustness of SFW-trained models and we establish a theoretical foundation for that practice.

View on arXivView PDF

Code Implementations(1)

PyTorch

Code to reproduce the experiments of "Compression-aware Training of Neural Networks using Frank-Wolfe"

20Python, TeXMay 23, 20223 years ago
compressionconstrained-optimizationdeep-learningmachine-learningneural-network+2 more

Similar Papers

Cite this paper

@article{zimmer2022compressionaware,
  title  = {Compression-aware Training of Neural Networks using Frank-Wolfe},
  author = {Max Zimmer and Christoph Spiegel and Sebastian Pokutta},
  year   = {2022},
  eprint = {2205.11921},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.11921}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.11921.svg)](https://codeofpaper.com/paper/2205.11921)

Discussion