Skip to content

Muon Wins Pretraining, Then Loses The Fine-Tune: Three Papers On Post-Training Economics

#llm-fine-tuning #muon-optimizer #zeroth-order-optimization #on-policy-distillation #post-training #optimizer-comparison

Three papers landed this month on optimizer choice, zeroth-order fine-tuning, and on-policy distillation. Different mechanisms, same underlying lesson: the metric you watch during training is a weak predictor of what you get after adaptation.

Start with Muon. It drives down pretraining loss faster than AdamW, and that's been enough for plenty of teams to switch their training stacks. The new result is that the advantage can invert once you fine-tune. It inverts sooner for bigger models.

Muon wins pretraining, then stops winning ​

The setup is simple enough that it's odd nobody ran it at scale earlier. Pretrain with Muon, pretrain with AdamW, fine-tune both, compare downstream.

Past a large enough pretraining data budget, AdamW wins the fine-tuning comparison. Not by a rounding error.

The threshold moves with model size. Scale the model up and AdamW takes the lead at a progressively smaller token-to-parameter ratio. A small model might need an extremely long pretraining run before the reversal surfaces. A large one gets there with far fewer tokens per parameter. The teams with the most compute to spend on Muon are the teams that reach the reversal first.

That has a direct planning consequence. If you're pretraining in the hundreds-of-tokens-per-parameter range and you plan to fine-tune afterward, assume you're near or past the crossover. Run a short fine-tune on both optimizer checkpoints before you commit the full post-training budget. Two days of comparison beats three weeks of wasted SFT.

Key numbers: up to 2.61x fewer forward passes for ENGINE, with zero additional peak memory. AdamW overtakes Muon after fine-tuning at progressively smaller pretraining token-parameter ratios as model size grows. The margin-to-spread ratio flips from Muon-favored to AdamW-favored as the data budget grows.

The margin-to-spread ratio explains the flip ​

Fine-tuning is a perturbation of the model's outputs. The real question is how much perturbation the output distribution absorbs before the predicted token changes.

The paper formalizes this as the margin-to-spread ratio: the gap between the correct logit and the best wrong logit, divided by how widely the wrong logits are spread. A high ratio means the right answer sits clear of the pack and the errors are tightly clustered, so a nudge to the weights won't flip the prediction. A low ratio means the wrong logits are scattered and a small nudge picks a different argmax.

When the pretraining budget is small, Muon leaves a higher ratio than AdamW. When the budget is large, AdamW leaves the higher one. The post-fine-tuning ordering tracks that ratio exactly, which is the part that makes this more than a curve-fitting exercise.

They prove the mechanism in a linear associative memory: after a single update, gradient descent's ratio gains on Muon's as the data budget grows, and longer simulations keep the ordering. A toy model is not a 30B transformer. But it predicts the empirical result instead of being fitted to it, and that's more than most optimizer papers manage.

Quick Take: the optimizer you pick in month one is a post-training decision, and the only way to know which side of the crossover you're on is to fine-tune both checkpoints and score them.

Zeroth-order tuning has a variance problem ​

Zeroth-order optimization estimates gradients from forward passes on random perturbations. No backprop, no activation cache, no full optimizer state. The memory savings are real, and they're why people tolerate the method at all.

The bill arrives as variance. Each gradient estimate needs many forward passes to average out the noise, and in a 7B-parameter space the noise is enormous.

Curvature-aware ZO methods try to extract more from each probe using second-order structure. In high dimensions the gradient variance explodes and the per-step cost becomes prohibitive. The alternative is confining updates to a low-dimensional subspace. Variance drops. So does the information, because you've just declared the high-dimensional directions irrelevant, and on a fine-tuning task those directions are often where the task signal lives.

Full space is informative and noisy. Subspace is quiet and blind. That's the trade every ZO method makes, and most of them pick a side.

ENGINE refuses to pick a side ​

ENGINE borrows the variational multiscale idea from computational mechanics. Low-dimensional updates are the resolved coarse scale. The high-dimensional remainder is the unresolved fine scale. Static VMS theory says you can model the fine scale's effect on the coarse equations rather than resolving it head-on. ENGINE makes that dynamic.

Each V-cycle takes a cheap coarse step, probes the fine scale in the full parameter space, then injects what it found as a correction to the coarse trajectory. The coarse step stays cheap. The expensive probing happens less often and does useful work when it does.

The paper backs this with a statistical argument for variance reduction and for correcting curvature-induced bias, plus a convergence bound on the corrected coarse updates. On standard LLM benchmarks it beats existing ZO methods on accuracy and converges faster, with up to 2.61x fewer forward passes and no increase in peak memory.

The forward-pass number is the one that matters operationally. A ZO run that burned 10 hours of GPU time finishes in under 4, on the same hardware, under the same memory ceiling. Nothing about your deployment target changes.

One caveat: ZO is a memory-for-compute trade at heart. ENGINE makes the compute side cheaper without removing the trade. If you're time-bound rather than VRAM-bound, plain backprop through a LoRA adapter still beats any ZO method. If you're trying to adapt a model that can't hold activations for backprop on the node you've got, this is the lane you're in.

How the three techniques stack up ​

TechniqueWhere it sitsWhat it changesCost profileWhat to measure
Muon vs AdamW after fine-tuningPretraining optimizer, decided by SFT qualityUpdate rule applied months earlierSame pretraining compute, different downstream ceilingMargin-to-spread ratio, then downstream score after SFT
ENGINEZeroth-order fine-tuningGradient estimatorUp to 2.61x fewer forward passes, zero extra peak memoryAccuracy at fixed wall clock, not at fixed step count
SPTAOn-policy distillationTeacher weights, before OPD startsExtra RLVR teacher-training passStudent score against OPD with a task-level RLVR teacher

The table is also the argument. Three different knobs, three different cost centers, and in each case the number you'd naively optimize during training isn't the number that decides whether the method worked.

On-policy distillation fixes exposure bias by training the student on its own rollouts. Instead of imitating a teacher's clean trajectory, the student generates a prefix and the teacher labels each next token along that student-generated path.

The problem is that student prefixes contain reasoning errors and patterns the teacher has never produced. The teacher's token-level supervision on a broken prefix is unreliable, and it degrades as the prefix gets longer. If the student has gone off the rails for six steps, the teacher is being asked to continue from a state that's off-distribution for itself. It will produce something plausible. Plausible is not corrective.

This is a teacher-side distribution mismatch, not a student-side one. The teacher is fine at solving problems. It's bad at being queried from states it wouldn't have visited.

SPTA adapts the teacher to the states the student actually visits ​

Student-Prefix Teacher Adaptation runs before OPD starts. The pipeline collects student rollout prefixes at random lengths, then continually trains the teacher to continue from those prefixes using reinforcement learning with verifiable rewards. Each prefix is the context; the reward lands on whether the final answer is correct.

The reward placement does the work. Because the signal is on the final answer and not on matching the student's intermediate tokens, the teacher learns to recover from a bad state rather than imitate one. Then the adapted teacher runs standard OPD, with the distillation objective untouched.

Results on mathematical reasoning benchmarks: average student score improves over standard OPD and over OPD with a task-level RLVR-adapted teacher. That second baseline is the interesting one. Making the teacher better at math helps less than making the teacher better at recovering from this student's mistakes. Teacher competence and teacher usefulness on student states are separate properties, and distillation only consumes the second.

The cost is explicit. You pay an RLVR teacher-training pass before the distillation run begins. When I first read this, my reaction was that the pipeline looked cheap because the OPD stage is unchanged. It isn't cheap. Budget the teacher adaptation or you'll run out of compute halfway through.

What trips people up ​

Reading pretraining loss curves as a proxy for post-fine-tune quality. Muon looks better across the entire pretraining run and still loses after SFT at large data budgets. If you're committing to a multi-week run, score the downstream task on both optimizer checkpoints first.

Tuning ZO step size when the problem is probe count. Variance scales with the number of random perturbations per step, not with the learning rate. Halving the LR on a noisy estimate gives you a slower noisy estimate.

Training the teacher to imitate the student. If you adapt the teacher on student prefixes with cross-entropy or KL against the student's own tokens, you teach it to agree with the mistakes. Reward the final answer and let the intermediate reasoning diverge.

Assuming a stronger teacher is a better distillation teacher. An RLVR-tuned teacher that solves 15% more problems independently can still be worse on OPD if it's brittle on student prefixes. Measure the teacher on the states the student produces, not on the test set.

Forgetting that ENGINE still needs a memory budget. Zero additional peak memory means you don't pay extra, not that you don't pay. The coarse step and the subspace still fit in whatever VRAM you had before, so there's no headroom gained for larger batches.

The common failure mode ​

All three papers fail in the same place: the diagnostic you have during training is computed from data the method itself generated. Pretraining loss for Muon. Gradient norm for zeroth-order. Teacher log-probability for distillation. Each one is optimistic in exactly the regime where the method is weakest. If you're adopting any of these, pick the validation set before you pick the hyperparameters, and make it the downstream task rather than the training objective.

The Bottom Line ​

If you're pretraining a model you intend to fine-tune and your budget is long in tokens-per-parameter terms, run both optimizers through a short SFT before choosing. Muon is the right default for short budgets; past the crossover, AdamW gives you a better starting point for adaptation, and the crossover arrives earlier the bigger your model is.

If you're already using zeroth-order fine-tuning because backprop doesn't fit, try ENGINE. Same peak memory, up to 2.61x fewer forward passes, higher accuracy at convergence. If your constraint is wall-clock rather than VRAM, skip ZO and use LoRA with backprop.

If you're running on-policy distillation and your student's rollouts are visibly worse than the teacher's own traces, add the SPTA teacher adaptation pass before OPD. Benchmark against OPD with a task-level RLVR teacher, not vanilla OPD, or you'll credit the gain to the wrong thing.

Sources ​