← Latest papers
💻 computer science

PACT: Preserving Anchored Cores in Task-vectors for Model Merging

The paper introduces PACT, a model merging framework that identifies and preserves "Load-Bearing Wall" dimensions—critical task-specific knowledge embedded in pre-trained weights rather than task vectors—to prevent knowledge degradation and significantly improve the performance of existing task-vector-based merging methods.

Original authors: Ningyuan Shi, Zhipeng Zhou, Hao Wang, Chunyan Miao, Peilin Zhao

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

Original authors: Ningyuan Shi, Zhipeng Zhou, Hao Wang, Chunyan Miao, Peilin Zhao

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 Picture: Merging AI Models Without Breaking Them

Imagine you have a master chef (the Pre-trained Model) who is already an expert at cooking a wide variety of dishes. You then hire this chef to specialize in three specific cuisines: Italian, Japanese, and Mexican. You train them separately, and they become experts in each.

Now, you want to combine these three specialized chefs into one "Super Chef" who can cook all three cuisines perfectly, without having to retrain them from scratch. This process is called Model Merging.

For a long time, scientists thought the best way to do this was to look only at the changes the chef made to learn each cuisine. They called these changes "Task Vectors." The old method was like saying: "Let's just take the notes the chef wrote for Italian, the notes for Japanese, and the notes for Mexican, mix them together, and add them to the original recipe book."

The Problem: The paper argues that this old method is flawed. It assumes the chef learned everything new just by writing notes. In reality, the chef's original, deep understanding of cooking (the Pre-trained Model) still holds some critical, secret knowledge that didn't change much during training. If you mix the notes carelessly, you might accidentally overwrite or damage those original, essential foundations.

The Discovery: The "Load-Bearing Walls"

The authors discovered something they call Load-Bearing Wall (LBW) dimensions.

The Analogy:
Imagine the chef's original recipe book is a house.

  • The Task Vectors are like the new furniture and decorations the chef added to make the house look like an Italian, Japanese, or Mexican home.
  • The LBW Dimensions are the actual walls and foundation of the house.

When the chef specialized in Italian food, they didn't knock down the walls; they just moved the furniture. However, those walls are still absolutely critical for the house to stand up.

The old merging methods only looked at the furniture (the Task Vectors). When they tried to combine the Italian furniture with the Japanese furniture, they accidentally knocked down the walls that the Italian house needed to stay standing. The result? The "Super Chef" could no longer cook Italian food well because the foundation was ruined.

The Solution: PACT (Preserve Anchored Cores)

To fix this, the authors created a new method called PACT.

How PACT Works (The Analogy):
Instead of just mixing the furniture, PACT acts like a protective shield.

  1. Identify the Walls: Before mixing, PACT looks at the original house and identifies exactly which walls (LBW dimensions) are critical for the Italian house, which for the Japanese house, and so on.
  2. Build a Shield: It creates a "force field" around those specific walls for each cuisine.
  3. Filter the Mix: When it tries to add the Japanese furniture to the Italian house, PACT checks: "Does this new furniture hit the Italian walls?" If the answer is yes, PACT removes that specific piece of furniture before adding it.
  4. Merge Safely: The result is a merged house where the new furniture is added, but the critical walls for every cuisine remain untouched and strong.

Why This Matters

The paper proves that by using PACT, you can merge models much better than before.

  • Without PACT: The merged model is like a house with a cracked foundation; it collapses under the weight of too many tasks.
  • With PACT: The merged model keeps the foundation of every task intact while successfully combining the new skills.

The authors tested this on many different computer vision tasks (like recognizing cars, traffic signs, and flowers). They found that PACT consistently improved the performance of existing merging methods, making the final "Super Chef" better at everything than any previous method could achieve.

A Quick Note on Speed

Doing this "wall identification" can be computationally expensive (like hiring a team of architects to inspect every brick). The authors also developed a "fast version" of PACT that uses a clever mathematical shortcut (Randomized SVD). This shortcut is like using a drone to scan the house instead of walking every room—it's much faster but still finds the critical walls with high accuracy.

Summary

  • Old Way: Mix the changes (Task Vectors) and hope the original model doesn't break. (Result: Often breaks).
  • New Way (PACT): Identify the invisible, critical parts of the original model that didn't change (Load-Bearing Walls), protect them, and then mix the changes carefully around them. (Result: Stronger, more stable models).

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 →