Neural Parameter Allocation Search

Bryan A. Plummer, Nikoli Dryden, Julius Frost, Torsten Hoefler, Kate Saenko
6/18/2020
cs.LGcs.CLcs.CV

Official code: BryanPlummer/SSN (7 stars, Python, MIT, last commit 2022-06-18).

Abstract

Training neural networks requires increasing amounts of memory. Parameter sharing can reduce memory and communication costs, but existing methods assume networks have many identical layers and utilize hand-crafted sharing strategies that fail to generalize.

Show full abstract

We introduce Neural Parameter Allocation Search (NPAS), a novel task where the goal is to train a neural network given an arbitrary, fixed parameter budget. NPAS covers both low-budget regimes, which produce compact networks, as well as a novel high-budget regime, where additional capacity can be added to boost performance without increasing inference FLOPs. To address NPAS, we introduce Shapeshifter Networks (SSNs), which automatically learn where and how to share parameters in a network to support any parameter budget without requiring any changes to the architecture or loss function. NPAS and SSNs provide a complete framework for addressing generalized parameter sharing, and can also be combined with prior work for additional performance gains. We demonstrate the effectiveness of our approach using nine network architectures across four diverse tasks, including ImageNet classification and transformers.

View on arXivView PDF

Code Implementations(1)

BryanPlummer/SSNOfficial100%
MIT
73Python, ShellMar 16, 20224 years agoMIT

Similar Papers

Cite this paper

@article{plummer2020neural,
  title  = {Neural Parameter Allocation Search},
  author = {Bryan A. Plummer and Nikoli Dryden and Julius Frost and Torsten Hoefler and Kate Saenko},
  year   = {2020},
  eprint = {2006.10598},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10598}
}

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

Discussion