full update
Muon-LoGo: Local Orthogonalization with On-Demand Global Corrections
Muon orthogonalizes matrix updates, but full distributed orthogonalization requires full-matrix communication when matrices are sharded across devices. Blockwise Muon avoids this communication by orthogonalizing each shard independently, but ignores cross-shard structure. The missing cross-shard structure is especially relevant to sparse mixture-of-experts (MoE) models, where MoE token routing changes update statistics across experts and training steps. We present Muon-LoGo (Muon with on-demand LOcal-to-Global Orthogonalization), a method that chooses blockwise or full orthogonalization for each matrix. Muon-LoGo monitors the coefficient of variation of spectral norms across tensor-parallel shards. Muon-LoGo normalizes each observation using recent statistics for the same matrix and performs full orthogonalization only when the normalized score exceeds a threshold. We establish norm control, endpoint recovery, and per-matrix convergence for adaptive geometry switching. Under an explicit score-calibration assumption, we derive a threshold-dependent reference-error bound. We also give exact communication accounting for independent matrix-level decisions. Experiments on 0.4B-parameter dense and MoE language models show that Muon-LoGo improves over Blockwise Muon. On the MoE model, Muon-LoGo achieves a final validation loss within 0.5% of Full Muon while reducing full-orthogonalization communication by 65.0%.
Dive Into Deep Learning -- Part 2. This is part 2 of my summary of the…
The naive approach: Take the derivative of the loss function which is an average of the losses calculated on every example in the dataset, a full update is powerful but it has some drawbacks… Drawbacks: . Can be extremely slow as we need to pass over the entire dataset to make a single update. . If there is a lot of redundancy in the training data, the benefit of a full update is very low The extreme approach Consider only a single example at a time and update steps based on one observation at a time, does that remind you of something?? Yes, it's the stochastic gradient descent algorithm or SGD. It can be effective even in large datasets but it also has some drawbacks… Drawbacks: . It can take longer to process one sample at a time compared to a full batch .
Coordinate Friendly Structures, Algorithms and Applications
Peng, Zhimin, Wu, Tianyu, Xu, Yangyang, Yan, Ming, Yin, Wotao
This paper focuses on coordinate update methods, which are useful for solving problems involving large or high-dimensional datasets. They decompose a problem into simple subproblems, where each updates one, or a small block of, variables while fixing others. These methods can deal with linear and nonlinear mappings, smooth and nonsmooth functions, as well as convex and nonconvex problems. In addition, they are easy to parallelize. The great performance of coordinate update methods depends on solving simple sub-problems. To derive simple subproblems for several new classes of applications, this paper systematically studies coordinate-friendly operators that perform low-cost coordinate updates. Based on the discovered coordinate friendly operators, as well as operator splitting techniques, we obtain new coordinate update algorithms for a variety of problems in machine learning, image processing, as well as sub-areas of optimization. Several problems are treated with coordinate update for the first time in history. The obtained algorithms are scalable to large instances through parallel and even asynchronous computing. We present numerical examples to illustrate how effective these algorithms are.