Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategy
Not on the map. Why?
Abstract (arXiv)
Pre-training followed by fine-tuning is widely adopted among practitioners. The performance can be improved by "model soups"~citewortsman2022model via exploring various hyperparameter configurations.The Learned-Soup, a variant of model soups, significantly improves the performance but suffers from substantial memory and time costs due to the requirements of (i) having to load all fine-tuned models simultaneously, and (ii) a large computational graph encompassing all fine-tuned models. In this paper, we propose Memory Efficient Hyperplane Learned Soup (MEHL-Soup) to tackle this issue by formulating the learned soup as a hyperplane optimization problem and introducing block coordinate gradient descent to learn the mixing coefficients. At each iteration, MEHL-Soup only needs to load a few fine-tuned models and build a computational graph with one combined model. We further extend MEHL-Soup to MEHL-Soup+ in a layer-wise manner. Experimental results on various ViT models and data sets show that MEHL-Soup(+) outperforms Learned-Soup(+) in terms of test accuracy, and also reduces memory usage by more than 13×. Moreover, MEHL-Soup(+) can be run on a single GPU and achieves 9× speed up in soup construction compared with the Learned-Soup. The code is released at https://github.com/nblt/MEHL-Soup.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 41 of its 54 references that are in the map. First posted on arXiv 4 Jul 2024.
Builds on
41 of 54 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2014How transferable are features in deep neural networks?cited by 1,216
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
29 more
- 2018Do Better ImageNet Models Transfer Better?cited by 560
- 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 364
- 2015Coordinate Descent Algorithmscited by 218
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2022Patching open-vocabulary models by interpolating weightscited by 187
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
- 2016Stochastic Variance Reduction for Nonconvex Optimizationcited by 143
- 2023AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Modelscited by 84
- 2021Learning Neural Network Subspacescited by 82
- 2020On the Generalization Benefit of Noise in Stochastic Gradient Descentcited by 81
- 2022Stop Wasting My Time! Saving Days of ImageNet and BERT Training with Latest Weight Averagingcited by 54
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2021Subspace Adversarial Trainingcited by 41
- 2023Early Weight Averaging meets High Learning Rates for LLM Pre-trainingcited by 36
- 2022Stability and Generalization of Stochastic Optimization with Nonconvex and Nonsmooth Problemscited by 25
- 2023Tangent Model Composition for Ensembling and Continual Fine-tuningcited by 25
- 2013Distributed Coordinate Descent Method for Learning with Big Datacited by 23
- 2021Fractal Structure and Generalization Properties of Stochastic Optimization Algorithmscited by 23
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
- 2023Sparse Model Soups: A Recipe for Improved Pruning via Model Averagingcited by 20
- 2020Improving Neural Network Training in Low Dimensional Random Basescited by 19
- 2022Revisiting adapters with adversarial trainingcited by 18
- 2023FedSoup: Improving Generalization and Personalization in Federated Learning via Selective Model Interpolationcited by 14
- 2023Robust Weight Signatures: Gaining Robustness as Easy as Patching Weights?cited by 13
- 2024Revisiting Random Weight Perturbation for Efficiently Improving Generalizationcited by 13
- 2022Lottery Pools: Winning More by Interpolating Tickets without Increasing Training or Inference Costcited by 11
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 1.
3 papers.