Skip to main content
QUICK REVIEW

[논문 리뷰] M-Loss: Quantifying Model Merging Compatibility with Limited Unlabeled Data

Tiantong Wang, Yiyang Duan|arXiv (Cornell University)|2026. 02. 09.
Topic ModelingComputer Science인용 수 0
한 줄 요약

다중 소스 모델을 파라미터 평균화로 병합하는 데 필요한 매우 제한된 라벨 없는 데이터를 활용해 모델 병합 가능성을 정량화하는 메트릭 M-Loss를 소개하고, 이를 바탕으로 모델 병합과 앙상블링의 중간 다리 역할을 하는 동적 가지치기 기반 병합 방법(M-TIES)을 안내한다.

ABSTRACT

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를 실용적으로 시연한다.]
  • method:[
  • 레이어 및 노드 수준에서 활성화 주변의 중간 표현을 사용해 M-Loss를 정의한다.
  • ReLU, Leaky ReLU, GELU에 대한 기대 M-Loss 값을 도출해 병합 가능성을 이론적으로 정당화한다.
  • M-TIES: 노드별 유지 비율과 매개변수 기여를 할당하기 위해 M-Loss를 활용하는 동적 가지치기 기반 병합 알고리즘을 제안한다.
  • 기존 병합 백엔드(TIES 등)와 M-Loss 주도 가지치기를 통합해 병합 가능성과 효율성을 향상시킨다.
  • 라벨 없는 데이터(128샘플)로 ViT-B/32 및 ViT-L/14에서 M-TIES를 병합 기준선 및 앙상블링과 비교 평가한다.
  • M-Loss가 매개변수 충돌 및 병합 예산의 하이퍼파라미터 지표로 작용할 수 있음을 보인다.

제안 방법

  • 레이어 및 노드 수준의 M-Loss를 활성화 주변의 중간 표현을 사용하여 정의한다.
  • ReLU, Leaky ReLU, GELU에 대한 기대 M-Loss 값을 도출해 병합 가능성을 이론적으로 정당화한다.
  • M-TIES: M-Loss를 사용해 노드별 유지 비율을 할당하고 매개변수 기여를 선택하는 동적 가지치기 기반 병합 알고리즘을 제안한다.
  • M-Loss 주도 가지치기를 기존 병합 백엔드(TIES 등)와 통합해 병합 가능성과 효율성을 개선한다.
  • 라벨 없는 데이터(128 샘플)로 ViT-B/32 및 ViT-L/14에서 M-TIES를 병합 기준선 및 앙상블링과 비교 평가한다.
  • M-Loss가 병합 워크플로우에서 매개변수 충돌과 예산의 하이퍼파라미터 지표로 작용하는지 보여준다.
Figure 1: Conceptual overview of M-Loss and its use in M-TIES. (a) M-Loss measures the discrepancy between parameter-averaged and ensembled representations on unlabeled data, producing layer-/node-wise scores. (b) The node-wise M-Loss score map drives dynamic row-wise keep rates, which integrate wit
Figure 1: Conceptual overview of M-Loss and its use in M-TIES. (a) M-Loss measures the discrepancy between parameter-averaged and ensembled representations on unlabeled data, producing layer-/node-wise scores. (b) The node-wise M-Loss score map drives dynamic row-wise keep rates, which integrate wit

실험 결과

연구 질문

  • RQ1레이블 없는 메트릭(M-Loss)이 레이어 및 노드 간 매개변수 평균화가 앙상블링에 근접한지 여부를 quantifying 할 수 있는가?
  • RQ2M-Loss가 라벨 없이도 가지치기를 통해 병합 품질을 개선하도록 안내할 수 있는가?
  • RQ3M-Loss를 병합 백엔드(M-TIES)에 통합하면 기존 병합 방법 및 앙상블링에 비해 정확도와 효율이 향상되는가?
  • RQ4활성화 함수, 매개변수 차이 등 어떤 이론적 조건에서 작은 M-Loss가 형성되어 효과적인 모델 병합이 가능한가?

주요 결과

  • M-Loss는 사전 학습된 백본 다변성이 제한적이고 파인튜닝 드리프트(sigma)가 활성화 스케일(k)에 비해 작을 때 매개변수 평균화가 앙상블 출력에 근접하게 될 수 있는 이론적 근거를 제공합니다.
  • k >> sigma인 경우 ReLU, Leaky ReLU, GELU의 M-Loss 값이 작아 모델 간 병합 가능성을 지지합니다.
  • M-TIES는 다른 병합 기준선(Simple Avg., Task Arithmetic, TIES, DARE)보다 일관되게 우수한 정확도를 보이고 ViT 백본에서 앙상블링에 근접하며, 추론 비용이 훨씬 낮은 상황에서도 경쟁력 있는 결과를 제공합니다.
  • M-Loss를 이용한 노드별 가지치기 예산은 병합 품질과 효율성을 향상시키며, 레이어별로 M-Loss가 높은 레이어(초기 및 말단 레이어)에 집중하는 가지치기가 효과적입니다.
  • Few-Layer M-TIES(처음 및 마지막 몇 개의 레이어만 가지치기)는 비용 절감에도 불구하고 비교 가능한 성능을 달성합니다.
  • M-Loss는 아주 작은 라벨 없는 데이터(최소 128 샘플)에서도 안정성을 보이며 샘플 크기 변화 및 무작위 시드에 대한 민감도가 낮습니다.
Figure 2: Visualization of Linearly Correlated Parameters (LCP) in a neural network. The figure illustrates how the partial derivative $\partial h_{k,i}/\partial W_{ij}^{k}$ relates to the input from the previous layer $x_{(k-1),j}$ .
Figure 2: Visualization of Linearly Correlated Parameters (LCP) in a neural network. The figure illustrates how the partial derivative $\partial h_{k,i}/\partial W_{ij}^{k}$ relates to the input from the previous layer $x_{(k-1),j}$ .

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.