← Latest papers
🤖 machine learning

Model Fusion via Retrofitting

This paper introduces a neuron-centric model fusion framework that treats fusion as a representation-matching problem by grouping intermediate neurons and using attribution scores to align salient features, achieving superior performance over existing methods—particularly in zero-shot and non-IID scenarios—across diverse architectures like VGGs, ResNets, and ViTs without retraining.

Original authors: Phoomraphee Luenam, Andreas Spanopoulos, Amit Sant, Thomas Hofmann, Sotiris Anagnostidis, Sidak Pal Singh

Published 2026-05-29
📖 5 min read🧠 Deep dive

Original authors: Phoomraphee Luenam, Andreas Spanopoulos, Amit Sant, Thomas Hofmann, Sotiris Anagnostidis, Sidak Pal Singh

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have two expert chefs who have spent years perfecting their own unique recipes. Chef A specializes in Italian cuisine, and Chef B specializes in Japanese cuisine. They have never worked together, they use different tools, and they might even measure ingredients in different units.

Now, imagine you want to create a single "Master Chef" who can cook both Italian and Japanese dishes perfectly, but you cannot ask them to go back to culinary school to relearn everything from scratch. You just want to combine their existing knowledge into one person immediately.

This is the problem of Model Fusion. In the world of Artificial Intelligence (AI), we often have different neural networks (the "chefs") trained separately. We want to merge them into one powerful model without the expensive and time-consuming process of retraining them on new data.

The Problem: The "Language Barrier"

The paper explains that simply averaging the weights of these two models (like mixing their recipe books page by page) usually fails. Why? Because even if they are trained on similar data, they learn things in different ways.

  • The "Permutation" Issue: Think of Chef A's "spice rack" where the "cumin" is in the top drawer, while Chef B's "cumin" is in the bottom drawer. If you just average their drawers, you end up with a messy mix that doesn't make sense. The AI neurons (the "ingredients") are in different orders and locations.
  • The "Zero-Shot" Challenge: Most existing methods work okay if the chefs have similar backgrounds. But if they trained on completely different data (like one on Italian food, one on Japanese food), existing methods fail miserably. The combined model becomes confused and performs worse than the individual chefs.

The Solution: "Retrofitting" with a "Target"

The authors propose a new method called Model Fusion via Retrofitting. Instead of just averaging the chefs, they use a clever two-step process that acts like a translator and a coach.

Step 1: The "Grouping" (Finding the Twins)

First, the algorithm looks at what the neurons (the neurons are like the individual neurons in a human brain, or the specific "skills" of the chefs) are actually doing when they see data.

  • It groups similar neurons from Chef A and Chef B together.
  • The Creative Twist: The paper introduces Neuron Attribution Scores. Imagine that not all ingredients are equally important. Some spices are critical for the flavor; others are just garnish. The algorithm identifies which neurons are the "star players" (high importance) and which are "bench warmers" (low importance).
  • It then creates a "Target" for each group. Think of this as a "Gold Standard" recipe card that represents the perfect average of the grouped neurons, weighted by how important they are.

Step 2: The "Retrofit" (The Coach)

Now, the algorithm builds the new "Master Chef" (the fused model). It doesn't just copy the old chefs; it trains the new model's layers to match those "Gold Standard" targets it just created.

  • It's like taking a new apprentice and saying, "Don't just copy Chef A or Chef B. Look at this specific target dish we designed. Adjust your cooking until your output matches this target perfectly."
  • This happens layer by layer, from the bottom of the network to the top.

Why This is Better (The Results)

The paper tested this on various AI architectures (like VGG, ResNet, and Vision Transformers) and found:

  1. It Works When Others Fail: In "Zero-Shot" scenarios (where the models are merged without any extra training on new data), existing methods often collapse into random guessing. The authors' method maintains high accuracy, even when the models were trained on completely different, non-overlapping data (like the "Sharded" setup where one model sees only red cars and the other sees only blue cars).
  2. It Respects Importance: By using those "Neuron Attribution Scores," the method ensures that the most critical features of the original models are preserved, rather than getting lost in the noise of less important features.
  3. It's Flexible: It works on different types of AI architectures, not just one specific kind.

The Trade-off

The paper admits that this method is a bit slower and computationally heavier than the "quick and dirty" averaging methods. However, they argue this is worth it because:

  • It produces a usable model immediately (Zero-Shot), whereas other methods often require hours or days of extra fine-tuning to work at all.
  • In the long run, the time saved on fixing broken models outweighs the extra time spent on the initial fusion.

Summary Analogy

  • Old Way: You take two different languages, translate them word-for-word into a third language, and hope the meaning stays. It usually results in gibberish.
  • New Way (Retrofitting): You identify the core concepts (the "targets") that both chefs understand, assign them a value based on importance, and then teach a new chef to speak that specific, unified language perfectly.

The paper concludes that this approach allows us to combine independent AI models effectively, even when they are very different, without needing to retrain them from scratch.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →