Part 2 of 9 in Training Metis. Previous: A 73M Model That Calls Our Tools · Next: 400 Million Tokens for 73 Million Parameters
We built our own optimizer, called it Lazy Polar Drift, and rebuilt it twice. Version 1 scored 1.7992, version 2 scored 1.8209, version 3 scored 2.0861. Plain AdamW scored 1.6445 to 1.7345 in the same kind of test. The raw numbers rise with each rewrite, though the three versions were scored on different baselines, so compare each only with the Muon or AdamW row beside it below.
That is one row of a registry we keep for the small model that became Metis. The recipe that won is boring: AdamW with a warmup, a cooling schedule and zero-initialised output layers. This part lists what beat it, and what did not.
How we scored every change
The standard test was 600 updates, with 3 random seeds, comparing validation bits per byte (bpb). The four methods we invented got a cheaper first screen, described below. Bits per byte is how many bits the model needs to encode one byte of unseen text, so lower is better. When a method changed the time per update, the registry also gives a verdict at equal wall time.
One warning. We changed the tokenizer partway through, which moved every baseline. Compare numbers only inside one comparison. The registry is titled 63M, and the family's first name is metis-63m. The exported model has 72,632,320 parameters, and our notes do not explain the gap between the two.
Three cheap changes won
The starting point is AdamW at a constant learning rate of 3e-4, which scored 1.7615 (standard deviation 0.017) at 121.6 ms per update. Adding warmup gives the registry's baseline of 1.7345 (0.0074). Three changes beat the plain start without costing any time.
| change | what it does | result |
|---|---|---|
| warmup 30 | ramps the learning rate up over the first 30 updates | 1.7345, against 1.7615 with no warmup |
| WSD cooling | holds the rate, then cuts it linearly to zero over the last 20% | 1.712 |
| zero-init | starts the output projections of attention and feed-forward at zero | 1.6833, against 1.712 |
A linear decay across the whole run scored 1.79 to 1.82, which is worse than no decay. We did not test other cooling fractions.
Muon cost 34% more time for 0.013 bpb, then lost
Muon is a newer optimizer that reshapes each weight update so that its directions are balanced. At its best setting, a learning rate of 1e-3, it scored 1.722, which is 0.013 better than AdamW at equal steps. It also took 162.8 ms per update against 121.6, which is 34% more time.
On the new tokenizer, with zero-init on, Muon scored 1.6903 and AdamW scored 1.6445. Without zero-init the two were close, 1.6932 for Muon and 1.6976 for AdamW. Zero-init helped AdamW by 0.053 and Muon by only 0.003. Our registry guesses that Muon's fixed-size steps kick the zeroed layers, which we did not test. A hybrid, with Muon on part of the matrices and AdamW on the rest, scored 1.6954 at a learning rate of 1e-3 and 1.7059 at 2e-3. We closed the whole Muon family at this size.
Our own optimizer got worse with each rewrite
Muon's expensive step is a matrix iteration. Lazy Polar Drift (LPD) was our idea to run that step only every K updates and reuse the result in between.
| version | idea | result |
|---|---|---|
| v1 | reuse the old direction for K updates | K=4: 1.7992, K=8: 1.9362, against Muon 1.7008 |
| v2 | cache the polynomial, apply it every update | K=4 diverged (gradient norm 1e17); with renormalising 1.8082, 1.8209, 1.8320, against Muon 1.6903 and AdamW 1.6445 |
| v3 | damped polar factor from a recent paper | NaN after update 1; reruns 2.0861, 2.1565, 2.1790, against AdamW 1.6511; 142.7 to 155.7 ms, against 125.1 |
Our diagnosis, from the registry notes: version 1 overshot, because a stale direction applied K times is a long step in the wrong place. Version 2 diverged because a stale cached polynomial amplifies small directions, and we suspect 16-bit arithmetic made it ill-conditioned. Version 3 gave NaN on the first update, when the momentum was close to rank 1, and the notes blame 16-bit arithmetic and too much damping. The v3 reruns used a larger damping value. Each version fixed the failure of the one before and found a new one, and none came close to Muon, let alone AdamW. We closed the family at this size.
Four methods we invented lost or tied at equal time
We also built four methods of our own. Error-annealed cooldown replays the hardest examples during cooling. A self-taught Matryoshka scheme distils small widths from the full one. Width growth starts with a narrow feed-forward layer and widens it mid-run. Depth growth starts with fewer layers and adds the rest.
The first screen ran 300 updates with one seed. The recipe scored 1.845. Zero-init width growth scored 1.868 at 0.95 of the time, error-annealed cooldown 1.873, and depth growth 1.887 at 0.87 of the time. Distillation scored 1.996 to 2.124. Growth seeded from the model's mistakes scored 2.043 to 2.275. Those two were clear losses, and the cooldown was a small one.
Two methods saved time, so a fair test had to give them more updates. We reran those two, their pair and a 1-layer start, with 2 seeds at equal wall time:
| arm | updates | bpb |
|---|---|---|
| recipe | 300 | 1.8503 |
| depth growth from update 115 | 345 | 1.8522 |
| width and depth growth, zero | 360 | 1.8538 |
| width growth, zero | 316 | 1.8555 |
| depth growth from a 1-layer start | 435 | 1.8718 |
The seed spread of the recipe was 0.011. Every arm except the 1-layer start sits inside it, so growth is a null result at equal time: it neither helps nor hurts. The 1-layer start was a loss. None of the four invented methods beat the plain recipe.
QK-norm tied the test and stayed in anyway
Two more changes looked neutral. A cap on the output logits scored 1.7153 against 1.712. Fusing one activation into the matrix multiply measured 120.3 ms against 120.4 and we reverted it. QK-norm scored 1.7174 at a learning rate of 3e-4 and 1.7162 at 6e-4, also against 1.712.
QK-norm stayed in the recipe for a reason the test could not see. The Qwen3 layout that llama.cpp reads normalises queries and keys. A checkpoint trained without it diverged from llama.cpp at the fourth greedy token. With it, 24 tokens matched exactly. A tie in the training test was settled by what the deployment needed.
Joint block heads, which predict several tokens at once, scored 0.026 worse in all 3 seeds. A hunt for host-side waiting showed 124.9 ms of wall time against 120.1 ms of GPU work. The 4.8 ms gap was about 262 kernel-boundary pauses of about 18 microseconds each, so only fewer launches could help.
What the closure does not cover
These tests are short. Each ran 300 to 600 updates, up to about 10 million tokens. The papers we read claim growth saves 1.3 to 2 times the compute, which we could not confirm. The paper behind NormPre-G, a Muon variant, reports its gains at 10,000 steps, more than 16 times our 600. NormPre-G and Polar Switch stayed in the queue and were never run.
To check this, rerun the AdamW and Muon rows at ten times the tokens at equal wall time. If Muon wins by more than the seed spread, our closure only holds for short runs. Part 3 does a long run of 24,400 updates, with the plain recipe, the winner of every A/B in this part.

Commentaires
Pas encore de commentaires.
Se connecter pour commenter.