ScaleNet: Scaling up Pretrained Neural Networks With Incremental Parameters

Zhiwei Hao, Jianyuan Guo, Li Shen, Kai Han, Yehui Tang, Han Hu, Yunhe Wang

TL;DR

ScaleNet is a novel, parameter-efficient framework designed to scale up pretrained Vision Transformers (ViTs) by increasing network depth through layer-wise weight sharing. By pairing shared layers with unique, lightweight parallel adapters, ScaleNet achieves substantial performance gains with negligible parameter increases, cutting down training time to a fraction of conventional methods.

What Problem Does This Paper Address?

In deep learning, the "scaling law" generally holds true: bigger models yield better performance. However, scaling up Vision Transformers (ViTs) from scratch or even using progressive training methods comes with a massive computational, financial, and environmental tax.

Traditional progressive training approaches expand a model's depth by duplicating and stacking pretrained layers. While this speeds up convergence compared to training from scratch, it still results in a proportional explosion of unique parameters. This leads to massive storage requirements and heavy memory overhead, making deployment on resource-constrained or edge devices highly impractical. ScaleNet addresses this challenge by asking: Can we make a model structurally deeper without substantially increasing its parameter count?

Methods

ScaleNet introduces a two-pronged approach to depth-wise model expansion:

  1. Weight-Sharing-Based Progressive Training (WSPT): Instead of initializing new layers as independent parameter blocks, ScaleNet inserts new layers that directly share their weight tensors with the original pretrained layers (using strategies like cyclic mapping or interpolation). This keeps the unique parameter count nearly flat even as network depth doubles.
  2. Layer-Specific Adjustment Modules (Parallel Adapters): Naive weight sharing often triggers model collapse or severely limits learning capacity because identical layers perform identical transformations. To break this symmetry, ScaleNet introduces a tiny set of unique adjustment parameters for each layer via parallel adapter modules. Placed alongside the linear layers in the Multi-Layer Perceptron (MLP) blocks, these adapters consist of a down-projection layer, a non-linear activation, and an up-projection layer.
Comparison between progressive training and ScaleNet

During the scaling-up process for larger models, the original pretrained weights remain frozen; only the lightweight adapters and layer normalization parameters are optimized, drastically shrinking the optimization landscape.

Overview of the ScaleNet framework

Datasets

The authors evaluated ScaleNet across multiple domains using standard benchmarks:

  • Image Classification: ImageNet-1K
  • Object Detection: COCO 2017 (using Mask R-CNN backbones)
  • Semantic Segmentation: ADE20K (using UPerNet backbones)
  • Language Modeling (Generalizability): Stanford Alpaca for training, evaluated on commonsense reasoning benchmarks (BoolQ, PIQA, HellaSwag, WinoGrande, ARC, OpenbookQA).

Key Insights and Ideas

  • Shrinking the Optimization Landscape: Over-parameterized models often contain redundant capacity. Reusing identical weights across layers acts as a regularizer and simplifies the optimization landscape, leading to faster training convergence.
  • Adapters as Symmetry Breakers: The "aha moment" of ScaleNet is that shared weights don't have to mean shared behavior. The lightweight parallel adapters act as localized differentiators, allowing structurally identical weight tensors to specialize and learn distinct functions depending on their depth in the network.
  • Gradient Stabilization: Pure weight sharing typically introduces severe gradient instability across deep networks. The authors demonstrate that adding layer-specific adapters effectively dampens these fluctuations, ensuring a stable and consistent gradient flow during training.
Gradient norm comparison across model depth

Key Results

ScaleNet demonstrates exceptional parameter and training efficiency across all tested architectures:

  • Superior Accuracy with Fewer Parameters: On ImageNet-1K, a 2$\times$ depth-scaled DeiT-Base model using ScaleNet achieved 82.53% Top-1 accuracy, outperforming standard progressive baselines (like Stack and Interpolate) while maintaining a lower unique parameter footprint (89.55M vs. 93.66M).
  • Massive Training Speedups: Compared to training a 24-layer DeiT-Base model from scratch for 300 epochs (which achieved 75.11% accuracy in 89.5 hours), ScaleNet achieved 82.53% accuracy in just 19.8 hours (100 epochs)—a 7.42% absolute accuracy improvement at roughly one-third of the training epochs.
  • Downstream & Cross-Modal Success: When extending Swin Transformer backbones to COCO object detection and ADE20K semantic segmentation, ScaleNet consistently improved AP and mIoU metrics with negligible parameter overhead. It also successfully scaled a Llama-3.2-1B language model, yielding an average 0.92% performance boost across zero-shot commonsense reasoning tasks.
Performance comparison on ImageNet

Limitations and Future Work

While ScaleNet is incredibly parameter-efficient during storage and training, it does not reduce inference-time computational complexity (FLOPs). Because the model is structurally deeper, a forward pass still requires computing every layer sequentially, meaning inference latency scales with the added depth.

For future work, the authors suggest exploring dynamic weight-sharing mechanisms, extending the framework to hybrid architectures that combine ViTs with convolutional networks, and incorporating knowledge distillation to push performance boundaries even further under strict parameter budgets.

Summary updated

BibTeX
@article{hao2025scalenet,
  author = {Zhiwei Hao and Jianyuan Guo and Li Shen and Kai Han and Yehui Tang and Han Hu and Yunhe Wang},
  title = {{ScaleNet: Scaling up Pretrained Neural Networks With Incremental Parameters}},
  journal = {IEEE Transactions on Image Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=kkymqx000L},
}
Figure