NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Neural Parameter Allocation Search

Bryan A. Plummer, Nikoli Dryden, Julius Frost, Torsten Hoefler, Kate Saenko

Introduction

As neural networks grow, memory bandwidth and storage become primary bottlenecks for training and deployment. While techniques like parameter sharing (e.g., ALBERT) or pruning exist, they have significant limitations. Most rely on hand-crafted strategies, require networks to have many identical layers, and lack a generalized way to "morph" a standard architecture to fit a specific memory constraint from the start of training.

This paper introduces Neural Parameter Allocation Search (NPAS), a framework for training neural networks under arbitrary, fixed parameter budgets. By using Shapeshifter Networks (SSNs) to automatically learn how to map and generate weights from shared parameter pools, the authors achieve superior performance in both highly compressed (low-budget) and over-parameterized (high-budget) regimes without altering the underlying network architecture.

Methodology: Shapeshifter Networks (SSNs)

The authors solve the NPAS task using SSNs. An SSN takes a target architecture and a parameter budget, then executes two main steps: parameter mapping and weight generation.

Overview of Shapeshifter Networks (SSNs) showing parameter mapping and weight generation.
  1. Parameter Mapping: To avoid the "brute-force" impossibility of testing every sharing combination, SSNs use a short preliminary training phase (10-15% of a full run). They learn a low-dimensional representation for each layer and then use $k$-means clustering to group layers that "behave" similarly. These groups then share a common pool of parameters.
  2. Weight Generation: Once layers are grouped, the SSN must generate the actual weights for each layer from the shared pool.
  3. Downsampling (High-Budget): If the parameter pool is larger than the layer needs, the pool is split into "templates." The layer learns to combine these templates (via weighted averages or layer embeddings) to create its weights. This adds capacity without increasing inference FLOPs.
  4. Upsampling (Low-Budget): If the pool is smaller than the layer needs, the SSN "tiles" the parameters and applies a learned mask to modify the repeated values, ensuring the layer doesn't just learn redundant patterns.

Key Insights

  • The High-Budget Regime (HB-NPAS): This is a counter-intuitive "aha moment." By giving a model more parameters than its architecture technically requires and learning to combine them into the standard weight shapes, you can boost accuracy (1–1.5%) with zero increase in inference FLOPs. It’s essentially a way to bake the benefits of an ensemble or a larger model into a smaller one.
  • Sharing Across Modalities: Surprisingly, SSNs can effectively share parameters between completely different types of layers—such as sharing weights between a text-processing GRU and an image-processing Convolutional layer—without crashing performance.
  • Automation Trumps Intuition: The automatically learned mappings performed on par with or better than expert-designed manual sharing strategies, proving that "where to share" is a task better left to optimization than human guesswork.

Key Results

The authors evaluated their approach across nine architectures and four diverse domains, including image classification, image-sentence retrieval, phrase grounding, and question answering.

Performance of SSNs on CIFAR-100 and ImageNet across various parameter budgets.
  • Image Classification: On ImageNet, an SSN-based WideResNet (WRN-50-2) using only 19M parameters (down from 69M) achieved a 3% lower Error@5 than a standard WRN scaled down to the same budget.
  • Transformers: On SQuAD v2.0, an SSN with an 18M parameter budget outperformed the popular ALBERT model (83.0 F1 vs. 82.1 F1), despite ALBERT being specifically hand-designed for parameter sharing.
  • Training Efficiency: For large models like BERT-Large, the SSN version trained 1.4x faster and reduced memory requirements by ~5 GB (about 1/3 of the total) by reducing the overhead of communicating model updates in a distributed setting.

Limitations and Future Work

  • Preliminary Step Cost: While the mapping step is short (10-15% of training), it is still an additional overhead compared to a standard training run.
  • Upsampling Stability: The authors noted that more complex upsampling methods (like using MLPs to generate weights) often suffered from numerical instability or slow training. They suggest that incorporating better "priors" about local filter patterns could improve this.
  • Theoretical Grounding: While the empirical results are strong, the paper notes that more research is needed to understand why sharing parameters between wildly different layer types (like Convolutions and Fully-Connected layers) works as well as it does.

Summary updated

BibTeX
@inproceedings{plummer2022neural,
  author = {Bryan A. Plummer and Nikoli Dryden and Julius Frost and Torsten Hoefler and Kate Saenko},
  title = {{Neural Parameter Allocation Search}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=srtIXtySfT4},
}
Figure