Activation-Informed Merging of Large Language Models
Amin Heyrani Nobari, Kaveh Alim, Ali ArjomandBigdeli, Akash Srivastava, Faez Ahmed, Navid Azizan
TL;DR
Activation-Informed Merging (AIM) addresses the challenge of fusing multiple fine-tuned LLMs while preserving the base model's capabilities. By analyzing the activation space of a task-agnostic calibration set, AIM derives per-channel saliency and applies an adaptive relaxation to weight updates, making the merging process more robust to outliers and data quality. The method is designed as a plug-in that can augment any existing merging approach, and extensive experiments across Llama-2 and Qwen-VL architectures show consistent improvements, with HV Gain increases up to $40\%$ in some cases. The work demonstrates the practical value of incorporating activation information into merging and suggests directions for further theoretical and architectural enhancements in multi-task LLM fusion.
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 a 40% increase in benchmark performance.
