← Latest papers
🔢 mathematics

Optimizer-Model Consistency: Full Finetuning with the Same Optimizer as Pretraining Forgets Less

This article introduces the concept of "Optimizer-Model Consistency" and demonstrates that using the same optimizer for both pre-training and full fine-tuning reduces catastrophic forgetting and improves the learning-forgetting trade-off compared to other optimizers or LoRA, while also showing that certain optimizers such as Muon may underperform on reasoning tasks due to a tendency toward rote memorization.

Original authors: Yuxing Liu, Jianyu Wang, Tong Zhang

Published 2026-05-08
📖 5 min read🧠 Deep dive

Original authors: Yuxing Liu, Jianyu Wang, Tong Zhang

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 a brilliant student who has spent years reading every book in a massive library (this is Pretraining). They possess general knowledge, grammar, and have learned how to think about the world. Now, you wish to teach them a specific new skill, such as solving math problems or writing computer code (this is Supervised Finetuning or SFT).

The major challenge is: How do you teach them this new skill without them forgetting everything they learned in the library? If they focus too much on the new mathematics, they might begin to forget how to write a simple story. This is known as the "Learning-Forgetting-Tradeoff".

This work discovers a surprising rule for how best to teach this student, and it has to do with how you teach them, not just what you teach them.

The Main Discovery: "The Same Teacher, The Same Style"

The authors found that the best way to teach the new skill is to use the exact same teaching style (Optimizer) that was employed during the years of library reading.

  • The Analogy: Imagine the student learned reading with a specific method, say "Method A" (like a certain way of highlighting text and taking notes). If you try to teach them math with "Method B" (a completely different way of highlighting and note-taking), the student becomes confused. They may learn the math, but they begin to forget their reading skills because the new method clashes with the way their brain has been wired through years of practice.
  • The Insight: If you stick with "Method A" for the math instruction, the student learns the math and retains their reading skills intact. The work calls this "Optimizer-Model Consistency".

Why Does This Happen? (The "Brain Shape" Theory)

The work explains that different teaching methods actually shape the student's brain (the model's internal weights) in different ways.

  1. Different Shapes: Some teaching methods (like AdamW, the most common one) train the brain to be "sparse" or "efficient," like a library where books are neatly organized with empty spaces in between. Other methods (like Muon, a newer, sophisticated method) train the brain to be "dense," like a library where books are packed tightly together.
  2. The Discrepancy: If you train the brain for years to be "sparse" and then suddenly switch to a "dense" teaching method for math, the brain must panic to reorganize its entire structure. This chaos causes it to drop old books (forgetting).
  3. The Match: If you continue using the "sparse" method for math as well, the brain simply adds new books to the existing shelves. It doesn't need to rebuild the library, so it forgets less.

The LoRA Surprise

There is a popular shortcut called LoRA (Low-Rank Adaptation). Imagine LoRA as a small, separate notebook for the student, where they write math answers without touching their main library books. Many people thought this was the best way to avoid forgetting.

The Work's Twist: The authors found that while LoRA is good, full retraining (rewriting the entire brain) using the same teaching method as before is actually even better.

  • The Analogy: LoRA is like carrying a separate notebook. It works, but if you use the same teaching style to rewrite your main brain, you can preserve the new math and the old reading skills even more effectively than with just a side notebook.

The Case of the "Rote Learner" (Muon)

The work also examined a specific, advanced teaching method called Muon.

  • The Good: Muon is excellent in the library phase (Pretraining). It helps the student memorize facts incredibly well.
  • The Bad: When it comes to learning new thinking skills (like math) with very little data, Muon tends to become a "rote learner." It tries to memorize the specific math problems it sees, rather than understanding the underlying patterns.
  • The Result: If you use Muon for the entire journey (Library + Math), the student might be able to recite facts brilliantly but struggle to solve new, unseen math problems. They have memorized the examples but haven't understood the logic.

Summary in Simple Language

  1. Consistency is Key: To learn a new skill without forgetting old ones, continue using the same learning algorithm (Optimizer) with which the model was originally trained.
  2. Do Not Change the Style: Changing the learning algorithm halfway forces the model to reorganize its "brain," causing it to lose old knowledge.
  3. Full Retraining > Shortcuts: Sometimes, full retraining with the correct algorithm is better than using shortcuts like LoRA, because it aligns better with the original structure of the model's brain.
  4. Beware of Over-Memorization: Some advanced algorithms (like Muon) are great at memorization but may be worse at learning new patterns when data is scarce.

The work concludes that if you want the best balance between learning new things and remembering old things, you should stick with the same teacher you started with.

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 →