PRANC: Pseudo RAndom Networks for Compacting deep models

Parsa Nooralinejad, Ali Abbasi, Soroush Abbasi Koohpayegani, Kossar Pourahmadi Meibodi, Rana Muhammad Shahroz Khan +2 more
6/16/2022
cs.LG

Official code: UCDvision/PRANC (23 stars, Python, MIT, last commit 2023-01-24).

Abstract

We demonstrate that a deep model can be reparametrized as a linear combination of several randomly initialized and frozen deep models in the weight space. During training, we seek local minima that reside within the subspace spanned by these random models (i.e., `basis' networks).

Show full abstract

Our framework, PRANC, enables significant compaction of a deep model. The model can be reconstructed using a single scalar `seed,' employed to generate the pseudo-random `basis' networks, together with the learned linear mixture coefficients. In practical applications, PRANC addresses the challenge of efficiently storing and communicating deep models, a common bottleneck in several scenarios, including multi-agent learning, continual learners, federated systems, and edge devices, among others. In this study, we employ PRANC to condense image classification models and compress images by compacting their associated implicit neural networks. PRANC outperforms baselines with a large margin on image classification when compressing a deep model almost $100$ times. Moreover, we show that PRANC enables memory-efficient inference by generating layer-wise weights on the fly. The source code of PRANC is here: \url{https://github.com/UCDvision/PRANC}

View on arXivView PDF

Code Implementations(1)

UCDvision/PRANCOfficial100%
MIT
232PythonJun 3, 20223 years agoMIT

Similar Papers

Cite this paper

@article{nooralinejad2022pranc,
  title  = {PRANC: Pseudo RAndom Networks for Compacting deep models},
  author = {Parsa Nooralinejad and Ali Abbasi and Soroush Abbasi Koohpayegani and Kossar Pourahmadi Meibodi and Rana Muhammad Shahroz Khan and Soheil Kolouri and Hamed Pirsiavash},
  year   = {2022},
  eprint = {2206.08464},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.08464}
}

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

Discussion