paper-with-me

Papers

Sparse Model Soups: A Recipe for Improved Pruning via Model Averaging

2023-06-29 · Max Zimmer, Christoph Spiegel, Sebastian Pokutta

Neural networks can be significantly compressed by pruning, yielding sparse models with reduced storage and computational demands while preserving predictive performance. Model soups (Wortsman et al., 2022) enhance generalization and out-of-distribution (OOD) performance by averaging the parameters of multiple models into a single one, without increasing inference time. However, achieving both sparsity and parameter averaging is challenging as averaging arbitrary sparse models reduces the overall sparsity due to differing sparse connectivities. This work addresses these challenges by demonstrating that exploring a single retraining phase of Iterative Magnitude Pruning (IMP) with varied hyperparameter configurations such as batch ordering or weight decay yields models suitable for averaging, sharing identical sparse connectivity by design. Averaging these models significantly enhances generalization and OOD performance over their individual counterparts. Building on this, we introduce Sparse Model Soups (SMS), a novel method for merging sparse models by initiating each prune-retrain cycle with the averaged model from the previous phase. SMS preserves sparsity, exploits sparse network benefits, is modular and fully parallelizable, and substantially improves IMP's performance. We further demonstrate that SMS can be adapted to enhance state-of-the-art pruning-during-training approaches.

📄 PDF Abstract BibTeX arXiv:2306.16788

Code (1)

zib-iol/sms 공식 구현 pytorch

Tasks

model

Methods 이 논문이 사용한 방법론

Soups Compress an ensemble of models into a single one by averaging their weights (under certain pre-conditions).
Weight Decay 설명 없음
Pruning 설명 없음

Similar Papers 제목 키워드 기반

Model soups to increase inference without increasing compute time

2023-01-24 · Charles Dansereau, Milo Sobral, Maninder Bhogal, Mehdi Zalai

In this paper, we compare Model Soups performances on three different models (ResNet, ViT and EfficientNet) using three Soup Recipes (Greedy Soup Sorted, Greedy Soup Random and Uniform soup) from arXiv:2203.05482, and re…

Adversarial Example Soups: Improving Transferability and Stealthiness for Free

2024-02-27 · Bo Yang, Hengwei Zhang, Jindong Wang, Yulong Yang 외

Transferable adversarial examples cause practical security risks since they can mislead a target model without knowing its internal knowledge. A conventional recipe for maximizing transferability is to keep only the opti…

Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time

2022-03-10 · Mitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 외

The conventional recipe for maximizing model accuracy is to (1) train multiple models with various hyperparameters and (2) pick the individual model which performs best on a held-out validation set, discarding the remain…

Domain Generalizationimage-classificationImage Classification+2

RADIN: Souping on a Budget

2024-01-31 · Thibaut Menes, Olivier Risser-Maroix

Model Soups, extending Stochastic Weights Averaging (SWA), combine models fine-tuned with different hyperparameters. Yet, their adoption is hindered by computational challenges due to subset selection issues. In this pap…

Ensemble LearningModel Compression

Self-Soupervision: Cooking Model Soups without Labels

2026-02-02 · Anthony Fuller, James R. Green, Evan Shelhamer arxiv

Model soups are strange and strangely effective combinations of parameters. They take a model (the stock), fine-tune it into multiple models (the ingredients), and then mix their parameters back into one model (the soup)…

Self-Supervised Learning