← All tags

#idea

Muon Updates and Why Momentum Looks Different on Matrices

Orthogonalized momentum for 2D weights is not SGD with extra steps. A short derivation of the polar factor, when it helps, and when it is theater.

Sinkhorn on a Router, Not Just Softmax

When a small model picks tools or experts, plain softmax hides imbalance. I walk through doubly-stochastic routing, the entropy regularizer, and what changed in offline eval.

Condition Numbers Before You Unfreeze Adapters

A notebook habit: estimate how ill-conditioned your fine-tuning step is before you turn on full-weight updates, using layer norms, spectral estimates, and a one-line PyTorch probe.