AdvancedAbout 19 min

    Model Merging

    Read the full article on Substack

    6 min read.

    Combine models by mixing their parameters rather than their outputs. Build a task vector, use task arithmetic to add a capability or subtract one, interpolate along a sphere instead of a straight line, and see why TIES keeps only the top 20%.

    Think of it this way: Blending paint rather than hanging two paintings side by side. Ensembling keeps both canvases and asks a judge which to look at; merging mixes the pigments into one tin. The tin is cheaper to carry — and mixing badly gives you brown.

    Both task vectors are measured from the same base, so adding them combines the two skills in one set of weights.

    finetuned A−base=task vector Afinetuned B−base=task vector Bbase+task vector A+task vector B=one model, both skills

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    What does this merge method need?

    Sort

    Sort each method by whether it needs a common base model.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Needs a shared base model

    Drop items here

    Works without one

    Drop items here
    5 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    Merging differs from ensembling in that merging combines:

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going