[Paper Review] Shapeshifter Networks: Cross-layer Parameter Sharing for Scalable and Effective Deep Learning
Shapeshifter Networks (SSNs) introduce a cross-layer parameter sharing framework that dynamically learns optimal parameter groupings across heterogeneous layers—enabling significant model compression and improved generalization. By mapping shared weights to layers of varying sizes, operations, and modalities, SSNs achieve state-of-the-art performance with as little as 1% of standard model parameters.
We present Shapeshifter Networks (SSNs), a flexible neural network framework that improves performance and reduces memory requirements on a diverse set of scenarios over standard neural networks. Our approach is based on the observation that many neural networks are severely overparameterized, resulting in significant waste in computational resources as well as being susceptible to overfitting. SSNs address this by learning where and how to share parameters between layers in a neural network while avoiding degenerate solutions that result in underfitting. Specifically, we automatically construct parameter groups that identify where parameter sharing is most beneficial. Then, we map each group's weights to construct layers with learned combinations of candidates from a shared parameter pool. SSNs can share parameters across layers even when they have different sizes, perform different operations, and/or operate on features from different modalities. We evaluate our approach on a diverse set of tasks, including image classification, bidirectional image-sentence retrieval, and phrase grounding, creating high performing models even when using as little as 1% of the parameters. We also apply SSNs to knowledge distillation, where we obtain state-of-the-art results when combined with traditional distillation methods.
Motivation & Objective
- To address the overparameterization of deep neural networks that leads to wasted computation and overfitting.
- To develop a method that enables effective parameter sharing across layers with different architectures, sizes, and modalities.
- To automatically learn beneficial parameter groupings without degenerate solutions that cause underfitting.
- To reduce model size significantly while maintaining or improving performance on diverse tasks.
- To enhance knowledge distillation by integrating parameter sharing for improved student model efficiency and accuracy.
Proposed method
- SSNs learn dynamic parameter groups that identify where sharing is most beneficial across layers.
- A shared parameter pool is constructed, from which weights are mapped to individual layers based on learned groupings.
- The framework supports parameter sharing across layers with different sizes, operations, and input modalities (e.g., vision and language features).
- A differentiable mechanism is used to learn the mapping of shared weights to layer-specific parameters, enabling end-to-end training.
- The method avoids degenerate solutions through regularization and architectural constraints that preserve representational capacity.
- SSNs are integrated into knowledge distillation pipelines, combining parameter sharing with knowledge transfer for improved student models.
Experimental results
Research questions
- RQ1Can parameter sharing be effectively learned across heterogeneous layers with varying sizes and operations?
- RQ2How can parameter sharing be applied across different modalities (e.g., vision and language) without sacrificing performance?
- RQ3Can dynamic parameter sharing reduce model size by up to 99% while maintaining or improving accuracy?
- RQ4Does the proposed method prevent degenerate solutions that lead to underfitting in overparameterized settings?
- RQ5Can SSNs enhance knowledge distillation to achieve state-of-the-art results in compressed model training?
Key findings
- SSNs achieve state-of-the-art performance on image classification, bidirectional image-sentence retrieval, and phrase grounding using only 1% of the parameters from standard models.
- The framework enables effective parameter sharing across layers of different sizes, operations, and modalities, including vision and language features.
- SSNs reduce model size by up to 99% while maintaining competitive or superior accuracy compared to standard models.
- When combined with knowledge distillation, SSNs achieve state-of-the-art results, demonstrating improved efficiency and performance.
- The method successfully avoids degenerate solutions through learned parameter groupings that preserve model capacity and generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.