Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight Aggregation
Fabian Morelli, Stephan Eckstein
摘要
Ensembles of neural networks typically outperform individual networks but incur large computational costs, whereas weight aggregation produces less costly, yet also less accurate, aggregate models. We introduce partial fusion of networks, which interpolates between ensembles and weight aggregation and thus allows for a flexible tradeoff between computational cost and performance. A direct way to achieve this is to extend existing weight aggregation methods based on neuronlevel similarity between different networks, where partial fusion then only aggregates weights of neurons which are most similar. We showcase one particular method to jointly identify which neurons are most similar and match them via partial optimal transport. Further, we consider the more general perspective of weight aggregation and partial fusion as generalized pruning of ensemble models, where neurons cannot just be deleted, but also linearly combined. Finally, we show that generalized pruning applied to a single network yields similar benefits as partial fusion by allowing for a tradeoff between isolating, deleting, and linearly combining neurons based on similarity. Our code is available at https://github.com/ Fabian-Mor/partial_fusion_nn .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- TIES-Merging: Resolving Interference When Merging Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- TIES-Merging: Resolving Interference When Merging Models 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- TIES-Merging: Resolving Interference When Merging Models 引用了 Merging Models with Fisher-Weighted Averaging
- TIES-Merging: Resolving Interference When Merging Models 引用了 Robust fine-tuning of zero-shot models
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Merging Models with Fisher-Weighted Averaging
- Merging Models with Fisher-Weighted Averaging 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Robust fine-tuning of zero-shot models
- Merging Models with Fisher-Weighted Averaging 引用了 Robust fine-tuning of zero-shot models
- Robust fine-tuning of zero-shot models 引用了 Merging Models with Fisher-Weighted Averaging
- Robust fine-tuning of zero-shot models 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
它引用的 Paper17
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
- TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 次引用
- Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 次引用
- Robust fine-tuning of zero-shot modelsMitchell Wortsman, Gabriel Ilharco, Jong Wook Kim, Mike Li 等CVPR 2022 · 364 次引用
相关 Paper
- Model Fusion via Optimal TransportSidak Pal Singh, Martin JaggiNeurIPS 2020 · 330 次引用
- Neuron Merging: Compensating for Pruned NeuronsWoojeong Kim, Suhyun Kim, Mincheol Park, Geunseok JeonNeurIPS 2020 · 42 次引用
- Towards Meta-Pruning via Optimal TransportAlexander Theus, Olin Geimer, Friedrich Wicke, Thomas Hofmann 等ICLR 2024 · 8 次引用
- Partial Soft-Matching Distance For Neural Representational Comparison With Partial Unit CorrespondenceChaitanya Kapoor, Alex H Williams, Meenakshi KhoslaICLR 2026 · 2 次引用
- Transformer Fusion with Optimal TransportMoritz Imfeld, Jacopo Graldi, Marco Giordano, Thomas Hofmann 等ICLR 2024 · 35 次引用
