StatsMerging:通过任务特定教师蒸馏实现统计引导的模型合并
StatsMerging: Statistics-Guided Model Merging via Task-Specific Teacher Distillation
AI总结:
本文提出 StatsMerging,一种利用 SVD 奇异值捕获任务权重分布、通过轻量级学习器和任务特定教师蒸馏实现无需真实标签的异构视觉模型合并方法,在八个任务上优于现有技术。
摘要:
模型合并已成为在有限内存预算下容纳多个大模型的一种有前景的解决方案。我们提出 StatsMerging,一种新颖的轻量级基于学习的模型合并方法,由权重分布统计引导,无需真实标签或测试样本。StatsMerging 具有三个关键优势:(1)它独特地利用奇异值分解(SVD)中的奇异值来捕获任务特定的权重分布,作为任务重要性的代理,以指导任务系数预测;(2)它采用轻量级学习器 StatsMergeLearner 对任务特定预训练模型的权重分布进行建模,提高泛化能力并增强对未见样本的适应性;(3)它引入任务特定教师蒸馏,用于合并具有异构架构的视觉模型,这是一种通过任务特定教师蒸馏避免昂贵真实标签的合并学习范式。值得注意的是,我们提出两种知识蒸馏类型:(a)从任务特定模型向 StatsMergeLearner 蒸馏知识;以及(b)在合并之前从具有异构架构的模型蒸馏知识。在八个任务上的大量实验证明了 StatsMerging 的有效性。我们的结果表明,StatsMerging 在整体准确率、对未见任务的泛化能力以及对图像质量变化的鲁棒性方面均优于最先进的技术。
英文摘要:
Model merging has emerged as a promising solution to accommodate multiple large models within constrained memory budgets. We present StatsMerging, a novel lightweight learning-based model merging method guided by weight distribution statistics without requiring ground truth labels or test samples. StatsMerging offers three key advantages: (1) It uniquely leverages singular values from singular value decomposition (SVD) to capture task-specific weight distributions, serving as a proxy for task importance to guide task coefficient prediction; (2) It employs a lightweight learner StatsMergeLearner to model the weight distributions of task-specific pre-trained models, improving generalization and enhancing adaptation to unseen samples; (3) It introduces Task-Specific Teacher Distillation for merging vision models with heterogeneous architectures, a merging learning paradigm that avoids costly ground-truth labels by task-specific teacher distillation. Notably, we present two types of knowledge distillation, (a) distilling knowledge from task-specific models to StatsMergeLearner; and (b) distilling knowledge from models with heterogeneous architectures prior to merging. Extensive experiments across eight tasks demonstrate the effectiveness of StatsMerging. Our results show that StatsMerging outperforms state-of-the-art techniques in terms of overall accuracy, generalization to unseen tasks, and robustness to image quality variations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。