← Latest papers
💻 computer science

Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight Aggregation

This paper introduces partial fusion, a novel method that interpolates between neural network ensembles and weight aggregation by selectively merging similar neurons via partial optimal transport, thereby enabling a flexible trade-off between computational efficiency and model performance.

Original authors: Fabian Morelli, Stephan Eckstein

Published 2026-05-22
📖 4 min read☕ Coffee break read

Original authors: Fabian Morelli, Stephan Eckstein

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, Chef A and Chef B. Both are amazing, but they have slightly different styles and specialize in different dishes.

  • The "Ensemble" Approach: You hire both chefs to work side-by-side in the kitchen. Every time you order a meal, both cook their version, and you combine the results. This tastes incredible (high accuracy), but it's expensive because you're paying two full salaries and using double the ingredients (high computational cost).
  • The "Weight Averaging" Approach: You try to merge the two chefs into one super-chef by simply averaging their recipes. You take 50% of Chef A's notes and 50% of Chef B's notes. This is cheap and fast (one salary, one kitchen), but the result is often a disaster. If Chef A uses a whisk and Chef B uses a blender for the same step, mixing their instructions creates a mess. The new chef doesn't know what to do.

The Paper's Solution: "Partial Fusion"

This paper introduces a clever middle ground called Partial Fusion. Instead of forcing the two chefs to agree on everything or keeping them completely separate, you only merge the parts of their recipes that are actually similar, and keep the unique parts separate.

Here is how it works, using simple analogies:

1. The "Neuron" Match-Up

Think of a neural network (the AI) as a team of workers. Each worker (called a "neuron") has a specific job.

  • In Chef A's team, Worker #1 is great at chopping onions.
  • In Chef B's team, Worker #1 is great at chopping onions, but Worker #2 is great at grating cheese.

If you just average the teams blindly, you might mix the onion-chopper with the cheese-grater, and neither job gets done right.

Partial Fusion acts like a smart manager. It looks at both teams and says:

  • "Hey, Worker #1 from Team A and Worker #1 from Team B are both chopping onions. Let's merge them into one super-onion-chopper."
  • "But Worker #2 from Team A is grating cheese, and Worker #2 from Team B is actually a sous-chef. They are too different. Let's keep them separate."

2. The Result: A Hybrid Kitchen

The result is a new, single kitchen that is slightly bigger than one original kitchen but much smaller than having two full kitchens.

  • It keeps the merged workers (the onion choppers) who now have the combined wisdom of both chefs.
  • It keeps the isolated workers (the cheese grater and the sous-chef) doing their own unique jobs without interference.

This creates a model that is:

  • Cheaper than hiring two chefs (Ensemble).
  • Smarter than just averaging their recipes (Weight Averaging).
  • Flexible: You can decide how much to merge. You can merge just the onion choppers, or you can merge almost everyone, depending on how much money you want to spend.

3. The "Generalized Pruning" Twist

The paper also looks at this from the opposite angle. Imagine you have a huge kitchen with both sets of workers (the Ensemble). Usually, to make this kitchen smaller, you would just fire people (Pruning).

But the authors suggest a smarter way: Generalized Pruning.
Instead of just firing a worker, you can sometimes say, "You two are doing similar things; let's combine your duties into one person."

  • Firing: Removes a task (might lose accuracy).
  • Combining: Blurs two tasks into one (might lose some precision).
  • The Paper's Method: It intelligently decides which tasks to fire and which to combine, finding the perfect balance so you don't lose too much quality while saving space.

Why This Matters (According to the Paper)

The authors tested this on standard AI puzzles (like recognizing handwritten numbers or images). They found that:

  1. You get the best of both worlds: You can get performance very close to having two full models, but with only about 1.5 times the size of a single model (instead of 2 times).
  2. It's not just about size: Sometimes, keeping the "weird" or "unique" workers isolated actually helps the final model perform better because it preserves the unique strengths of the original chefs.
  3. It works on different shapes: Whether the AI is a simple list of numbers (MLP) or a complex image processor (CNN), this method of "matching similar parts and leaving unique parts alone" works well.

In short: The paper teaches us that when combining two AI brains, we shouldn't just smash them together or keep them totally apart. We should act like a matchmaker, pairing up the similar parts to save space, while letting the unique parts shine on their own.

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 →