Command Palette
Search for a command to run...
Model Merging
Model merging refers to combining multiple model parameters fine-tuned for different tasks into a new model according to rules, without the need for additional training data or gradient computation, so that it possesses multiple capabilities at the same time. The representative work is Task Arithmetic: proposed by Gabriel Ilharco et al. from the University of Washington, Microsoft Research, and the Allen Institute for AI (AI2) at the end of 2022, the paper Editing Models with Task Arithmetic was accepted by ICLR 2023. This method subtracts the pretrained parameters from the fine-tuned parameters to obtain "task vectors," then adds, subtracts, and scales these vectors to enhance or eliminate specific capabilities.
The earlier Model Soups (ICML 2022) had already shown that directly averaging the weights of multiple fine-tuning results for the same task can also stably improve accuracy; TIES-Merging in 2023 further mitigates parameter interference when stacking multiple models through three steps: pruning small-magnitude parameters, sign consensus (elect sign), and merging only parameters with consistent signs. The value of model merging lies in eliminating the cost of repeated training, allowing the community to assemble multiple specialized models into a general model with extremely low compute; it is now a standard practice for leaderboard submissions and releases in the open-source ecosystem.
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.