Re-basin via implicit Sinkhorn differentiation
Fidel A. Guerrero-Peña, Heitor Rapela Medeiros, Thomas Dubail, Masih Aminbeidokhti, Eric Granger, Marco Pedersoli
Abstract
The recent emergence of new algorithms for permuting models into functionally equivalent regions of the solution space has shed some light on the complexity of error surfaces and some promising properties like mode connectivity. However, finding the permutation that minimizes some objectives is challenging, and current optimization techniques are not differentiable, which makes it difficult to integrate into a gradient-based optimization, and often leads to suboptimal solutions. In this paper, we propose a Sinkhorn rebasin network with the ability to obtain the transportation plan that better suits a given objective. Unlike the current state-of-art, our method is differentiable and, therefore, easy to adapt to any task within the deep learning domain. Furthermore, we show the advantage of our re-basin method by proposing a new cost function that allows performing incremental learning by exploiting the linear mode connectivity property. The benefit of our method is compared against similar approaches from the literature under several conditions for both optimal transport and linear mode connectivity. The effectiveness of our continual learning method based on re-basin is also shown for several common benchmark datasets, providing experimental results that are competitive with the state-of-art. The source code is provided at https://github.com/fagp/sinkhorn-rebasin .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
35 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy cites ZipIt! Merging Models from Different Tasks without Training
- Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Representation Surgery for Multi-Task Model Merging cites ZipIt! Merging Models from Different Tasks without Training
- Federated Learning with Matched Averaging cites Model Fusion via Optimal Transport
- Model Fusion via Optimal Transport cites Federated Learning with Matched Averaging
- ZipIt! Merging Models from Different Tasks without Training cites The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
- ZipIt! Merging Models from Different Tasks without Training cites Federated Learning with Matched Averaging
- ZipIt! Merging Models from Different Tasks without Training cites Model Fusion via Optimal Transport
- ZipIt! Merging Models from Different Tasks without Training cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Equivariant Deep Weight Space Alignment cites The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
- Equivariant Deep Weight Space Alignment cites Federated Learning with Matched Averaging
- Equivariant Deep Weight Space Alignment cites ZipIt! Merging Models from Different Tasks without Training
- Equivariant Deep Weight Space Alignment cites Equivariant Architectures for Learning in Deep Weight Spaces
- Equivariant Architectures for Learning in Deep Weight Spaces cites The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
- Equivariant Architectures for Learning in Deep Weight Spaces cites Federated Learning with Matched Averaging
- Equivariant Architectures for Learning in Deep Weight Spaces cites Model Fusion via Optimal Transport
Cited by top-tier papers35
- ZipIt! Merging Models from Different Tasks without TrainingGeorge Stoica, Daniel Bolya, Jakob Bjorner, Pratik Ramesh et al.ICLR 2024 · 185 citations
- Equivariant Architectures for Learning in Deep Weight SpacesAviv Navon, Aviv Shamsian, Idan Achituve, Ethan Fetaya et al.ICML 2023 · 101 citations
- Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing PolicyPingzhi Li, Zhenyu Zhang, Prateek Yadav, Yi-Lin Sung et al.ICLR 2024 · 97 citations
- Representation Surgery for Multi-Task Model MergingEnneng Yang, Li Shen, Zhenyi Wang, Guibing Guo et al.ICML 2024 · 96 citations
- Equivariant Deep Weight Space AlignmentAviv Navon, Aviv Shamsian, Ethan Fetaya, Gal Chechik et al.ICML 2024 · 31 citations
Builds on9
- Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos et al.ICLR 2020 · 1,368 citations
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 citations
- Continual learning with hypernetworksJohannes von Oswald, Christian Henning, João Sacramento, Benjamin F. GreweICLR 2020 · 412 citations
- Model Fusion via Optimal TransportSidak Pal Singh, Martin JaggiNeurIPS 2020 · 330 citations
- The Role of Permutation Invariance in Linear Mode Connectivity of Neural NetworksRahim Entezari, Hanie Sedghi, Olga Saukh, Behnam NeyshaburICLR 2022 · 301 citations
Related papers
- Score-based Generative Neural Networks for Large-Scale Optimal TransportGrady Daniels, Tyler Maunu, Paul HandNeurIPS 2021 · 101 citations
- Towards Better Plasticity-Stability Trade-off in Incremental Learning: A Simple Linear ConnectorGuoliang Lin, Hanlu Chu, Hanjiang LaiCVPR 2022 · 51 citations
- Optimizing Mode Connectivity for Class Incremental LearningHaitao Wen, Haoyang Cheng, Heqian Qiu, Lanxiao Wang et al.ICML 2023 · 11 citations
- Online Sinkhorn: Optimal Transport distances from sample streamsArthur Mensch, Gabriel PeyréNeurIPS 2020 · 35 citations
- A Unified Framework for Implicit Sinkhorn DifferentiationMarvin Eisenberger, Aysim Toker, Laura Leal-Taixé, Florian Bernard et al.CVPR 2022 · 9 citations
