← Latest papers
💬 NLP

Transport and Merge: Cross-Architecture Merging for Large Language Models

This paper proposes a cross-architecture merging framework based on optimal transport that aligns activations to infer correspondences between heterogeneous models, enabling effective knowledge transfer from large high-resource LLMs to smaller low-resource targets through direct weight-space fusion.

Original authors: Chenhang Cui, Binyun Yang, Fei Shen, Yuxin Chen, Jingnan Zheng, Xiang Wang, An Zhang, Tat-Seng Chua

Published 2026-02-24
📖 5 min read🧠 Deep dive

Original authors: Chenhang Cui, Binyun Yang, Fei Shen, Yuxin Chen, Jingnan Zheng, Xiang Wang, An Zhang, Tat-Seng Chua

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 Problem: The "Language Barrier" Between AI Brains

Imagine you have two geniuses:

  1. The Super-Genius (Source Model): A massive, highly educated AI trained on the entire internet. It knows everything but is too big and expensive to run on a regular phone or for a small company.
  2. The Local Expert (Target Model): A smaller, cheaper AI trained specifically for a low-resource language (like Malay or Cantonese) or a specific job (like medical diagnosis). It's efficient but lacks the deep, broad knowledge of the Super-Genius.

The Goal: We want to give the Local Expert the knowledge of the Super-Genius without having to retrain it from scratch (which takes forever and costs a fortune).

The Old Problem: Usually, you can only "merge" two brains if they are built exactly the same way (same number of rooms, same layout). If the Super-Genius has 32 layers of neurons and the Local Expert has only 12, or if their internal wiring is different, traditional methods say, "Sorry, you can't mix these." They are like trying to pour water from a square cup into a round hole; it spills everywhere.

The Solution: "Transport and Merge"

This paper proposes a clever new way to merge these mismatched brains. They call it Cross-Architecture Merging based on Optimal Transport.

Here is how it works, step-by-step:

1. The "Thought Experiment" (Activation Alignment)

Instead of trying to force the two models to look the same, the researchers ask them to think about the same simple sentence (like "The cat sat on the mat").

  • They watch how the Super-Genius processes this sentence.
  • They watch how the Local Expert processes the same sentence.

Even though their internal wiring is different, they often light up in similar patterns. Maybe the Super-Genius uses "Neuron #500" to understand "cat," and the Local Expert uses "Neuron #12" for the same thing.

2. The "Moving Company" (Optimal Transport)

This is the magic math part. The researchers use a concept called Optimal Transport.

  • The Analogy: Imagine the Super-Genius has a warehouse full of knowledge (packages) and the Local Expert has empty shelves. The packages are labeled with "features" (like "cat," "love," "math").
  • The problem is the shelves are different shapes and sizes.
  • Optimal Transport is like a super-smart moving company. It doesn't just throw packages randomly. It calculates the cheapest, most efficient way to move a package from a specific shelf in the Super-Genius to a specific shelf in the Local Expert.
  • It creates a map (a transport matrix) that says: "Take the knowledge from Super-Genius's 'Cat' neuron and move it to Local Expert's 'Cat' neuron."

3. The "Surgery" (Weight Fusion)

Once they have the map, they don't just copy-paste the whole brain. That would break the Local Expert.

  • Selective Surgery: They only move the knowledge into the specific "neurons" (parts of the brain) that are most active and relevant.
  • The Mask: Think of it like a stencil. They put a mask over the Local Expert's brain, covering 99% of it, and only expose the top 1% of neurons that need a knowledge boost.
  • They inject the Super-Genius's knowledge into those specific spots.

4. The "Fine-Tuning" (Residual-Frozen Adaptation)

After the surgery, the Local Expert might be a little confused because it has new knowledge but old habits.

  • The researchers let the Local Expert practice a little bit (a tiny bit of training) on the new data.
  • Crucial Step: They "freeze" the new knowledge they just injected so it doesn't get overwritten. They only let the rest of the brain adjust to fit the new knowledge.
  • Finally, they fold the new knowledge permanently into the brain's structure.

Why is this a Big Deal?

  1. No "Same Architecture" Rule: You can now take a giant model (like LLaMA-3 8B) and teach a tiny, specialized model (like a 1B model for Thai or Finance) without them needing to be built the same way.
  2. Cheap and Fast: You don't need massive supercomputers to retrain the small model. You just need a tiny dataset (a few hundred examples) to create the "moving map."
  3. Better Results: In tests, these merged models got much smarter at low-resource languages (like Malay, Cantonese, Thai) and specialized fields (Medicine, Finance) compared to just training them from scratch or using old methods.

The Real-World Impact

Think of this as transferring wisdom from a university professor to a local community teacher.

  • Before: You had to hire the professor to move to the village, or spend years teaching the teacher everything the professor knows.
  • Now: You use a "knowledge map" to instantly transfer the professor's best lessons into the teacher's specific teaching style, without changing the teacher's personality or the classroom layout.

This allows us to build powerful, specialized AI for everyone, even for languages and industries that don't have the money to build giant models 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 →