Dimuon optimizer reverse engineered and open-sourced, verified under 1% error across 8 model families

anpaure · x · 2026-10-29

Developer anpaure published a reverse-engineered PyTorch implementation of the Dimuon optimizer (github.com/anpaure/dimuon).

The recovered update direction is D = L · PE(L · M · C) · C, where L and C are inverse fourth roots of the previous momentum's row/column energies, applied before and after orthogonalization; Polar Express runs in FP16 with momentum stored in BF16.

Key differences from Muon:

The reconstruction was verified across 8 model families, ranks 1–128 and up to 20 steps, with typical error under 1%; figures and an error table are included.

Related event: Developer reverse-engineers Dimuon optimizer, open-sources PyTorch implementation(5 posts)→

Original post →

More from Research

Research channel →