[論文レビュー] M-Loss: Quantifying Model Merging Compatibility with Limited Unlabeled Data
要約: M-Loss を導入し、非常に限られたラベルなしデータを用いたパラメータ平均化による複数ソースモデルの統合の適合性を定量化し、それを指針として動的剪定ベースの統合法(M-TIES)を適用してモデル統合とアンサンブルの間を橋渡しする。
Training of large-scale models is both computationally intensive and often constrained by the availability of labeled data. Model merging offers a compelling alternative by directly integrating the weights of multiple source models without requiring additional data or extensive training. However, conventional model merging techniques, such as parameter averaging, often suffer from the unintended combination of non-generalizable features, especially when source models exhibit significant weight disparities. Comparatively, model ensembling generally provides more stable and superior performance that aggregates multiple models by averaging outputs. However, it incurs higher inference costs and increased storage requirements. While previous studies experimentally showed the similarities between model merging and ensembling, theoretical evidence and evaluation metrics remain lacking. To address this gap, we introduce Merging-ensembling loss (M-Loss), a novel evaluation metric that quantifies the compatibility of merging source models using very limited unlabeled data. By measuring the discrepancy between parameter averaging and model ensembling at layer and node levels, M-Loss facilitates more effective merging strategies. Specifically, M-Loss serves both as a quantitative criterion of the theoretical feasibility of model merging, and a guide for parameter significance in model pruning. Our theoretical analysis and empirical evaluations demonstrate that incorporating M-Loss into the merging process significantly improves the alignment between merged models and model ensembling, providing a scalable and efficient framework for accurate model consolidation.
研究の動機と目的
- ラベル付きデータが乏しい状況でのモデル統合に対し、理論的に根拠のある指標の必要性を動機づける。
- 層レベルおよびノードレベルでパラメータ平均化とアンサンブルの不一致を定量化する M-Loss を定義する。
- M-Loss が剪定を導くことで統合適合性と効率を改善する方法を示す。
- パラメータ平均化がアンサンブル出力と近い結果を生む理論的条件を正当化する。
- 非常に小さなラベルなしデータを用いた ViT 主体での実用的な統合を M-TIES で示す。
提案手法
- 活性化の周辺にある中間表現を用いて層レベルおよびノードレベルの M-Loss を定義する。
- ReLU、Leaky ReLU、GELU に対する期待値の M-Loss を導出し、統合の実現性を理論的に正当化する。
- M-LIES という動的剪定ベースの統合アルゴリズムを提案し、ノードごとの保持率とパラメータ寄与を M-Loss で割り当てる。
- 既存の統合バックエンド(例:TIES)と M-Loss 主導の剪定を統合し、統合可能性と効率を向上させる。
- ラベルなしデータ(128 サンプル)を用いて ViT-B/32 および ViT-L/14 で、統合基準およびアンサンブルと比較する。
- M-Loss がパラメータ衝突のハイパーパラメータ指標として機能し、統合ワークフローの予算を導くことができることを示す。

実験結果
リサーチクエスチョン
- RQ1ラベルなし指標 (M-Loss) は層およびノード間でパラメータ平均化がアンサンブルに近いかを定量化できるか。
- RQ2ラベルなしデータで M-Loss を用いて剪定を導くことで統合品質を改善できるか。
- RQ3M-Loss を統合バックエンド(M-TIES)に組み込むと、既存の手法やアンサンブルと比較して精度と効率が向上するか。
- RQ4活性化関数やパラメータ差といった理論条件の下で、M-Loss が小さくなりやすく、効果的なモデル統合が可能になる条件は何か。
主な発見
- M-Loss は事前学習済みバックボーンの多様性が限定され、ファインチューニングのドリフト(sigma)が活性化スケール(k)に対して小さい場合、パラメータの平均化がアンサンブル出力を近似できる理由を理論的に正当化する。
- ReLU、Leaky ReLU、GELU の M-Loss 値は、k >> sigma の下で小さく、 pretrained backbone を共有するモデルの統合可能性を支持する。
- M-TIES は他の統合ベースライン(Simple Avg., Task Arithmetic, TIES, DARE)を一貫して上回り、ViT 主体での精度がアンサンブルに近づき、推論コストが大幅に低い状態で競争力の高い結果を示す。
- M-Loss を用いたノードごとの剪定予算の推定は統合品質と効率を改善し、層ごとに高い M-Loss を示す層(初期層と末尾層)に剪定を集中させる。
- Few-Layer M-TIES(最初と最後の数層のみ剪定)で substantial なコスト削減と同等の性能を達成する。
- M-Loss は小規模なラベルなしデータ(128 サンプル程度)でも安定性を示し、サンプルサイズの変動や乱数種に対する感度が低い。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。