From Memorization to Parameter Interference: How Overtraining Experts Harms Model Merging
This paper challenges the assumption that optimizing expert models for individual performance benefits downstream model merging, demonstrating instead that overtraining leads to memorization and negative parameter interference that degrade merged performance, a problem effectively mitigated by task-dependent early stopping.
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: "Less is More" (Even for AI)
Imagine you have a team of expert chefs. Each chef has been trained on a specific recipe: one makes the perfect pizza, another the perfect sushi, and another the perfect cake.
In the world of AI, we often take a "base" model (a general knowledge chef) and fine-tune it to become an expert in one specific task. Then, we want to combine all these different expert chefs into one "Super Chef" who can do everything at once. This process is called Model Merging.
The common belief was: "The better the individual chef gets at their specific recipe, the better the Super Chef will be."
This paper proves that belief is wrong. In fact, if you train your individual experts for too long, the resulting Super Chef actually becomes worse.
The Problem: The "Overtrained" Expert
The authors discovered a phenomenon they call "Overtraining."
Think of it like a student cramming for a test.
- Early in training: The student learns the general rules of math. They understand the concepts.
- Late in training: The student stops learning new concepts and starts memorizing the specific, weird, difficult questions from the practice test. They memorize the exact wording of the hardest problems, even the ones with typos or confusing phrasing.
In AI terms, when an expert model is trained for too many steps, it stops learning general patterns and starts memorizing a small set of very difficult, weird examples from its training data.
The Collision: Why Merging Fails
Now, imagine you try to combine these "memorizing" chefs into a Super Chef.
- Chef A memorized that "Pizza" always has a specific, weird stain on the crust because of one bad photo in their training data.
- Chef B memorized that "Sushi" always has a specific, weird texture because of one noisy image.
When you try to merge them, their brains (the computer parameters) start fighting. Chef A says, "The crust must have a stain!" Chef B says, "No, the texture must be weird!"
Because they memorized specific, idiosyncratic details rather than general rules, their instructions cancel each other out. This is called Negative Parameter Interference.
The result? The Super Chef forgets the hard stuff entirely. It can still make simple pizza and simple sushi (the easy examples), but it completely fails at the difficult tasks because the conflicting "memorized" instructions destroyed the knowledge.
The Evidence: The "Hard Example" Trap
The researchers used a tool to measure how "hard" a training example was. They found:
- Early in training: The model learns the easy examples quickly.
- Late in training: The model spends all its time obsessing over the hardest 10% of examples.
- The Merging Disaster: When they merged models that had been trained for a long time, the "hard examples" were the first to be forgotten. The model lost the ability to handle difficult cases because the conflicting memorized data wiped them out.
Interestingly, they found that you actually need some memorization to get good results. If you remove the hard examples entirely, the model fails. But if you let the model memorize them too much (by training too long), it breaks the merging process.
The Solution: Stop Early!
The paper suggests a simple fix: Aggressive Early Stopping.
Instead of training your expert models until they are perfect at their specific task, you should stop training them much earlier.
- The Old Way: Train until the expert gets 90% accuracy. (Result: Bad Super Chef).
- The New Way: Train until the expert gets 85% accuracy and then stop. (Result: Great Super Chef).
By stopping early, the experts haven't had time to memorize those weird, difficult examples. They retain the general rules that work well for everyone. When you merge them, they agree on the general rules, and the Super Chef becomes much more capable.
Key Takeaways
- Better Experts Better Merges: Just because an individual AI model is better at its specific job doesn't mean it will help build a better combined model. Sometimes, "good enough" is actually better for the team.
- Memorization is the Enemy of Merging: The more a model memorizes specific, difficult data points, the harder it is to combine with other models.
- Stop Training Sooner: Whether you are using full model training or efficient "LoRA" adapters (a lightweight way to train), stopping the training process early yields better results when merging.
- It Works Everywhere: This happens with both image models (like recognizing cars or cats) and language models (like answering questions), and it happens regardless of the size of the model.
In short: Don't let your AI experts become too obsessed with the hardest details. Keep them focused on the big picture, and when you combine them, they will work together much better.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.