Transformer as Linear Expansion of Learngene
Not on the map. Why?
Abstract (arXiv)
We propose expanding the shared Transformer module to produce and initialize Transformers of varying depths, enabling adaptation to diverse resource constraints. Drawing an analogy to genetic expansibility, we term such module as learngene. To identify the expansion mechanism, we delve into the relationship between the layer's position and its corresponding weight value, and find that linear function appropriately approximates this relationship. Building on this insight, we present Transformer as Linear Expansion of learnGene (TLEG), a novel approach for flexibly producing and initializing Transformers of diverse depths. Specifically, to learn learngene, we firstly construct an auxiliary Transformer linearly expanded from learngene, after which we train it through employing soft distillation. Subsequently, we can produce and initialize Transformers of varying depths via linearly expanding the well-trained learngene, thereby supporting diverse downstream scenarios. Extensive experiments on ImageNet-1K demonstrate that TLEG achieves comparable or better performance in contrast to many individual models trained from scratch, while reducing around 2x training cost. When transferring to several downstream classification datasets, TLEG surpasses existing initialization methods by a large margin (e.g., +6.87% on iNat 2019 and +7.66% on CIFAR-100). Under the situation where we need to produce models of varying depths adapting for different resource constraints, TLEG achieves comparable results while reducing around 19x parameters stored to initialize these models and around 5x pre-training costs, in contrast to the pre-training and fine-tuning approach. When transferring a fixed set of parameters to initialize different models, TLEG presents better flexibility and competitive performance while reducing around 2.9x parameters stored to initialize, compared to the pre-training approach.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 31 of its 45 references that are in the map. First posted on arXiv 9 Dec 2023.
Builds on
31 of 45 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Layer Normalizationcited by 5,579
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
19 more
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2019Deep Equilibrium Modelscited by 603
- 2022Image as a Foreign Language: BEiT Pretraining for All Vision and Vision-Language Taskscited by 510
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2019BBN: Bilateral-Branch Network with Cumulative Learning for Long-Tailed Visual Recognitioncited by 403
- 2018Meta-Transfer Learning for Few-Shot Learningcited by 306
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 232
- 2021Few-Shot Incremental Learning with Continually Evolved Classifierscited by 184
- 2015All you need is a good initcited by 124
- 2019PolyTransform: Deep Polygon Transformer for Instance Segmentationcited by 92
- 2022MiniViT: Compressing Vision Transformers with Weight Multiplexingcited by 88
- 2021Learngene: From Open-World to Your Learning Taskcited by 27
- 2023Learngene: Inheriting Condensed Knowledge from the Ancestry Model to Descendant Modelscited by 24
- 2022Breaking the Architecture Barrier: A Method for Efficient Knowledge Transfer Across Networkscited by 4
Built on by
Citing papers per year: 2024: 4; 2025: 3; 2026: 6.
13 papers.
Sort:
By area:
- 2024WAVE: Weight Templates for Adaptive Initialization of Variable-sized Modelscited by 16
- 2024KIND: Knowledge Integration and Diversion for Training Decomposable Modelscited by 10
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Modelscited by 9
- 2026Model Merging in the Essential Subspacecited by 6
- 2024FINE: Factorizing Knowledge for Initialization of Variable-sized Diffusion Modelscited by 5
- 2025Stratified Knowledge-Density Super-Network for Scalable Vision Transformerscited by 3
- 2026Understanding Performance Collapse in Layer-Pruned Large Language Models via Decision Representation Transitionscited by 2
- 2025Knowledge Diversion for Efficient Morphology Control and Policy Transfercited by 1
- 2025Harmonizing Generalization and Personalization in Ring-topology Decentralized Federated Learningcited by 0
- 2026Self-Supervised Weight Templates for Scalable Vision Model Initializationcited by 0
- 2026Breaking the Scale Barrier: One-Shot Knowledge Transfer via Frequency Transformcited by 0
- 2026Constraint-based Pre-training: From Structured Constraints to Scalable Model Initializationcited by 0
- 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models8 May 2026
- 2026Understanding Performance Collapse in Layer-Pruned Large Language Models via Decision Representation Transitions8 May 2026
- 2026Constraint-based Pre-training: From Structured Constraints to Scalable Model Initialization16 Apr 2026
- 2026Breaking the Scale Barrier: One-Shot Knowledge Transfer via Frequency Transform8 Mar 2026
- 2026Model Merging in the Essential Subspace23 Feb 2026
- 2026Self-Supervised Weight Templates for Scalable Vision Model Initialization27 Jan 2026
- 2025Knowledge Diversion for Efficient Morphology Control and Policy Transfer10 Dec 2025
- 2025Stratified Knowledge-Density Super-Network for Scalable Vision Transformers12 Nov 2025
- 2025Harmonizing Generalization and Personalization in Ring-topology Decentralized Federated Learning27 Apr 2025
- 2024FINE: Factorizing Knowledge for Initialization of Variable-sized Diffusion Models28 Sep 2024
- 2024KIND: Knowledge Integration and Diversion for Training Decomposable Models14 Aug 2024
- 2024WAVE: Weight Templates for Adaptive Initialization of Variable-sized Models25 Jun 2024
- 2024WAVE: Weight Templates for Adaptive Initialization of Variable-sized Modelscited by 16
- 2024KIND: Knowledge Integration and Diversion for Training Decomposable Modelscited by 10
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Modelscited by 9
- 2026Model Merging in the Essential Subspacecited by 6
- 2025Stratified Knowledge-Density Super-Network for Scalable Vision Transformerscited by 3
- 2026Understanding Performance Collapse in Layer-Pruned Large Language Models via Decision Representation Transitionscited by 2
- 2025Knowledge Diversion for Efficient Morphology Control and Policy Transfercited by 1
- 2025Harmonizing Generalization and Personalization in Ring-topology Decentralized Federated Learningcited by 0
- 2026Self-Supervised Weight Templates for Scalable Vision Model Initializationcited by 0
- 2026Breaking the Scale Barrier: One-Shot Knowledge Transfer via Frequency Transformcited by 0
- 2026Constraint-based Pre-training: From Structured Constraints to Scalable Model Initializationcited by 0
- 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Modelscited by 0
- 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models8 May 2026
- 2026Understanding Performance Collapse in Layer-Pruned Large Language Models via Decision Representation Transitions8 May 2026
- 2026Constraint-based Pre-training: From Structured Constraints to Scalable Model Initialization16 Apr 2026
- 2026Breaking the Scale Barrier: One-Shot Knowledge Transfer via Frequency Transform8 Mar 2026
- 2026Model Merging in the Essential Subspace23 Feb 2026
- 2026Self-Supervised Weight Templates for Scalable Vision Model Initialization27 Jan 2026
- 2025Knowledge Diversion for Efficient Morphology Control and Policy Transfer10 Dec 2025
- 2025Stratified Knowledge-Density Super-Network for Scalable Vision Transformers12 Nov 2025
- 2025Harmonizing Generalization and Personalization in Ring-topology Decentralized Federated Learning27 Apr 2025
- 2024KIND: Knowledge Integration and Diversion for Training Decomposable Models14 Aug 2024
- 2024WAVE: Weight Templates for Adaptive Initialization of Variable-sized Models25 Jun 2024
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Models25 Apr 2024