Dropping most of a fine-tune
Fine-tuning changes every weight of a pretrained model a little. DARE (Drop And REscale, Yu et al.) asks how many of those changes are needed. Writing the change of one tensor as the task vector , DARE sets each entry to 0 with probability and multiplies the survivors by :
The paper reports that the changes made by supervised fine-tuning are small, typically within 0.002, and so redundant that 90% or even 99% of them can be dropped this way with little loss. Its main use is merging: dropping most entries of each fine-tune's task vector before adding them together should leave fewer collisions between them.
This page applies DARE to the same pair as the TIES tab: Qwen2.5-0.5B-Instruct and Qwen2.5-Coder-0.5B-Instruct, two fine-tunes of Qwen2.5-0.5B with one architecture (494,032,768 weights) and byte-identical tokenizer files. It drops each one alone and both together, and scores every model on 40 GSM8K rows and 40 HumanEval problems.
Drop at random, rescale
The Task vector panel draws layer 12's v_proj, a 128 × 896 matrix, for either fine-tune. Instruct's change has norm 0.308 there, Coder's 4.62, and across the model Coder's task vector is 15.5 times Instruct's in the median tensor. The Qwen2.5-Coder report explains the gap: the Coder models were trained on 5.5 trillion further tokens, mostly code, before their instruction tuning.
Drop at random shows the mask the merges drew with seed 0. At it keeps 11,466 of 114,688 entries (10.00%). Rescale by 1/(1 − p) multiplies the survivors by 10. This is the same trick as dropout (Hinton et al.), which drops activations during training and rescales the rest so that the expected sum is unchanged.
The rescaled matrix is right on average but not alike in shape. Since , the kept vector is about times as long and its cosine with is about . At the page shows norm 0.988 against 0.308 and cosine 0.321, close to . mergekit's own dare_* methods rescale differently, to the original L1 norm, which is a factor of 9.85 here.
What a layer sees
Whether the model notices depends on what the layer computes: , the change of its output for an input . How much of the layer's output change survives feeds the recorded inputs of a real prompt (93 tokens of GSM8K row 0 through Instruct, or 169 tokens of HumanEval problem 0 through Coder) through and and plots one against the other.
At , Instruct's output change keeps cosine 0.771 with the original, relative error 0.86. At it is cosine 0.366 and relative error 2.57: unbiased, but one draw scatters widely. Dropping without the rescale shrinks the change to 28% of its size, yet its error is only 0.93. For the matrix itself, the rescaled draw's error is about times (3 at ), while dropping alone loses about of it (0.95) and can never lose more than the change itself.
One fine-tune at a time
Each fine-tune alone, over p drops only one task vector at a time, from to , and plots the mean negative log-likelihood (NLL) of that task's reference solutions on a log scale. For Instruct on GSM8K it is 1.10 nats per token at , 1.14 at 0.5, 2.06 at 0.9 and 36.5 at 0.99; the base model scores 1.39. With generation, Instruct solves 15 of the 40 GSM8K rows, 14 at , 2 at 0.9 and none at 0.99. Without the rescale, at , it solves 9.
Coder breaks almost at once. Its HumanEval reference NLL rises from 0.19 to 0.45 at and to 17.7 at 0.3, and it solves none of the 40 problems at = 0.3, 0.5 or 0.9, nor at 0.5 without the rescale; the base model solves 22. The Replies show strings of unrelated tokens in many scripts.
The paper itself says when this happens: DARE suits changes within about 0.002, while continued pre-training can push them to around 0.03, and then DARE fails, with a code model's pass@1 reaching 0 after dropping only 10%. In the shown matrix the largest change is 0.0053 for Instruct and 0.067 for Coder. The paper also finds that larger models tolerate higher drop rates, and these are 0.5B models.
Merging the two
DARE + task arithmetic adds both rescaled task vectors to the base, , as mergekit's dare_linear. DARE + TIES applies the sign election and disjoint mean of the TIES tab to and , as peft's dare_ties. Both draw the same masks.
Every merge fails: at DARE solves 1 GSM8K row and no HumanEval problem, and DARE + TIES none; at both solve none of either, with reference NLLs between 23 and 76 nats per token. Merged: DARE + TIES shows why: at the merged task vector of the shown matrix is 3.19 times as long as Coder's, with cosine 0.998 to Coder's alone. Coder's rescaled survivors are nearly all of it. On the TIES tab, plain task arithmetic with , which drops nothing, keeps both skills (16 and 30); here the dropping is what breaks the merge.
Checks and what followed
mergekit's sparsify.bernoulli, seeded the same way and called in the same order, draws exactly the page's masks on every real tensor: 0 entries differ at . The matrices of the full merges equal the masks replayed from the seed, and the drawer's code matches peft's random_pruning, dare_linear and dare_ties on a small model.
DARE followed task arithmetic and TIES-Merging, which trims by magnitude instead of at random. DELLA-Merging later made the drop probability depend on each entry's magnitude. SLERP (the SLERP tab) takes a different route and interpolates the two models' weights directly.
Papers
- Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch Introduces DARE: drop a fine-tune's delta parameters at random and rescale the rest by 1/(1 − p), alone or before merging.
- TIES-Merging: Resolving Interference When Merging Models The sign election and disjoint mean that DARE + TIES applies to the dropped task vectors (the TIES tab).
- Editing Models with Task Arithmetic Task vectors and their sum, which DARE + task arithmetic applies to the dropped task vectors.
- Improving neural networks by preventing co-adaptation of feature detectors Dropout: the same random drop and 1/(1 − p) rescaling, applied there to activations during training.
- Arcee's MergeKit: A Toolkit for Merging Large Language Models The toolkit whose seeded masks the page's are checked against; its dare_* methods rescale to the original L1 norm.
- DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling Follows DARE with drop probabilities that depend on each entry's magnitude instead of one p for all.
- Qwen2.5-Coder Technical Report Qwen2.5-Coder-0.5B-Instruct, whose large task vector (from training on code beyond the base) DARE has to drop.