Muon Attains Iteration Complexity under Shuffling
Abstract
Muon is a stochastic first-order optimizer for matrix-valued parameters. It maintains an exponential moving average of stochastic gradients in a momentum buffer with coefficient , and orthogonalizes the buffer to obtain the update direction. Muon has been reported to accelerate and stabilize the training of large language models. In practice, it is often used with shuffling (sampling without replacement), where each epoch visits the components of a finite-sum objective in a permuted order. However, its iteration complexity in this setting remains open. We analyze Muon under shuffling, with the momentum buffer orthogonalized by the polar map. For smooth nonconvex finite-sum problems, we establish an iteration complexity for finding an -stationary point. This guarantee holds for every sequence of permutations, covering random reshuffling, shuffle once, and the incremental gradient method. This complexity matches that of stochastic gradient descent under shuffling in its dependence on , and improves on Muon's complexity under sampling with replacement. Our guarantee requires a problem-dependent that approaches one as the number of components grows. In contrast, no fixed guarantees convergence to stationarity for every number of components. We show this by constructing a family of smooth convex problems on which, for any fixed , Muon remains bounded away from stationarity once the number of components is sufficiently large. This failure occurs for every sequence of permutations and persists even with small stepsizes. These results suggest two practical tuning rules: if the training loss stops decreasing even after reducing the stepsize, increase ; when increasing , reduce the stepsize accordingly.
Create a lesson
Metadata
- Categories
- math.OC, cs.LG
- Comments
- 25 pages, 14 figures
Related papers
Nearly-Tight Oracle Complexity of Packing and Covering Linear Programs
Shared title terminologymath.OCJelena Diakonikolas, Guy Kornowski
Sharp Last-Iterate Bounds for the Stochastic subGradient Method
Shared title terminologymath.OCGuglielmo Beretta, Tommaso Cesari, Roberto Colomboni et al.
Rates of metastability for a generalization of the Halpern iteration
Shared title terminologymath.OCNicoleta Dumitru, Laurentiu Leustean
A Modified Quasi-Newton Method for Unconstrained Optimization with Nonpositive Curvature Detection and Structured Complexity
Shared title terminologymath.OCFarhad Rahbarnia, Dominique Monnet, Dominique Orban
Nearly Tight Almost Sure Convergence Rates for the Last iterate of SGD
Shared title terminologymath.OCWeiming Ou, Andrea Paudice, Xiao Wang
Projection-Based and Modulus-Based Equivalent Reformulations of the Linear Complementarity Problem and Corresponding Iterative Methods: A Review
Shared title terminologymath.OCBharat Kumar, Abhishek Kumar Singh Sengar, Deepmala