← Latest papers
🤖 machine learning

Scaling Linear Mode Connectivity and Merging to Billion Parameter Pretrained Transformers

This paper proposes a novel dual-learning framework that applies functionality-preserving weight transformations to align independently trained billion-parameter Transformers, enabling near-barrier-free linear mode connectivity and effective model merging across both language and vision domains.

Original authors: Tianyi Li, Zhiqiang Shen

Published 2026-06-23
📖 4 min read☕ Coffee break read

Original authors: Tianyi Li, Zhiqiang Shen

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

The Big Idea: Merging Two Different Recipes

Imagine you have two master chefs who have spent years perfecting the exact same dish: a chocolate cake. They both know how to make it taste delicious. However, they learned their skills in different kitchens, used different measuring cups, and organized their ingredients in completely different ways.

  • Chef A puts the flour in a bowl on the left and the sugar on the right.
  • Chef B puts the flour on the right and the sugar on the left.

If you try to simply "mix" their recipes halfway through (a process called linear interpolation), the result is a disaster. You might end up with half a cup of flour and half a cup of sugar in the same bowl, but because their instructions don't match, the cake collapses. In the world of AI, this is called a loss barrier—a point where the combined model stops working and the error rate skyrockets.

The Problem: The "Hidden" Differences

For a long time, scientists thought these two chefs were just making different cakes. But this paper argues they are actually making the same cake; they just have different symmetries.

In AI, "symmetry" means you can shuffle things around without changing the result.

  • Permutation: You can swap the order of the steps (like mixing eggs before milk vs. milk before eggs) as long as you adjust the other steps to match.
  • Scaling: You can use a giant spoon or a tiny spoon, as long as you adjust the amount of ingredients to match.

The problem is that when two AI models are trained separately, they naturally fall into different "shuffles." If you try to blend them without fixing these shuffles first, the AI gets confused.

The Old Solution: One-Sided Adjustment

Previous methods tried to fix this by taking Chef B's recipe and forcing it to look like Chef A's. They would say, "Okay, Chef B, move your sugar to the left to match Chef A."

This helps a little, but it's like forcing a square peg into a round hole. Chef B has to contort their entire style to fit Chef A's specific kitchen layout. It works, but the resulting "halfway" recipe still has a high risk of failure.

The New Solution: The "Dual Dance" (LMC-DM)

This paper introduces a new method called Dual Learned Matching. Instead of forcing one chef to copy the other, they both agree to meet in the middle.

Imagine a dance floor. Instead of Chef A standing still and Chef B trying to match their steps, both chefs start dancing toward each other.

  1. They both learn new ways to organize their ingredients (adjusting their "symmetries").
  2. They move toward a shared, neutral kitchen layout where their steps align perfectly.
  3. Once they are aligned, they can blend their recipes smoothly.

Because both chefs are flexible and moving toward a common goal, the "halfway" point is no longer a disaster zone. It becomes a smooth, safe path where the cake tastes just as good as the original.

What They Actually Found

The researchers tested this on massive AI models (some with billions of parameters, which is like having a kitchen with millions of ingredients).

  • The Result: When they used this "Dual Dance" method, the "disaster zone" (the loss barrier) almost completely disappeared.
  • Vision Models: They tested on image-recognition models (like those that identify cats and dogs). Even when blending two different models, the combined model kept its accuracy high (over 69%) the entire time.
  • Language Models: They tested on text-generating models (like the ones that write stories). For medium-sized models, the error rate was practically zero. Even for huge billion-parameter models, the error was very small.

The Takeaway

The paper proves that large AI models aren't isolated islands. They are actually connected by hidden pathways. If you stop trying to force one model to copy the other, and instead let both models adjust themselves to meet in the middle, you can seamlessly merge them.

This means we can take two different, highly trained AI models and combine them into one powerful model without needing to retrain them from scratch or building complex new structures. It's like realizing that two different languages are actually just different dialects of the same language, and if you speak them both with a little flexibility, you can understand each other perfectly.

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 →