Pre-training LLM without Learning Rate Decay Enhances Supervised Fine-Tuning
This paper demonstrates that using a Warmup-Stable-Only (WOS) learning rate schedule without decay during large-scale pre-training enhances downstream supervised fine-tuning performance by preserving flatter loss minima, even though decay-based schedulers may yield lower pre-training loss.
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 are training a brilliant student to become a world-class expert. You have two main phases:
- The University Years (Pre-training): The student reads millions of books, learns grammar, facts, and how the world works.
- The Internship (Fine-tuning): The student learns to apply that knowledge to specific jobs, like writing code, giving medical advice, or following strict company rules.
For years, the standard advice for the "University Years" was: "Start with high energy, then slowly wind down to a complete stop."
In the world of AI, this "energy" is the Learning Rate. The standard method (called Cosine Decay or WSD) tells the AI: "Learn fast at first, but as you get closer to finishing your degree, slow your learning pace down to almost zero." The logic was that slowing down helps the AI memorize the textbooks perfectly, getting the lowest possible error score on its final exams.
This paper says: "Stop slowing down!"
The researchers discovered that if you keep the AI's learning pace steady and constant all the way to the finish line (a method they call WSO or Warmup-Stable-Only), the AI actually becomes a better intern.
Here is the breakdown of their findings using simple analogies:
1. The "Perfect Student" vs. The "Adaptable Student"
- The Old Way (Decay): Imagine a student who studies so hard and slows down so much at the end that they memorize the textbook word-for-word. They get a perfect score on the final exam (Pre-training Loss). But when they start their internship, they are rigid. If the boss asks a slightly different question, the student freezes because they are stuck in their "perfect" memorization.
- The New Way (WSO): Imagine a student who keeps a steady, energetic pace until the very last day. They might not have memorized the textbook quite as perfectly as the first student (their final exam score is slightly lower). However, because they kept their brain "active" and flexible until the end, they are much better at handling new, real-world problems during their internship.
2. The "Valley" Analogy (Loss Landscape)
To understand why this happens, imagine the learning process is like a hiker trying to find the deepest point in a valley (the best solution).
- The Decay Method: When the hiker slows down at the end, they tend to get stuck in a narrow, deep canyon. It's the lowest point, but it's very tight. If you try to move even a little bit (like during an internship), you hit the walls immediately. This is called a "sharp minimum."
- The WSO Method: By keeping the pace steady, the hiker finds a wide, flat meadow at the bottom of the valley. It's not the absolute deepest point, but it's spacious. If you move around a bit, you don't hit a wall; you just stay in the meadow. This is called a "flat minimum."
The Magic: When the AI moves from "University" to "Internship," it needs to move around. The AI trained with the "flat meadow" (WSO) can adapt easily without crashing. The AI trained in the "narrow canyon" (Decay) breaks easily when asked to do something new.
3. The Results
The researchers tested this on AI models of different sizes (1 billion and 8 billion parameters).
- Before Fine-Tuning: The "Decay" models looked better. They had lower error rates on standard tests.
- After Fine-Tuning (The Real Test): The "WSO" models crushed it. They were better at following instructions, telling the truth, and solving complex tasks.
The Big Takeaway
For a long time, AI researchers thought, "If the model learns the basics perfectly, it will be good at everything." This paper proves that being too perfect at the basics can actually hurt your ability to adapt later.
The Recommendation:
If you want to build an AI that is truly useful in the real world, don't let it "coast" to a stop at the end of its training. Keep the learning rate steady. It might not look like the "smartest" student on paper, but it will be the most adaptable and helpful employee once hired.
In short: Don't let your AI slow down too early. Keep it running at full speed so it stays flexible enough to learn new tricks later!
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.