Foldable SuperNets: Scalable Merging of Transformers with Different Initializations and Tasks
Not on the map. Why?
Abstract (arXiv)
Recent methods aim to merge neural networks (NNs) with identical architectures trained on different tasks into a single multi-task model. While most works focus on the simpler setup of merging NNs initialized from a common pre-trained network, we target the harder problem of merging large transformers trained on different tasks from distinct initializations. We show that traditional merging methods fail catastrophically in this setup, while Knowledge Distillation (KD) achieves much better results, though at a higher cost. However, KD is data-inefficient, as it does not exploit the original models' weights. To solve this, we introduce "Foldable SuperNet Merge" (FS-Merge), which trains a SuperNet containing the original models (with frozen weights) using a feature reconstruction objective. After training, the SuperNet is folded back to the size of a single original model. FS-Merge is simple, data-efficient, has a computational cost comparable to KD, and is proven to have superior expressiveness compared to traditional merging methods on MLP models. It achieves SOTA results when tested on MLPs and transformers across various sizes, tasks, modalities, and distribution shifts, especially in low-data scenarios.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 71 of its 88 references that are in the map. First posted on arXiv 2 Oct 2024.
Builds on
71 of 88 references.
References · 71
- 2017Attention Is All You Needcited by 59,932
- 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
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2016Layer Normalizationcited by 5,579
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
38 more
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2013Describing Textures in the Wildcited by 2,110
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,059
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
- 2020Federated Learning with Matched Averagingcited by 564
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2013Do Deep Nets Really Need to be Deep?cited by 466
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
- 2018Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) Networkcited by 415
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 359
- 2019A Comprehensive Overhaul of Feature Distillationcited by 341
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
- 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 285
- 2021Ensemble deep learning: A reviewcited by 283
- 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 248
- 2018Knowledge Transfer via Distillation of Activation Boundaries Formed by Hidden Neuronscited by 235
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2019Model Fusion via Optimal Transportcited by 217
- 2024Evolutionary Optimization of Model Merging Recipescited by 204
- 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
- 2021Does Knowledge Distillation Really Work?cited by 187
- 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 178
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2020Linear Mode Connectivity in Multitask and Continual Learningcited by 144
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 119
- 2015Path-SGD: Path-Normalized Optimization in Deep Neural Networkscited by 117
50 most cited of 71 All 71 (JSON)
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025NAN: A Training-Free Solution to Coefficient Estimation in Model Mergingcited by 4
- 2025Cross-Model Transfer of Task Vectors via Few-Shot Orthogonal Alignmentcited by 1
- 2025Merging without Forgetting: Continual Fusion of Task-Specific Models via Optimal Transportcited by 0
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Lawscited by 0
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws29 Jan 2026
- 2025Merging without Forgetting: Continual Fusion of Task-Specific Models via Optimal Transport24 Nov 2025
- 2025NAN: A Training-Free Solution to Coefficient Estimation in Model Merging22 May 2025
- 2025Cross-Model Transfer of Task Vectors via Few-Shot Orthogonal Alignment17 May 2025