LCS: Learning Compressible Subspaces for Adaptive Network Compression at Inference Time

Elvis Nunez, Maxwell Horton, Anish Prabhu, Anurag Ranjan, Ali Farhadi +1 more
10/8/2021
cs.LGcs.CV

Official code: apple-aiml-research/learning-compressible-subspaces (19 stars, Python, last commit 2026-09-11).

Abstract

When deploying deep learning models to a device, it is traditionally assumed that available computational resources (compute, memory, and power) remain static. However, real-world computing systems do not always provide stable resource guarantees.

Show full abstract

Computational resources need to be conserved when load from other processes is high or battery power is low. Inspired by recent works on neural network subspaces, we propose a method for training a "compressible subspace" of neural networks that contains a fine-grained spectrum of models that range from highly efficient to highly accurate. Our models require no retraining, thus our subspace of models can be deployed entirely on-device to allow adaptive network compression at inference time. We present results for achieving arbitrarily fine-grained accuracy-efficiency trade-offs at inference time for structured and unstructured sparsity. We achieve accuracies on-par with standard models when testing our uncompressed models, and maintain high accuracy for sparsity rates above 90% when testing our compressed models. We also demonstrate that our algorithm extends to quantization at variable bit widths, achieving accuracy on par with individually trained networks.

View on arXivView PDF

Code Implementations(1)

195Python, ShellOct 21, 20212 months agoNOASSERTION

Similar Papers

Cite this paper

@article{nunez2021lcs,
  title  = {LCS: Learning Compressible Subspaces for Adaptive Network Compression at Inference Time},
  author = {Elvis Nunez and Maxwell Horton and Anish Prabhu and Anurag Ranjan and Ali Farhadi and Mohammad Rastegari},
  year   = {2021},
  eprint = {2110.04252},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.04252}
}

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/2110.04252.svg)](https://codeofpaper.com/paper/2110.04252)

Discussion