mlsanityData to 14 Oct 2026

Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Models

arXiv 2404.16897 ↗First posted 25 Apr 2024cs.LG cs.AI cs.CVcited by 9

Not on the map. Why?

Abstract (arXiv)

In practice, we usually need to build variable-sized models adapting for diverse resource constraints in different application scenarios, where weight initialization is an important step prior to training. The Learngene framework, introduced recently, firstly learns one compact part termed as learngene from a large well-trained model, after which learngene is expanded to initialize variable-sized models. In this paper, we start from analysing the importance of guidance for the expansion of well-trained learngene layers, inspiring the design of a simple but highly effective Learngene approach termed SWS (Stage-wise Weight Sharing), where both learngene layers and their learning process critically contribute to providing knowledge and guidance for initializing models at varying scales. Specifically, to learn learngene layers, we build an auxiliary model comprising multiple stages where the layer weights in each stage are shared, after which we train it through distillation. Subsequently, we expand these learngene layers containing stage information at their corresponding stage to initialize models of variable depths. Extensive experiments on ImageNet-1K demonstrate that SWS achieves consistent better performance compared to many models trained from scratch, while reducing around 6.6x total training costs. In some cases, SWS performs better only after 1 epoch tuning. When initializing variable-sized models adapting for different resource constraints, SWS achieves better results while reducing around 20x parameters stored to initialize these models and around 10x pre-training costs, in contrast to the pre-training and fine-tuning approach.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 31 of its 45 references that are in the map. First posted on arXiv 25 Apr 2024.

Builds on

31 of 45 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  8. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  9. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  10. 2016Layer Normalizationcited by 5,669
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  12. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
19 more
  1. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  2. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  3. 2019Deep Equilibrium Modelscited by 615
  4. 2022Image as a Foreign Language: BEiT Pretraining for All Vision and Vision-Language Taskscited by 511
  5. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  6. 2019Revealing the Dark Secrets of BERTcited by 301
  7. 2015All you need is a good initcited by 124
  8. 2022MiniViT: Compressing Vision Transformers with Weight Multiplexingcited by 88
  9. 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
  10. 2023Initializing Models with Larger Onescited by 39
  11. 2018Recurrent Stacking of Layers for Compact Neural Machine Translation Modelscited by 38
  12. 2019How to Initialize your Network? Robust Initialization for WeightNorm & ResNetscited by 36
  13. 2023Weight subcloning: direct initialization of transformers using larger pretrained onescited by 30
  14. 2021Learngene: From Open-World to Your Learning Taskcited by 27
  15. 2023TinyMIM: An Empirical Study of Distilling MIM Pre-trained Modelscited by 24
  16. 2023Learngene: Inheriting Condensed Knowledge from the Ancestry Model to Descendant Modelscited by 24
  17. 2023Transformer as Linear Expansion of Learngenecited by 13
  18. 2024Transferring Core Knowledge via Learngenescited by 10
  19. 2023Building Variable-sized Models via Learngene Poolcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 5.

9 papers.