Junjie Huang, Jiarui Qin, Di Yin, Weiwen Liu, Yong Yu, Xing Sun, Weinan Zhang
8 min
Abstract
Standard training pipelines for large language models (LLMs) are typically unidirectional, progressing from pre-training to post-training. However, the potential for a bidirectional process--where insights from post-training retroactively improve the pre-trained foundation--remains unexplored. We aim to establish a self-reinforcing flywheel: a cycle in which reinforcement learning (RL)-tuned model strengthens the base model, which in turn enhances subsequent post-training performance, requiring no specially trained teacher or reference model. To realize this, we analyze training dynamics and identify the mid-training (annealing) phase as a critical turning point for model capabilities. This phase typically occurs at the end of pre-training, utilizing high-quality corpora under a rapidly decaying learning rate. Building upon this insight, we introduce ReMiT (Reinforcement Learning-Guided Mid-Training). Specifically, ReMiT leverages the reasoning priors of RL-tuned models to dynamically reweight tokens during the mid-training phase, prioritizing those pivotal for reasoning. Empirically, ReMiT achieves an average improvement of 3\% on 10 pre-training benchmarks, spanning math, code, and general reasoning, and sustains these gains by over 2\% throughout the post-training pipeline. These results validate an iterative feedback loop, enabling continuous and self-reinforcing evolution of LLMs.
Sam: Almost. To make it fair across sentences—some are naturally trickier—it averages the gaps for that whole sentence and subtracts that from each word's gap. This centers everything. Then it feeds that into a smooth curve, scaled so average gaps get normal focus, bigger gaps boost the learning signal up to a safe limit. During training, errors on boosted words pull harder on the model's updates, steering it toward smarter predictions without ignoring context.
Alex: Huh—so it's like turning up the volume on the important lines in a play script during rehearsal, but keeping the whole scene intact.
Sam: Precisely. The paper shows this aligns the base model's habits closer to what works for rewards, creating that self-reinforcing cycle. They tested on models like 1B and 3B sizes. One limit: it adds some compute overhead from running the frozen reward model each time.
Alex: Overhead from the extra model run—fair enough. But those gains holding through later training, does that mean it sets up a cycle where each round builds on the last?
Sam: Yes, the paper demonstrates that. They took the improved base from one round and used its reward-trained version to guide another round of the same process. This created a loop: stronger base leads to stronger reward model, which refines the base further.
Alex: So it's self-improving without outside help. What makes this better than just copying the reward model directly?
Sam: A direct copy forces the base to match the reward model's exact predictions too closely, like memorizing every move instead of learning the strategy. That hurts later steps because it loses flexibility for new tweaks. This method keeps a healthy gap, so the base absorbs key reasoning smarts while staying adaptable.
Alex: Adaptable—that explains the persistence. And compared to methods that just toss out less useful words?
Sam: Those discarders break the flow of sentences, making training unstable—like ripping pages from a book. This softens the focus instead, keeping everything intact, which sped convergence over baselines. One clear edge: it landed higher than picking hard examples or filtering tokens.
Alex: A cycle that refines itself, with balance to avoid overkill. Makes sense why it sustains those steps forward. Sam, that balance keeps things stable. But theoretically, why does boosting those specific gaps nudge the model toward better overall reasoning?
Sam: Fair point. The researchers showed mathematically that this weighting scheme pulls the base model's word predictions closer to an ideal "target" distribution shaped by the reward model—like steering a boat toward a smarter navigator's path without forcing an exact copy. They proved the training errors, after weighting, effectively minimize a measure of mismatch between distributions.
Alex: So the weights create a target map from the smarter model. And minimizing mismatch to that gets you closer to the best possible?
Sam: Exactly. They derived that the updates align with reducing divergence to this target, which itself leans toward optimal behavior. A first-order check confirms: small steps toward the target reduce distance to the true best policy, as long as the target isn't too far off—like inching uphill via nearby ridges instead of straight-climbing a cliff.
Alex: Nearby ridges—smart way to stay stable. Does the paper tie this back to real gains, like speed?
Sam: Yes. It led to six times faster convergence during that phase. A downside: running the frozen reward model adds about 43% more compute time per step.
Alex: Trade-off noted—speed versus extra runs. Sam, that iterative path feels promising, but what does the evidence say about choosing the RL model over something simpler, like one tuned just on instructions?
Sam: They ran direct comparisons, tracking performance step-by-step on tasks testing basic knowledge and logic. The visuals in the paper highlight a clear pattern: the RL model gives much higher confidence to words that link ideas in explanations—like "First" to start a step, "But" to contrast, "So" to conclude, or "Let" to define variables. These act like signposts guiding a chain of thoughts.
Alex: Signposts for reasoning chains—makes sense why those matter. And the comparisons confirm the edge?
Sam: Yes. During mid-training on a 1-billion-parameter model, ReMiT with the RL guide consistently beat the version using instruction-tuned guidance, reaching about 4% higher average scores by the end. Those advantages carried through later stages.
Alex: Higher correct rates even on longer sequences. But did other approaches, like directly copying the guide's predictions, hold up as well?
Sam: They tested that too—called knowledge distillation, where the base model tries to match the guide's outputs exactly, like tracing over someone else's drawing. It jumps ahead fast early on, but post-training scores show it loses ground. The paper suggests this happens because exact copying stiffens the base, reducing its flexibility for new adaptations later.
Alex: Stiffens it—like a rigid sketch that can't be redrawn. So the softer nudge preserves room to grow. That reliance on a solid guide upfront—and the slowdown from extra runs—raises a fair question about real-world use. Does the paper test how well it holds up if that guide isn't perfect?
Sam: It does. They compared using a full reward-trained model against one trained for just 10% of those steps—still ahead of no guide at all, but clearly behind the full version across tests in math, code, and reasoning. This shows the approach works even with an okay guide.
Alex: Okay—so robust to imperfect guides. But that extra compute per step, does it really pay off in total time?
Sam: Yes, in practice. Despite a 43% drop in steps per second from the added model run, it reached the same performance in about three-and-a-half times fewer GPU hours than standard training on a billion-parameter model. The faster path to better accuracy means the slowdown gets offset.
Alex: A balanced step forward in making these models build on themselves more effectively. Thanks, Sam—that's a clear picture of where this fits. Thanks for listening to ResearchPod.