Abstract
Model merging, a method that combines the parameters and embeddings of multiple fine-tuned large language models (LLMs), offers a promising approach to enhance model performance across various tasks while maintaining computational efficiency. This paper introduces Activation-Informed Merging (AIM), a technique that integrates the information from the activation space of LLMs into the merging process to improve performance and robustness. AIM is designed as a flexible, complementary solution that is applicable to any existing merging method. It aims to preserve critical weights from the base model, drawing on principles from continual learning~(CL) and model compression. Utilizing a task-agnostic calibration set, AIM selectively prioritizes essential weights during merging. We empirically demonstrate that AIM significantly enhances the performance of merged models across multiple benchmarks. Our findings suggest that considering the activation-space information can provide substantial advancements in the model merging strategies for LLMs with up to 40\% increase in benchmark performance.
Abstract (translated)
模型合并是一种将多个经过微调的大型语言模型(LLMs)的参数和嵌入相结合的方法,旨在提升各种任务上的模型性能同时保持计算效率。本文介绍了一种称为激活信息融合(Activation-Informed Merging, AIM)的技术,该技术在模型合并过程中整合了LLM激活空间中的信息,以提高性能和鲁棒性。AIM被设计为一种灵活且互补的解决方案,适用于任何现有的合并方法,并旨在保留基础模型的关键权重,借鉴了连续学习(CL)和模型压缩的原则。 利用任务无关校准集,AIM在合并时有选择地优先考虑关键权重。我们通过实验验证AIM显著提升了跨多个基准测试中合并模型的表现。我们的研究结果表明,在大型语言模型的模型合并策略中考虑激活空间的信息可以带来实质性的进步,最多可使基准性能提高40%。
URL
https://arxiv.org/abs/2502.02421