Muon optimizer improves private training of deep neural networks
How Does Muon Work in Private Deep Learning? Scalable Differentially Private Training via Orthogonalization
Machine Learning
Summary
Training deep learning models while keeping data private is tricky because the training method needs to balance efficiency and privacy. The paper studies an optimizer called Muon that uses special mathematical steps to improve training under privacy rules. The authors develop a private version of Muon that behaves well under differential privacy, a formal privacy guarantee. They show their method works as well or better than existing private training techniques on image and language tasks, depending on batch size and optimizer.
What this means in practice
- •For machine learning engineers: Train deep neural networks with strong differential privacy guarantees using the Muon optimizer for potential improvements over standard DP optimizers.
- •For natural language processing teams: Select the best optimizer for private language model training by adjusting batch sizes between Muon and Adam optimizers based on privacy constraints.
Authors
Alexander Gaponov, Grigory Malinovsky, Egor Shulgin, Peter Richtarik
Abstract
Training deep neural networks requires optimizers that balance computational efficiency with formal data privacy. While orthogonalized update rules, such as the recently introduced Muon optimizer, have shown strong empirical performance and scalability, their behavior under Differential Privacy (DP) is not yet understood. In this paper, we propose DP-Muon, a differentially private variant of the Muon optimizer. By analyzing Muon's orthogonalized updates through the lens of a Linear Minimization Oracle (LMO), we show that the leading effect of per-example clipping is a positive rescaling of the gradient, to which the LMO is blind, so that only a small directional residual controlled by the centered gradient variance enters the optimization error. This yields an $\mathcal O(K^{-1/4})$ convergence rate, up to logarithmic factors, to a clipping-dependent neighborhood at a fixed noise scale and, with noise calibrated to a fixed $(\varepsilon,δ)$ budget, the standard $(\sqrt d/(n\varepsilon))^{1/2}$ privacy--utility bound of DP-SGD, without assuming bounded gradients. Furthermore, we investigate the hyperparameter landscape of DP-Muon and document how the optimal learning rate, momentum, and batch size change under privacy. Empirically, on image classification DP-Muon matches or improves on DP-SGD and DP-Adam, whereas on language modeling the best optimizer depends on the batch size, with DP-Muon best at small batches and DP-Adam best near the privacy-optimal batch size.