Skip to main content
QUICK REVIEW

[Paper Review] Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch

Le Yu, Bowen Yu|arXiv (Cornell University)|Nov 6, 2023
Topic ModelingComputer Science12 citations
TL;DR

The paper introduces DARE, a simple drop-and-rescale method to sparsify SFT delta parameters, enabling lossless absorption of abilities from multiple homologous LMs and effective merging into a single model without retraining or GPUs.

ABSTRACT

In this paper, we unveil that Language Models (LMs) can acquire new capabilities by assimilating parameters from homologous models without retraining or GPUs. We first introduce DARE to set most delta parameters (i.e., the disparity between fine-tuned and pre-trained parameters) to zeros without affecting the abilities of Supervised Fine-Tuning (SFT) LMs, which randomly Drops delta parameters with a ratio $p$ And REscales the remaining ones by $1 / (1 - p)$ to approximate the original embeddings. Then, we use DARE as a versatile plug-in to sparsify delta parameters of multiple SFT homologous models for mitigating parameter interference and merge them into a single model by parameter fusing. We experiment with encoder- and decoder-based LMs, showing that: (1) SFT delta parameter value ranges are typically small (within 0.002) with extreme redundancy, and DARE can effortlessly eliminate 90% or even 99% of them; (2) DARE can merge multiple task-specific LMs into one LM with diverse capabilities. Notably, this phenomenon is more pronounced in large-scale LMs, where the merged LM reveals the potential to surpass the performance of any source LM, providing a new discovery. We also utilize DARE to create a merged LM that ranks first among models with 7 billion parameters on the Open LLM Leaderboard.

Motivation & Objective

  • Motivate and demonstrate that SFT delta parameters are highly redundant and can be dramatically reduced without significant performance loss.
  • Introduce DARE to drop and rescale delta parameters, preserving original embeddings for inference.
  • Show that DARE enables effective merging of multiple homologous SFT LMs into a single model with diverse capabilities.
  • Evaluate DARE on encoder- and decoder-based LMs across GLUE, GSM8K, MATH, and code-generation benchmarks.
  • Provide guidance on when DARE works, its limitations, and its relation to pruning and model merging literature.

Proposed method

  • Define delta parameters as the difference between SFT and pre-trained parameters.
  • DARE: randomly drop delta parameters with rate p and rescale the remaining by 1/(1-p).
  • Infer that setting the rescale factor to 1/(1-p) preserves expected embeddings, enabling inference with the pruned set.
  • Apply DARE as a plug-in to existing model merging methods (Average Merging, Task Arithmetic, Fisher Merging, RegMean, TIES-Merging).
  • Evaluate performance retention and merging benefits on encoder- and decoder-based LMs using datasets such as GLUE, AlpacaEval, GSM8K, MATH, HumanEval, MBPP, and Open LLM Leaderboard benchmarks.
  • Investigate prerequisites for DARE (delta parameter scales, backbone choice) and compare with magnitude-based pruning.

Experimental results

Research questions

  • RQ1Can DARE dramatically reduce SFT delta parameters without meaningful loss in LM capabilities?
  • RQ2Does applying DARE facilitate effective merging of multiple task-specific homologous LMs into a single model with diverse abilities?
  • RQ3What are the practical limits of DARE with respect to model size, backbone, and delta parameter magnitudes?
  • RQ4How does DARE compare to traditional magnitude-based pruning and other merging strategies in preserving or enhancing capabilities?
  • RQ5What conditions determine when DARE is feasible (e.g., delta parameter ranges, pre-training signals)?

Key findings

  • SFT delta parameters are highly redundant; DARE can remove 90% to 99% of delta parameters with minimal impact on performance for larger LMs.
  • Larger LMs tolerate higher drop rates, indicating a scaling law-like relation between model size and DARE tolerance.
  • DARE improves or preserves performance when combined with several model merging methods, enabling merged models to outperform individual components in many cases.
  • A notable merged 7B-parameter model (supermario variants) achieved top rankings on the Open LLM Leaderboard, demonstrating strong capabilities built without retraining.
  • DARE is effective for decoder- and encoder-based LMs on relevant benchmarks, but fails when delta parameters become large (e.g., after extensive continuous pre-training) or when dropping fine-tuned (not delta) parameters.
  • The rescale step in DARE is essential; without rescaling (DropOnly), embedding preservation degrades significantly at higher drop rates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.