Skip to main content
QUICK REVIEW

[論文レビュー] Git Re-Basin: Merging Models modulo Permutation Symmetries

Samuel Ainsworth, Jonathan Hayase|arXiv (Cornell University)|Sep 11, 2022
Advanced Neural Network ApplicationsComputer Science被引用数 32
ひとこと要約

本論文は、隠れユニットを再配列することで independently trained neural networks を整列・統合する3つの permutation-based 手法を導入し、さまざまなアーキテクチャとデータセットに跨る重み空間における permutation symmetries をモジュロとする linear mode connectivity (LMC) を達成する。

ABSTRACT

The success of deep learning is due in large part to our ability to solve certain massive non-convex optimization problems with relative ease. Though non-convex optimization is NP-hard, simple algorithms -- often variants of stochastic gradient descent -- exhibit surprising effectiveness in fitting large neural networks in practice. We argue that neural network loss landscapes often contain (nearly) a single basin after accounting for all possible permutation symmetries of hidden units a la Entezari et al. 2021. We introduce three algorithms to permute the units of one model to bring them into alignment with a reference model in order to merge the two models in weight space. This transformation produces a functionally equivalent set of weights that lie in an approximately convex basin near the reference model. Experimentally, we demonstrate the single basin phenomenon across a variety of model architectures and datasets, including the first (to our knowledge) demonstration of zero-barrier linear mode connectivity between independently trained ResNet models on CIFAR-10. Additionally, we identify intriguing phenomena relating model width and training time to mode connectivity. Finally, we discuss shortcomings of the linear mode connectivity hypothesis, including a counterexample to the single basin theory.

研究の動機と目的

  • SGD が高次元の非凸ニューラルネットワーク損失地形をなぜ解くのか、また独立した学習ランが permutation 対称性をモジュロして単一の盆地に属するのかを調べる。
  • ユニットを置換して2つの独立に学習されたモデルを調整し、それらの重みを重み空間で統合できるようにするアルゴリズムを開発する。
  • 複数のアーキテクチャとデータセットに対して単一盆地現象とゼロ障壁の LMC を経験的に検証する。

提案手法

  • モデル間でユニットを揃える3つの permutation ベースのマッチング手法を提案する:層のアクティベーションに基づくアクティベーション・マッチングを線形割当問題として解く方法;SOBLAP(sum of bilinear assignments problem)を用いた重みに基づくマッチング;および permutation alignment を最適化するための straight-through estimator(STE)を用いた学習。
  • SOBLAP を層ごとの協調的な座標降下法を用いて多項式時間近似的手法を提供し、各ステップで線形割当問題へ還元する。
  • アクティベーション・マッチングはデータを取り込んだ整列を生み、重みマッチングはデータを無視して高速であり、 STE ベースの学習はデータを使わず端的に最適化より高い計算コストで permutation 整列をエンドツーエンドで実現できる。
  • SOBLAP のNP難易度と提案アルゴリズムの収束性を含む理論的側面を論じる。

実験結果

リサーチクエスチョン

  • RQ1隠れユニットの置換が、独立に学習されたモデル間の線形補間で性能を保つように整列できるか。
  • RQ2 permutation 対応の整列は、ニューラルネットワークの損失地形における単一の凸盆地( permutation をモジュロして)を示すか。
  • RQ3モデルアーキテクチャ、幅、学習時間は線形モード連結性の存在と質にどのように影響するか。
  • RQ4整列された重み空間補間によって形成された統合モデルは、結合データ上で入力モデルを上回ることができるか。
  • RQ5分離データセット上で訓練されたモデルを、完全なデータの再学習なしにプライバシー制約下で統合する実用的方法はあるか。

主な発見

  • アクティベーションと重みに基づくマッチングは、 independently trained models 間の補間障壁を大幅に低減できる。
  • CIFAR-10 での ResNets に対してゼロ障壁の linear mode connectivity が実証される。
  • より広いモデルは線形モード連結性が改善され、幅が増えると損失障壁が低下する。
  • 分離データセット上で訓練されたモデルを重みに基づいて統合することで、結合データ上でのデータを使ったアンサンブルよりも少ないメモリと計算量で、入力モデルを上回る補間モデルを得られる。
  • STE ベースの permutation 学習は競合的な結果を達成できるが、データフリー法より計算コストが高い。
  • universal LMC はすべての SGD 解に対して成り立つわけではないという反例が示され、LMC はすべての解の普遍的特性というよりは LMC への最適化バイアスを強く示している。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。