SimMerge: 从相似性信号中学习选择合并操作符
SimMerge: Learning to Select Merge Operators from Similarity Signals
AI总结:
SimMerge通过学习从相似性信号中选择合并操作符,实现了在大规模模型组合中的高效且无需迭代评估的合并方法。
摘要:
模型合并将多个模型合并为一个模型,具有聚合能力,使其成为大语言模型(LLM)开发的强大工具。然而,扩展模型合并具有挑战性:性能取决于合并操作符、模型子集和合并顺序的选择,通常需要昂贵的合并和评估搜索。在本工作中,我们介绍了SimMerge,一种预测性的合并选择方法,利用任务无关的模型间相似性信号来识别高性能的合并。给定一小组未标记的探测器,SimMerge提取功能和结构特征,预测候选双向合并的性能,从而在无需迭代评估的情况下选择合并操作符、顺序和模型子集。我们证明SimMerge在7B参数LLM上始终优于最佳固定合并操作符,并且可以泛化到多向合并和111B参数LLM,无需重新训练。我们进一步引入了一个强化学习变体,支持在线添加新任务和操作符。我们的结果表明,学习如何合并可以在检查点目录庞大且评估预算有限时实现可扩展的模型组合。
英文摘要:
Model merging combines multiple models into a single model with aggregated capabilities, making it a powerful tool for large language model (LLM) development. However, scaling model merging is challenging: performance depends on the choice of merge operator, model subset, and merge order, often requiring expensive merge-and-evaluate searches. In this work, we introduce SimMerge, a predictive merge-selection method that identifies high-performing merges using inexpensive, task-agnostic similarity signals between models. Given a small set of unlabeled probes, SimMerge extracts functional and structural features to predict the performance of candidate two-way merges, enabling merge operator, order and model subset selection without iterative evaluation. We show that SimMerge consistently outperforms the best fixed merge operator across 7B-parameter LLMs and generalizes to multi-way merges and 111B-parameter LLMs without retraining. We further introduce a bandit variant that supports adding new tasks and operators online. Our results suggest that learning how to merge enables scalable model composition when checkpoint catalogs are large and evaluation budgets are limited.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。