Manuscript Offprint
arXiv:2610.26742Polar Switch: Fast Muon Orthogonalization with Polynomial Circuits
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Muon, a 2024-born optimizer for language models, differs from the 2015-born spectral gradient descent [1, 2] mainly in its fast, GPU-friendly Newton–Schulz polynomial for orthogonalizing the gradient matrix. Accordingly, a line of research proposes faster polynomial iterations for gradient orthogonalization, such as Polar Express and Gram Newton-Schulz, both built on quintic polynomials. In this paper, we introduce Polar Switch, a new approach to polynomial gradient orthogonalization. Using simple polynomial circuits, Polar Switch reaches a given high polynomial degree at a lower FLOP cost than quintic iterations. We define a circuit as a short sequence of symmetric matrix products on a few square buffers, and circuits with k products form a restricted family of odd polynomials of degree up to . We choose the sequence of products in each circuit, their coefficients, and how the circuits are composed by numerically minimizing a worst-case bound on the polar approximation error. This minimization is subject to a FLOP budget that accounts for symmetric matrix multiplication kernels and a rounding constraint for numerical stability in half precision. Our two recommended Polar Switch methods have 15.5–18.7% lower runtime than Polar Express on square matrices and 8.6–16.2% lower runtime than Gram Newton-Schulz on rectangular matrices with aspect ratios 3.25, 3.5, and 8, with comparable approximation accuracy. In pretraining Modded-NanoGPT #91, Qwen3-0.6B, and Gemma 3-1B, Polar Switch reaches final validation losses similar to those of established orthogonalization methods. Across the more than 14 million matrices that each of the two recommended methods orthogonalized in these runs, the estimated output spectral norms never exceed the designed bounds by more than 3%, demonstrating their numerical stability.
1 Introduction
For years, Adam [3] and AdamW [4] have been the go-to optimizers for training large language models (LLMs) [5]. Both scale the momentum coordinatewise, without explicitly accounting for the matrix structure of the parameters. Muon [6] takes a different approach in that it uses the matrix structure of the momentum and approximates its polar factor to form the update. Studies have shown that Muon can reach the same training loss as AdamW with less computation [7, 8], and it has since been used to train several frontier open-weight LLMs, including Kimi K3 [9], GLM-5 [10], Step 3.5 Flash [11], DeepSeek-V4 [12], and Qwen3.8-Flash-Next [13]. This advantage comes with additional computation at each optimizer step, because Muon must approximate the polar factor. The question is therefore how to compute this approximation accurately and efficiently.
Let be a matrix-shaped parameter, its gradient, and its momentum matrix. Without loss of generality, let , because matrices with more rows than columns are handled by transposition. With momentum coefficient and learning rate , a simplified Muon update is
*Code is available at https://github.com/zhehangdu/polar-switch.
University of Pennsylvania. Emails: {duz,suw}@wharton.upenn.edu.
If is the compact singular value decomposition (SVD), then polar( [14]. However, computing an SVD at every optimizer step is expensive for LLM training. Muon approximates the polar factor using polynomial iterations inspired by Newton–Schulz [6]. First, we normalize as with a small ( in our implementation), so that all singular values of lie in [0, 1]. At iteration , we choose a quintic polynomial with coefficients and compute
Let be the compact SVD of . The update is . Suppose that, at each iteration , for every singular value of the current matrix . The iteration replaces each singular value by . After iterations, each initial singular value becomes . Approximating the polar factor in Muon therefore requires this composition to approximate one on the positive initial singular values.
The classical Newton–Schulz iteration uses , whose repeated application converges to one for [14]. Muon uses Jordan's fixed quintic [6]. Polar Express (PE) uses minimax approximation to choose a different quintic polynomial at each iteration, minimizing its maximum deviation from one over the current singular value interval [15]. Jordan's method and Polar Express differ in their coefficients, but both use quintic iterations. We therefore ask the following question:
Under a fixed FLOP budget for matrix orthogonalization, do repeated quintic iterations yield the most accurate polar approximation?
We answer this question negatively with Polar Switch, which replaces repeated quintic iterations with a few high-degree polynomial circuits. Each circuit is a short sequence of symmetric matrix products on a small number of square buffers. For example, the first circuit of Polar Switch 3-55 (PS3-55) uses three square buffers , with the coefficients given in Algorithm A.1:
(2)
Each squaring doubles the degree in , to 2, 4, 8, 16, and 32, so the circuit applies an odd polynomial of degree 65 to the singular values. Polar Switch searches numerically for the circuits and their coefficients that approximate the polar factor most accurately under a FLOP budget. Table 1 compares Polar Switch with the quintic baselines. Polar Switch 2-55 (PS2-55) and PS3-55 use fewer FLOPs than Polar Express and Gram Newton-Schulz and less memory than Gram Newton-Schulz.
We make three contributions. (i) We introduce Polar Switch, a FLOP-efficient orthogonalization method for Muon based on high-degree polynomial circuits. (ii) We develop efficient GPU implementations of Polar Switch with two or three square buffers. Each kernel combines a matrix product and its additions before one float16 store, and we select coefficients that try to keep this half-precision computation numerically stable. (iii) Across three LLM pretraining setups, Polar Switch reaches final validation losses similar to those of established orthogonalization methods.
The remainder of the paper is structured as follows. Section 2 reviews related work. Section 3 presents Polar Switch, explains how we design its circuits and coefficients under a FLOP budget, and describes its GPU implementation. Section 4 compares Polar Switch with quintic baselines in LLM pretraining, runtime, and approximation accuracy. Appendix A gives the theory, the numerical search, and the coefficients of Polar Switch. Appendix B gives the detailed experimental setup for LLM pretraining and the runtime and approximation accuracy experiments.
Table 1: Memory in matrix elements, FLOPs, and final singular value intervals for with and . In exact arithmetic, each method maps singular values in [0.001, 1] into its final interval. Jordan and Gram Newton–Schulz multiply the output of their final iteration by a constant that centers this interval at one. Algorithm A.1 gives the iterations of Polar Switch.
| Method | Memory | FLOPs | Final interval |
| Jordan [6] | [0.562544, 1.437456] | ||
| Polar Express [15] | [0.858872, 1.141128] | ||
| Gram Newton–Schulz [16] | [0.787021, 1.212979] | ||
| Polar Switch 2-55 | [0.872263, 1.106236] | ||
| Polar Switch 2-64 | [0.897110, 1.081213] | ||
| Polar Switch 2-54 | [0.771715, 1.201363] | ||
| Polar Switch 2-512 | [0.894082, 1.091006] | ||
| Polar Switch 2-4111 | [0.930600, 1.056149] | ||
| Polar Switch 2-11111 | [0.867287, 1.118678] | ||
| Polar Switch 3-55 | [0.898309, 1.080954] | ||
| Polar Switch 3-64 | [0.913241, 1.070202] | ||
| Polar Switch 3-54 | [0.800196, 1.178895] |
Efficient Muon orthogonalization. Equivalent formulas can round differently because their intermediate computations differ [50], and small singular values are sensitive to reduced precision [51]. Mixed precision is studied in linear algebra [52–54] and training [55, 56]. Gram Newton-Schulz [16] accumulates square multipliers between rectangular updates, and Dion3 [57] uses it for distributed training. AMO [58] adapts iteration counts, Dion [59] uses low-rank updates, Dion2 [60] selects rows or columns, Hierarchical Muon [61] uses tiles, and CacheMuon [62] reuses transforms. Turbo-Muon [63] uses an almost-orthogonal preconditioner for faster updates, and PRISM [64] computes matrix functions adaptively. IFNSO [65] replaces the iterations with one polynomial in selected matrix powers and learns its coefficients. A cubic Newton–Schulz schedule [66] uses ten instead of fifteen dominant matrix products and reaches a similar validation loss. MuonBP [67], CMuon [68], and DMuon [69] support distributed computation. Polar Switch builds on polynomial Newton–Schulz iterations with efficient GPU implementations.
Muon and matrix optimization. Muon [6] forms matrix updates by approximately orthogonalizing matrix momentum and has been used for efficient LLM training [7, 8]. Other optimizers use diagonal gradient statistics, as in AdaGrad [70], or factored second moments, as in Adafactor [71]. K-FAC [72] and EKFAC [73] approximate curvature using Kronecker factors. Shampoo [74] and Distributed Shampoo [75] use matrix preconditioners, and SOAP [76] applies Adam in the eigenbasis of Shampoo's preconditioners. Spectral descent [1, 2] exploits singular vectors. Analyses of Muon cover finite Newton–Schulz iterations [77], inexact polar updates [78], modular duality [79], norm-constrained optimization [80], preconditioning [81] (including PolarGrad [82] and Newton–Muon [83]), curvature [84], stability [85, 86], convergence [87, 88], and batch size [89]. Broader spectral scaling theory addresses feature learning [90]. Extensions add symmetry constraints [91] or change the normalization [92], the preconditioning [93], the optimization subspace [94], or the coordinate system [95]. Activation-Keyed Momentum (AK-Momentum) [96] introduces anisotropic momentum. DeMuon [97] addresses decentralized optimization. Applications include diffusion training [98], low-rank adaptation with ISO-LoRA [99], and LLM training [100]. Polar Switch changes Muon's polar approximation by designing the polynomial circuits used to form its matrix updates.
3 Polar Switch
We develop Polar Switch in three steps. First, we define polynomial circuits and how they change the singular values (Section 3.1). Second, we describe how we implement each circuit on a GPU in half-precision floating point and how we try to make it numerically stable (Section 3.2). Third, we state the design problem that Polar Switch uses to choose its circuits and their coefficients, and we give the resulting Polar Switch methods (Sections 3.3 and 3.4).
3.1 Polynomial Circuits
Let with . Each outer iteration (Definition 3.1) calculates a polynomial of the Gram matrix and updates . Evaluating a high-degree polynomial at needs intermediate matrices, and the GPU memory limits how many of them we can store. Polar Switch therefore stores them in reusable square buffers .
Definition 3.1 (Outer iteration and circuit). An outer iteration updates X with a circuit, a fixed sequence of buffer updates that forms a straight-line program [101]. The circuit first stores in and then performs k inner iterations in sequence:
The output buffer is , the two factors are and , the addend is , and are real coefficients. We call the inner depth. The outer iteration ends with . A circuit obeys three rules. First, an inner iteration reads only buffers that hold values, namely and the buffers that earlier inner iterations wrote, so with . Second, the output index is not a factor index, . Third, the output index can be the addend index, . Section 3.2 uses the GPU kernel to explain the second and third rules. Algorithm 1 gives the general form of Polar Switch, and Algorithm A.1 gives the circuits and coefficients of each method. Each outer iteration has its own circuit, and we omit from its indices and coefficients.
Algorithm 1 General form of Polar Switch
Input: , ; outer iterations, where outer iteration has a circuit (Definition 3.1) with inner iterations
Output: Approximation to the polar factor of
1: ; ;
2: for do
3:
4: for do
5:
6: end for
7:
8: end for
9: return
Each initialized buffer holds a polynomial in , because and each inner iteration combines buffers with a product, a sum, and a diagonal shift. Let be the compact SVD of , so that . Then after inner iteration , each initialized buffer is , where the polynomials in the singular value follow the scalar circuit
The last output buffer holds . The outer iteration gives with the odd polynomial of degree . Thus, it replaces each singular value with , provided . After outer iterations with polynomials , the result is with .
Definition 3.2 (Circuit family). Let be the set of circuits with inner depth on square buffers, over all buffer indices and coefficients . A circuit calculates the polynomial in (4). The family
is the set of odd polynomials that k inner iterations on g square buffers can calculate.
Let be the set of odd polynomials of degree at most . The degree of a product is at most the sum of the degrees of its factors, so inner iterations give , and
A polynomial in has coefficients, but for fixed buffer indices, a polynomial in depends on only the 3k coefficients .^2 A central step of Polar Switch is to optimize the circuits in .
For example, the first circuit of PS3-55 in (2) is in , and each inner iteration squares the output of the previous one ( ). Thus, doubles to 2, 4, 8, 16, and 32, and has degree , the largest degree in (5). The iterations of Jordan [6], Polar Express, and Gram Newton-Schulz can also be written as circuits.
If X has rank below n, each buffer also has the term . This term vanishes in , so the outer iteration below is the same for all ranks.
For , the number of degrees of freedom is smaller than . For , multiplying the output of inner iteration by a constant and dividing its later uses by does not change (Appendix A.2). For example, each nonzero with can be set to 1, so each choice of buffer indices gives at most degrees of freedom. For , , so each choice parametrizes a set of measure zero in , and the finitely many choices give a proper subset .
Example 3.3 (Standard quintic Newton–Schulz). The quintic iteration (1) of Jordan [6] and Polar Express adds the linear term in the final update . Since , it is equivalent in exact arithmetic to a circuit with one inner iteration on buffers:
In finite precision, the two forms can give different results, because they round different intermediate matrices.
Polar Express [15, Remark 3.2] permits different polynomial degrees across iterations, but its implementation uses degree five. The remark refers to dynamic programming that chooses the best sequence of polynomial iterations under a budget on the number of multiplications [49]. If each matrix multiplication has the same cost, a nonic iteration (four multiplications) is 33% more expensive than a quintic iteration (three). However, the FLOP cost on GPUs is different from the number of matrix multiplications. With symmetric kernels, a quintic iteration costs FLOPs and a nonic iteration costs FLOPs, where (Proposition 3.5). A nonic iteration thus needs only 25% more FLOPs at , and less for rectangular matrices. Polynomial iterations of higher degree therefore need fewer FLOPs on GPUs than the multiplication count suggests. This lower cost can allow more accurate polar approximations under the same FLOP budget, and Polar Switch uses it to construct circuits of high degree.
Example 3.4 (Gram Newton–Schulz). The standard Gram Newton–Schulz (GNS) iteration [16] uses the coefficients , , of Polar Express, with an extra safety factor 1.05. Starting from , the iterations are:
We use the names of the official code, except for . tracks the Gram matrix after quintic step , collects the matrix that multiplies , and and are intermediate matrices. In exact arithmetic, it has the equivalent circuit form
Each row runs from left to right, and a product without coefficients has and .
The two outer iterations of GNS have inner depths 5 and 9 on buffers, so they are circuits in and . Their polynomials have degrees 25 and 125, but 5 and 9 inner iterations can reach the full degrees 65 and 1025 in (5). The gap comes from the mixed products , such as and , which track the Gram matrix of the updated .
Polar Switch does not impose full degree as a constraint when optimizing its circuits and their coefficients, but all circuits we found reach full degree. For example, when , the alternating writes of our search (Section 3.4) make each inner iteration square the output of the previous one (), and for , all circuits that we found also do so, so they reach the full degree. For example, PS3-55 has inner depths 5 and 5 and degrees 65 and 65 (Algorithm A.1). This suggests the hypothesis that, for a given inner depth, the most accurate way to approximate the polar factor is to use the highest possible degree, even within the restricted family . To reach the full degree , the largest degree among the buffers must double at every inner iteration. Then only the output of the previous inner iteration has the largest degree, so each inner iteration must square it, and a circuit with a mixed product has a lower degree. This explains why GNS reaches a lower total degree, , than PS2-55, , at a higher FLOP cost (Table 1).
3.2 GPU Implementation, Cost, and Rounding
In Algorithm 1, each inner iteration runs as one GPU kernel. Each buffer holds a polynomial in (Section 3.1), and polynomials in the same symmetric matrix are symmetric and commute, so each product is symmetric. A symmetric matrix multiplication kernel calculates only one triangle of such a product and copies it to the other triangle. Polar Switch extends such a kernel from the QuACK kernel library (Appendix B). For inner iteration , the kernel multiplies the product by , adds , and adds to each diagonal entry in its epilogue, without allocating an identity matrix. The kernel therefore writes each output to memory once, and the additions need no separate kernels or extra matrices.
This kernel explains the second and third rules of Definition 3.1. Each entry of the product needs a full row and a full column of the two factors, so the kernel still reads the factors while it writes the output, and the output cannot overwrite a factor . Each entry of the output needs only the same entry of the addend , so the output can overwrite the addend .
The circuits of Polar Switch use square buffers , each containing elements. They also use two rectangular buffers, each containing elements. One holds the current matrix . The other holds the result of the update in Algorithm 1. The result needs a separate buffer because the multiplication still needs the entries of the current . Once the update is complete, the result becomes the new .
The products of a circuit have different costs on a GPU, so we count FLOPs. We count only the leading-order FLOPs of matrix products, because they are dominant for large matrices. Let be the aspect ratio. A symmetric kernel halves the FLOPs of a product because it calculates only one triangle.
Proposition 3.5 (Cost and memory of an outer iteration). An outer iteration with inner depth k costs
With g square buffers and two rectangular buffers, a method stores elements.
Proof. The outer iteration calculates three types of products. The Gram matrix is symmetric, and it costs FLOPs. Each of the inner iterations calculates a symmetric product , which costs FLOPs. The final update is a general product, and it costs FLOPs. The square buffers hold elements, and the two rectangular buffers hold elements.
We now explain how Polar Switch tries to keep its half-precision computation numerically stable. Polar Switch normalizes X in float32 and converts it to float16. During the iterations, X and all buffers are stored in float16. Each product runs on float16 Tensor Cores and accumulates in
In the epilogue of a matrix multiplication kernel, additional operations, such as scaling and matrix addition, can be applied to the accumulated product before storing the result in global memory, without requiring a separate kernel launch.
Following the standard Gram Newton-Schulz implementation [16], we normalize in float32 before converting to float16. We use float16 rather than bfloat16 because it has 10 fraction bits instead of 7.
float32. The epilogue applies the scaling by , the addend , and the diagonal shift in float32, and then the kernel converts the result to float16 and stores it in . This avoids an additional square buffer and an intermediate float16 matrix, which reduces memory traffic and avoids an additional rounding step. The main rounding of an inner iteration is likely the float16 store of its result, which rounds each entry to the nearest float16 value. The Gram matrix and the output are stored in the same way, so an outer iteration with inner depth has stores. To try to select coefficients for which the circuit stays stable under these roundings, we add a multiplicative factor for each store to the scalar circuit (4).
Definition 3.6 (Perturbed outer iteration). Let be a circuit with buffer indices and coefficients , let be a safety factor, and let . The perturbed outer iteration is
(6)
The rounding factors , , and model the stores of the Gram matrix, of inner iteration , and of the output. For , .
3.3 Design Problem
In exact arithmetic, after the normalization in Algorithm 1, each singular value of is at most one. As in Polar Express, we optimize the polynomials for singular values in with (Appendix A explains this choice). We fix the number of square buffers. A schedule lists the inner depths of outer iterations, and its cost is FLOPs (Proposition 3.5). We want to find the schedule and the polynomials with the smallest worst-case error under a FLOP budget . In matrix form, the problem is
where are the singular values of , is the composition that the circuits calculate, and for the compact SVD is the output of the outer iterations in exact arithmetic.
Proposition 3.7 (Scalar reduction). The matrix problem (7) has the same objective, and hence the same value and the same minimizers when they exist, as the scalar minimax problem
Proof. Since polar(X) = UV and U and V have orthonormal columns, the spectral norm satisfies
The bound is attained when at least one singular value of is a maximizer of on , and such an is admissible in (7). Thus, the two problems have the same objective for each schedule and each choice of , .
We design the approximation in (8) through intervals with , , and in exact arithmetic, . Problem (8) asks for a final interval that is as close to one as possible. Only the ratios matter, because an outer iteration can scale its output by any , and the next outer iteration can undo this scaling, without additional matrix products. First, multiplying the coefficients of the last inner iteration of outer iteration by multiplies and the output by , so becomes . Second, outer iteration then receives in place of , so its Gram matrix is multiplied by . While holds this Gram matrix, we divide by for each factor and by if the addend is . For example, in the first inner iteration , we divide by and by . Then each inner iteration of outer iteration stores the same matrix as before. Third, we divide by , so is divided by , and the output is the same as before. Thus, all later outer iterations give the same outputs as before. For , no outer iteration follows, and the final centering (Proposition A.6) chooses the scale. Therefore, we fix for all and maximize the lower endpoint .
In the rounding model (6), we also require each perturbed outer iteration to map into , so that each output is a valid input of the next one. We choose each through a circuit with . For square buffers, a FLOP budget , and a largest inner depth , this gives the Polar Switch design problem
(9)
The second constraint keeps each perturbed output in for all inputs in , which is a design rule for numerical stability. After centering, a feasible point of (9) has worst-case error at most in (7) (Proposition A.6).
3.4 Solving the Design Problem
For a given number of square buffers, we must find the schedule , and, for each , a circuit , which consists of its buffer indices and its coefficients . Appendix A treats (9) in four steps. First, for a fixed schedule, greedy circuits, which make each as large as possible, are optimal (Theorem A.4), as for the quintic compositions of Polar Express. Second, if the per-iteration problems are solved exactly, dynamic programming over costs selects the schedule with the largest (Proposition A.7). Only this step depends on the aspect ratio , through the cost of each outer iteration; the per-iteration problems and their circuits do not. Third, for each inner depth , we find the circuit numerically with a solver that GPT-6 Astra helped design, and interval arithmetic certifies the result (Appendix A.2). Fourth, a final scaling centers the interval at one (Proposition A.6), and a rescaling of the buffers keeps their values in range for float16 (Appendix A.2).
For , our numerical search uses alternating writes. Call the two buffers and . An inner iteration that writes into cannot read as a factor, so both factors are , and it has the form or . The next inner iteration in this search writes into , and it has the form or . With this alternating write order fixed, only the addend of each inner iteration, or , remains to be chosen. With inner iterations, this gives alternating buffer patterns, because the first addend must be , and we enumerate all of these patterns.
For g = 3, the factors and the addends have many more choices. Thus, we optimize only the fixed schedules (5, 5), (6, 4), and (5, 4), and we reduce the search space with degree-bound pruning designed with the help of GPT-6 Astra (Appendix A.2). The local search may still miss the optimal solution.
Our solutions are not guaranteed to be globally optimal. The problem is nonconvex, so a local search can stop at a local optimum. Also, the rounding constraint must hold for all inputs and all rounding factors. The local search checks it only on samples, and we certify every accepted circuit by interval arithmetic, which becomes expensive as k grows.
We use . The name Polar Switch , or PS, gives the number of square buffers and the schedule , with each inner depth written as one digit. PS2 and PS3 denote the methods with and . For example, PS2-55 uses and . For and each number of outer iterations , we use the schedule with and the smallest total inner depth whose centered final interval, as in Table 1, has a lower endpoint of at least 0.85. For a fixed , the cost orders the schedules in the same way for every , so this choice does not depend on . A variant of the dynamic program of Appendix A.1 that keeps one schedule for each cost and each gives the schedules of PS2-55, PS2-512, PS2-4111, and PS2-11111 for . We also include PS2-54 and PS2-64 with fixed schedules, for which we optimize only the circuits. PS2-54 costs fewer FLOPs than PS2-55 and does not reach 0.85, and PS2-64 has a better final interval than PS2-55 at the same cost. For , PS3-55, PS3-64, and PS3-54 use the fixed schedules above. Table 1 gives the memory, FLOPs, and final intervals of all methods, and Algorithm A.1 gives all Polar Switch methods.
4 Experiments
Each experiment run uses a single NVIDIA B200 GPU. In Section 4.1, we compare Polar Switch with the baselines in LLM training by final validation loss and numerical stability. In Section 4.2, we compare the runtime and the approximation accuracy. The four baselines are Jordan, PE, and PE (BF16) (Algorithm B.1), and GNS (Appendix B). PE (BF16) uses the coefficients of PE with bfloat16 storage and products and the normalization of Algorithm B.1. Jordan and GNS are centered at the last iteration. They multiply the output of their last iteration by a constant, so that their final interval is symmetric about one. Appendix B gives the details of the experimental setup.
4.1 LLM Experiments
We use three LLM pretraining setups, which are Modded-NanoGPT #91 [102], Qwen3-0.6B [103], and Gemma 3-1B [104]. In each setup, all methods use the same training settings, and only the polar approximation for the matrix updates of Muon (NorMuon in Modded-NanoGPT #91) changes. Table 2 summarizes the setups, and Appendix B gives the implementation details.
Modded-NanoGPT #91 uses the training script of short-track record #91 of the Modded-NanoGPT speedrun benchmark [102]. Figure 1 shows the final validation losses of Modded-NanoGPT #91, with the same 20 seeds for each method (left), and of Qwen3-0.6B and Gemma 3-1B (right). Polar Switch reaches final validation losses similar to those of the baselines.
We also measure the numerical stability of all methods by how much the spectral norm of each output exceeds its designed bound. At each training step, the polar approximation receives 104 matrices in Modded-NanoGPT #91, 196 in Qwen3-0.6B (7 in each of its 28 layers), and 182 in Gemma 3-1B (7 in each of its 26 layers). For each matrix that the polar approximation returns, we estimate its spectral norm with Lanczos iteration and compare it with the upper endpoint of the method's final interval in Table 1. Modded-NanoGPT #91 trains 20 seeds for 1,290 steps, Qwen3-0.6B trains for 22,889 steps,
Without centering, the 5 iterations of Jordan map [0.001, 1] into [0.470543, 1.202369], which is not symmetric about one. Thus, its updates have a smaller norm than those of the other methods. In our earlier Gemma 3-1B pretraining experiments, we used Jordan without centering, and its validation loss was higher than other methods. After we centered its final interval at one, the validation losses became similar.
Table 2: LLM training setups. Of the Polar Switch methods, the Gemma 3-1B setup uses only the methods with two outer iterations. Total FLOPs are estimated for one run and depend on the orthogonalization method.
| Model | Parameters | Tokens | Total FLOPs | Seeds | Total runs |
|---|---|---|---|---|---|
| Modded-NanoGPT #91 | 637,656,487 | 343,408,640 | 20 | 260 | |
| Qwen3-0.6B | 596,049,920 | 12,000,428,032 | 1 | 13 | |
| Gemma 3-1B | 999,885,952 | 22,000,173,056 | 1 | 10 |
and Gemma 3-1B trains for 41,962 steps. Thus, each method returns 2,683,200, 4,486,244, and 7,637,084 matrices in the three setups. Table 3 counts the matrices whose estimate exceeds the bound by 3–30%, 30–300%, and more than 300%. Only GNS and the circuits with inner depth 6 have such matrices.

| Method | Qwen3-0.6B | Gemma 3-1B |
|---|---|---|
| Jordan | 2.6252 | 2.5534 |
| PE | 2.6255 | 2.5523 |
| PE (BF16) | 2.6260 | 2.5523 |
| GNS | 2.6250 | 2.5515 |
| PS2-55 | 2.6257 | 2.5520 |
| PS2-64 | 2.6258 | 2.5524 |
| PS2-54 | 2.6257 | 2.5525 |
| PS2-512 | 2.6258 | — |
| PS2-4111 | 2.6257 | — |
| PS2-11111 | 2.6260 | — |
| PS3-55 | 2.6255 | 2.5524 |
| PS3-64 | 2.6257 | 2.5522 |
| PS3-54 | 2.6266 | 2.5533 |
Figure 1: Final validation loss of Modded-NanoGPT #91 (left), and of Qwen3-0.6B and Gemma 3-1B (right). On the left, markers show runs with the same 20 seeds, vertical ticks show means, and bars span the minimum and maximum. Triangles mark baselines, circles mark PS2, and squares mark PS3. On the right, all methods use the same seed, and a dash marks methods not trained on Gemma 3-1B.
In Modded-NanoGPT #91 training, PS2-64 and PS3-64 exceeded their bounds by more than 3% on 9 and 38 of 2,683,200 matrices, and PS3-64 also on 2 of 7,637,084 matrices in Gemma 3-1B training (Table 3), so we recommend inner depths of at most 5. A possible reason is that the rounding model (6) does not include two effects of the float16 stores. First, the store errors are additive. Let be the error of storing a matrix in float16. Without overflow or underflow, each entry of is at most (the unit roundoff of float16) times the magnitude of the same entry of , so . For and , this bound is about 0.022, which is larger than the smallest singular value 0.001 that the circuits must amplify. With this additive error, the rounding constraint in (9) would be nearly impossible to satisfy, so the rounding model (6) uses multiplicative factors.
Second, is in general not a polynomial in , so the buffers can stop commuting, the singular values can drift, and the singular directions can mix (Appendix B.2). These errors can grow with the
Table 3: Number of matrices whose spectral norm estimate exceeds the bound in column Bound, the upper endpoint in Table 1 rounded up to four decimals, by 3–30%, 30–300%, and more than 300%, out of 2,683,200 for Modded-NanoGPT #91, 4,486,244 for Qwen3-0.6B, and 7,637,084 for Gemma 3-1B per method. PE (BF16) uses the bound of PE. A dash marks methods not trained on Gemma 3-1B.
| Method | Bound | Modded-NanoGPT #91 | Qwen3-0.6B | Gemma 3-1B | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 3–30 | 30–300 | >300 | 3–30 | 30–300 | >300 | 3–30 | 30–300 | >300 | ||
| Jordan | 1.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PE | 1.1412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PE (BF16) | 1.1412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| GNS | 1.2130 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PS2-55 | 1.1063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PS2-64 | 1.0813 | 6 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PS2-54 | 1.2014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PS2-512 | 1.0911 | 0 | 0 | 0 | 0 | 0 | 0 | – | – | – |
| PS2-4111 | 1.0562 | 0 | 0 | 0 | 0 | 0 | 0 | – | – | – |
| PS2-11111 | 1.1187 | 0 | 0 | 0 | 0 | 0 | 0 | – | – | – |
| PS3-55 | 1.0810 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PS3-64 | 1.0703 | 33 | 5 | 0 | 0 | 0 | 0 | 2 | 0 | 0 |
| PS3-54 | 1.1789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
inner depth. Gram Newton-Schulz also recomputes its Gram matrix from after two iterations for stability [16]. We recommend PS2-55 and PS3-55, the bold rows of Table 1.
4.2 Runtime and Approximation Accuracy
Figure 2 shows the runtimes on synthetic single matrices and batches, and the runtime ratios relative to PE and GNS. For PS2-55 and PS3-55, the median runtime ratios are 0.813–0.845 relative to PE on the square shapes and 0.838–0.914 relative to GNS on the rectangular shapes, that is, 15.5–18.7% and 8.6–16.2% lower runtime.
Let be the input of a polar approximation, let be its output, and let be the smaller dimension of . Let be the compact SVD of float64(), so that . We convert to float64 and calculate the polar factor error in float64:
We measure this error in three steps. First, we generate synthetic matrices. They are square and rectangular, with random singular vectors and geometrically spaced singular values (Appendix B.2). Before rounding to float16, each matrix has unit Frobenius norm and minimum singular value or . Second, we collect Modded-NanoGPT #91 matrices from one training run in which NorMuon uses PE, so only PE updates the model. We randomly sample 323 of its 1,290 steps (25%) and keep all 104 matrices that PE receives at each sampled step, which gives 33,592 matrices.
The gain over GNS is larger than the FLOP counts in Table 1 predict. One possible reason is that GNS stores the polynomial that multiplies as a square matrix, so its steps and (Example 3.4) need an identity matrix. The official code builds this identity as a separate matrix and adds it in a separate step, while Polar Switch adds to the diagonal inside its kernel (Section 3.2).
| PE | 9.00 | 69.9 | 3.30 | 25.0 | 191 | 3.29 | 25.0 | 191 |
|---|---|---|---|---|---|---|---|---|
| PS2-55 | 7.47 | 55.7 | 1.87 | 13.9 | 102 | 1.86 | 13.9 | 102 |
| PS2-64 | 7.55 | 56.5 | 1.91 | 14.1 | 106 | 1.91 | 14.1 | 106 |
| PS2-54 | 7.09 | 53.0 | 1.85 | 13.7 | 101 | 1.84 | 13.5 | 101 |
| PS2-512 | 7.82 | 59.1 | 2.34 | 17.5 | 130 | 2.30 | 17.5 | 129 |
| PS2-4111 | 8.59 | 65.4 | 2.82 | 21.3 | 160 | 2.78 | 21.3 | 160 |
| PS2-11111 | 8.86 | 67.8 | 3.23 | 24.7 | 185 | 3.19 | 24.6 | 185 |
| PS3-55 | 7.47 | 56.0 | 1.86 | 14.0 | 103 | 1.88 | 13.9 | 103 |
| PS3-64 | 7.59 | 56.6 | 1.91 | 14.1 | 105 | 1.92 | 14.1 | 104 |
| PS3-54 | 7.11 | 52.5 | 1.85 | 13.7 | 103 | 1.85 | 13.5 | 101 |
| 8192×8192 | 16384×16384 | 14336×4096 | 28672×8192 | 53248×16384 | 4096×14336 | 8192×28672 | 16384×53248 |
| PE | 72.9 | 97.4 | 18.2 | 96.3 | 18.2 |
|---|---|---|---|---|---|
| PS2-55 | 59.8 | 55.7 | 9.70 | 55.9 | 9.72 |
| PS2-64 | 60.0 | 55.3 | 9.58 | 55.2 | 9.57 |
| PS2-54 | 56.3 | 53.6 | 9.44 | 53.5 | 9.38 |
| PS2-512 | 62.6 | 68.6 | 12.5 | 68.3 | 12.5 |
| PS2-4111 | 68.7 | 81.5 | 15.0 | 80.7 | 14.9 |
| PS2-11111 | 71.3 | 93.5 | 17.5 | 92.7 | 17.5 |
| PS3-55 | 59.4 | 55.0 | 9.42 | 54.1 | 9.34 |
| PS3-64 | 60.2 | 55.6 | 9.66 | 55.2 | 9.56 |
| PS3-54 | 56.4 | 53.5 | 9.51 | 53.6 | 9.39 |
| 64 × 4096×4096 | 216 × 7168×2048 | 128 × 8192×1024 | 216 × 2048×7168 | 128 × 1024×8192 |
| GNS | 2.24 | 16.3 | 120 | 2.25 | 16.3 | 119 |
|---|---|---|---|---|---|---|
| PS2-55 | 1.87 | 13.9 | 102 | 1.86 | 13.9 | 102 |
| PS2-64 | 1.91 | 14.1 | 106 | 1.91 | 14.1 | 106 |
| PS2-54 | 1.85 | 13.7 | 101 | 1.84 | 13.5 | 101 |
| PS2-512 | 2.34 | 17.5 | 130 | 2.30 | 17.5 | 129 |
| PS2-4111 | 2.82 | 21.3 | 160 | 2.78 | 21.3 | 160 |
| PS2-11111 | 3.23 | 24.7 | 185 | 3.19 | 24.6 | 185 |
| PS3-55 | 1.86 | 14.0 | 103 | 1.88 | 13.9 | 103 |
| PS3-64 | 1.91 | 14.1 | 105 | 1.92 | 14.1 | 104 |
| PS3-54 | 1.85 | 13.7 | 103 | 1.85 | 13.5 | 101 |
| 14336×4096 | 28672×8192 | 53248×16384 | 4096×14336 | 8192×28672 | 16384×53248 |
| GNS | 65.9 | 10.9 | 65.6 | 10.8 |
|---|---|---|---|---|
| PS2-55 | 55.7 | 9.70 | 55.9 | 9.72 |
| PS2-64 | 55.3 | 9.58 | 55.2 | 9.57 |
| PS2-54 | 53.6 | 9.44 | 53.5 | 9.38 |
| PS2-512 | 68.6 | 12.5 | 68.3 | 12.5 |
| PS2-4111 | 81.5 | 15.0 | 80.7 | 14.9 |
| PS2-11111 | 93.5 | 17.5 | 92.7 | 17.5 |
| PS3-55 | 55.0 | 9.42 | 54.1 | 9.34 |
| PS3-64 | 55.6 | 9.66 | 55.2 | 9.56 |
| PS3-54 | 53.5 | 9.51 | 53.6 | 9.39 |
| 216 × 7168×2048 | 128 × 8192×1024 | 216 × 2048×7168 | 128 × 1024×8192 |
Figure 2: Median runtime in milliseconds for single matrices (top) and batches (bottom). Colors show median runtime ratios relative to PE (left) and GNS (right, rectangular shapes only). Values below one indicate lower runtime. Column labels give tensor dimensions, with the batch size first.

● Median —— 5–95%
Figure 3: Polar factor error (10) on synthetic matrices with minimum singular value (left) and (middle), 1,500 matrices each, and on 33,592 matrices from one Modded-NanoGPT #91 run with PE (right). Percentages give the fraction of pairs of a matrix and another method of the panel in which the method has the smaller error, and a tie counts as half.
Third, we apply all methods to the same matrices and calculate the polar factor error of each output. In all three panels of Figure 3, PS2-55 and PS3-55 have smaller median polar factor errors than PE and GNS. Figure 3 compares this error across all methods, and Appendix B.2 gives two more diagnostics.
5 Conclusion and Future Work
We introduced Polar Switch, which replaces the quintic iterations in Muon with a few polynomial circuits of high degree. We select these circuits and their coefficients under a FLOP budget, and our GPU implementations run them in float16 on two or three square buffers. In our experiments, PS2-55 and PS3-55 reduced runtime by 15.5–18.7% relative to Polar Express on square matrices and by 8.6–16.2% relative to Gram Newton-Schulz on rectangular matrices, and they gave final validation losses similar to those of established orthogonalization methods in LLM pretraining.
Limitations. Problem (9) is not convex. Its constraints must hold for all inputs and all rounding factors. Thus, our local search and interval certification use much computation. They give certified feasible circuits, but these circuits are not necessarily globally optimal. The number of buffer patterns increases quickly with the number g of square buffers and the inner depth k. Thus, for g = 3, we searched only three fixed schedules. For , a full search is not practical. The rounding model (6) is only a scalar model of the float16 rounding. It does not include additive store errors or buffers that stop commuting. The circuits with inner depth 6 satisfy its constraint, but they exceeded their bounds in training (Section 4.1).
Objectives of the design problem. Problem (9) maximizes the final lower endpoint for inputs in . For inputs below , it only requires that each circuit, also under the rounding model (6), maps into . Thus, it does not control the amplification of singular values below , and may not be the best choice for all models. We could add a slope objective to problem (9), so that it both reduces the approximation error on and increases the slope of the composition to amplify very small singular values. This slope has been maximized for Chebyshev-type polynomials [48]. Future research could test whether this improves training. Also, problem (9) maximizes the lower endpoint of the exact polynomials and uses the rounding model (6) only in its range constraint. We could also require for all , with a second factor . For , this is the first constraint of (9). For , would also be a lower bound under the rounding model with factor , but the largest would not increase as increases.
Mixed precision storage. The kernel for each inner iteration computes . The matrix product uses fast Tensor Cores operating in half precision, with accumulation and additions in float32. The kernel then rounds the result to float16 before storing it. This rounding happens at every inner iteration and may be the main source of rounding error in our circuits. We could instead store the result of each inner iteration in float32. For PS2, two float32 square buffers use the same memory in bytes as the four float16 square buffers of GNS, without changing the FLOP count. Reducing this rounding error could allow a smaller safety factor s. PS2 could then become more accurate and more numerically stable.
Circuits without diagonal shifts. Each inner iteration of Polar Switch adds . GNS keeps this identity term out of the updates that track the Gram matrix, which can make these updates more numerically stable. We could also adapt problem (9) to circuits without this term by setting in (3) and adding the constant term only in the final update, .
Approximation error and training quality. In our experiments, a smaller polar factor error (10) did not give a clearly lower validation loss. Jordan has the largest polar factor error (Figure 3), but after centering it gave losses similar to those of the other methods. PE (BF16) has more than 15 times the diagonal drift and directional mixing of PE (Figure 4), but it also gave similar losses (Figure 1). In GPT-2 training, more iterations or an exact SVD also did not decrease the final loss [15, 66]. Thus, other properties of the update may determine training quality. Candidates are the update norm (footnote 5), the singular directions that the update amplifies, and postprocessing, such as in NorMuon [92]. Also, all methods use the same learning rates and weight decay, which we did not tune for each method, and the best values may differ between orthogonalization methods. Further experiments could test these effects.
Integration with other Muon variants. Future work could replace the quintic iterations of MuonBP [67], Hierarchical Muon [61], and Dion3 [57] with Polar Switch circuits. Polar Switch could also refresh the cached transform in CacheMuon [62]. These combinations could reduce training time.
Acknowledgments
This work was supported in part by the Wharton AI Fund. GPT-6 Astra and GPT-5.6 Sol were used to assist with theory and mathematical proofs, experimental design, code development, and data analysis.
References
[1] David Carlson, Volkan Cevher, and Lawrence Carin. Stochastic spectral descent for restricted Boltzmann machines. In Guy Lebanon and S. V. N. Vishwanathan, editors, Proceedings of the Eighteenth International Conference on Artificial Intelligence and Statistics, volume 38 of Proceedings of Machine Learning Research, pages 111–119. PMLR, 2015.
[2] David Carlson, Edo Collins, Ya-Ping Hsieh, Lawrence Carin, and Volkan Cevher. Preconditioned spectral descent for deep learning. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015.
[3] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.
[4] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019.
[5] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc., 2020.
[6] Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024. URL https://kellerjordan.github.io/posts/muon/.
[7] Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, Yibo Liu, Shaowei Liu, Bohong Yin, Weiran He, Han Zhu, Yuzhi Wang, Jianzhou Wang, Mengnan Dong, Zheng Zhang, Yongsheng Kang, Hao Zhang, Xinran Xu, Yutao Zhang, Yuxin Wu, Xinyu Zhou, and Zhilin Yang. Muon is scalable for LLM training. arXiv preprint arXiv:2502.16982, 2025.
[8] Essential AI, Ishaan Shah, Anthony M. Polloreno, Karl Stratos, Philip Monk, Adarsh Chaluvaraju, Andrew Hojel, Andrew Ma, Anil Thomas, Ashish Tanwer, Darsh J Shah, Khoi Nguyen, Kurt Smith, Michael Callahan, Michael Pust, Mohit Parmar, Peter Rushton, Platon Mazarakis, Ritvik Kapila, Saurabh Srivastava, Somanshu Singla, Tim Romanski, Yash Vanjani, and Ashish Vaswani. Practical efficiency of Muon for pretraining. arXiv preprint arXiv:2505.02222, 2025.
[9] Kimi Team. Kimi K3: Open frontier intelligence. arXiv preprint arXiv:2607.24653, 2026.
[10] GLM-5 Team. GLM-5: from vibe coding to agentic engineering. arXiv preprint arXiv:2602.15763, 2026.
[11] StepFun Team. Step 3.5 Flash: Open frontier-level intelligence with 11B active parameters. arXiv preprint arXiv:2602.10604, 2026.
[12] DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348, 2026.
[13] Zihan Qiu, Zekun Wang, Xiao Li, Yanpeng Li, Yang Xu, Yixuan Wang, Huaqing Zhang, Rui Men, Bochao Mao, Chengruidong Zhang, Fan Zhou, Hao Luo, Haofeng Huang, Haoran Lian, Haoyan Huang, Hongqing Chen, Jianwei Zhang, Jing Xu, Junjie Wang, Langshi Chen, Liangyu Wang, Linlang Jiang, Man Yuan, Minmin Sun, Peng Jin, Siqi Zhang, Siyu Wang, Xingzhang Ren, Yakai Wang, Yi Zhang, Yiming Dong, Yizhong Cao, Yubo Ma, Yunfei Mao, Bo Zheng, and Dayiheng Liu. On the design of Qwen3.8-Next architecture: Evaluation, efficiency, and training stability. arXiv preprint arXiv:2608.30320, 2026.
[14] Nicholas J. Higham. Functions of Matrices: Theory and Computation. Society for Industrial and Applied Mathematics, 2008. ISBN 9780898717778. doi: 10.1137/1.9780898717778.
[15] Noah Amsel, David Persson, Christopher Musco, and Robert M. Gower. The Polar Express: Optimal matrix sign methods and their application to the Muon algorithm. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 138323–138360, 2026.
[16] Jack Zhang, Noah Amsel, Berlin Chen, and Tri Dao. Gram Newton–Schulz, 2026. URL https://dao-ailab.github.io/blog/2026/gram-newton-schulz/.
[17] Å. Björck and C. Bowie. An iterative algorithm for computing the best estimate of an orthogonal matrix. SIAM Journal on Numerical Analysis, 8(2):358–364, 1971. ISSN 1095-7170. doi:10.1137/0708036.
[18] Nicholas J. Higham. Computing the polar decomposition—with applications. SIAM Journal on Scientific and Statistical Computing, 7(4):1160–1174, 1986. ISSN 2168-3417. doi: 10.1137/0907079.
[19] Eugene D. Denman and Alex N. Beavers. The matrix sign function and computations in systems. Applied Mathematics and Computation, 2(1):63–94, 1976. ISSN 0096-3003. doi:10.1016/0096-3003(76)90020-5.
[20] Yuji Nakatsukasa and Nicholas J. Higham. Stable and efficient spectral divide and conquer algorithms for the symmetric eigenvalue decomposition and the SVD. SIAM Journal on Scientific Computing, 35(3):A1325–A1349, 2013. ISSN 1095-7197. doi: 10.1137/120876605.
[21] J. D. Roberts. Linear model reduction and solution of the algebraic Riccati equation by use of the sign function. International Journal of Control, 32(4):677–687, 1980. ISSN 1366-5820. doi:10.1080/00207178008922881.
[22] Charles Kenney and Alan J. Laub. Rational iterative methods for the matrix sign function. SIAM Journal on Matrix Analysis and Applications, 12(2):273–291, 1991. ISSN 1095-7162. doi:10.1137/0612020.
[23] Yuji Nakatsukasa, Zhaojun Bai, and François Gygi. Optimizing Halley's iteration for computing the matrix polar decomposition. SIAM Journal on Matrix Analysis and Applications, 31(5):2700–2720, 2010. ISSN 1095-7162. doi: 10.1137/090774999.
[24] Yuji Nakatsukasa and Roland W. Freund. Computing fundamental matrix decompositions accurately via the matrix sign function in two iterations: The power of Zolotarev's functions. SIAM Review, 58(3):461–493, 2016. ISSN 1095-7200. doi: 10.1137/140990334.
[25] Yuji Nakatsukasa and Nicholas J. Higham. Backward stability of iterations for computing the polar decomposition. SIAM Journal on Matrix Analysis and Applications, 33(2):460–479, 2012. ISSN 1095-7162. doi: 10.1137/110857544.
[26] Nicholas J. Higham. Computing real square roots of a real matrix. Linear Algebra and its Applications, 88-89:405–430, 1987. ISSN 0024-3795. doi: 10.1016/0024-3795(87)90118-2.
[27] Nicholas J. Higham. Stable iterations for the matrix square root. Numerical Algorithms, 15(2): 227–242, 1997. ISSN 1572-9265. doi: 10.1023/a:1019150005407.
[28] Edvin Deadman, Nicholas J. Higham, and Rui Ralha. Blocked Schur Algorithms for Computing the Matrix Square Root, pages 171–182. Springer Berlin Heidelberg, 2013. ISBN 9783642368035. doi: 10.1007/978-3-642-36803-5_12.
[29] Dario A. Bini, Nicholas J. Higham, and Beatrice Meini. Algorithms for the matrix pth root. Numerical Algorithms, 39(4):349–378, 2005. ISSN 1572-9265. doi: 10.1007/s11075-004-6709-8.
[30] Bruno Iannazzo. On the Newton method for the matrix pth root. SIAM Journal on Matrix Analysis and Applications, 28(2):503–523, 2006. ISSN 1095-7162. doi: 10.1137/050624790.
[31] Nicholas J. Higham and Lijing Lin. A Schur–Padé algorithm for fractional powers of a matrix. SIAM Journal on Matrix Analysis and Applications, 32(3):1056–1078, 2011. ISSN 1095-7162. doi:10.1137/10081232x.
[32] Philip I. Davies and Nicholas J. Higham. A Schur–Parlett algorithm for computing matrix functions. SIAM Journal on Matrix Analysis and Applications, 25(2):464–485, 2003. ISSN 1095-7162. doi: 10.1137/s0895479802410815.
[33] Nicholas Hale, Nicholas J. Higham, and Lloyd N. Trefethen. Computing , , and related matrix functions by contour integrals. SIAM Journal on Numerical Analysis, 46(5):2505–2523, 2008. ISSN 1095-7170. doi: 10.1137/070700607.
[34] Stefan Güttel. Rational Krylov approximation of matrix functions: Numerical methods and optimal pole selection. GAMM-Mitteilungen, 36(1):8–31, 2013. ISSN 1522-2608. doi: 10.1002/gamm.201310002.
[35] Nicholas J. Higham. The scaling and squaring method for the matrix exponential revisited. SIAM Journal on Matrix Analysis and Applications, 26(4):1179–1193, 2005. ISSN 1095-7162. doi:10.1137/04061101x.
[36] Awad H. Al-Mohy and Nicholas J. Higham. Computing the action of the matrix exponential, with an application to exponential integrators. SIAM Journal on Scientific Computing, 33(2):488–511, 2011. ISSN 1095-7197. doi: 10.1137/100788860.
[37] Evan S. Gawlik and Melvin Leok. High-order retractions on matrix manifolds using projected polynomials. SIAM Journal on Matrix Analysis and Applications, 39(2):801–828, 2018. ISSN 1095-7162. doi: 10.1137/17m1130459.
[38] Lloyd N. Trefethen. Approximation Theory and Approximation Practice, Extended Edition. Society for Industrial and Applied Mathematics, 2019. ISBN 9781611975949. doi: 10.1137/1.9781611975949.
[39] Ricardo Pachón and Lloyd N. Trefethen. Barycentric-Remez algorithms for best polynomial approximation in the chebfun system. BIT Numerical Mathematics, 49(4):721–741, 2009. ISSN 1572-9125. doi: 10.1007/s10543-009-0240-1.
[40] Alexandre Eremenko and Peter Yuditskii. Uniform approximation of sgn x by polynomials and entire functions. Journal d'Analyse Mathématique, 101(1):313–324, 2007. ISSN 1565-8538. doi:10.1007/s11854-007-0011-3.
[41] Silviu-Ioan Filip, Yuji Nakatsukasa, Lloyd N. Trefethen, and Bernhard Beckermann. Rational minimax approximation via adaptive barycentric representations. SIAM Journal on Scientific Computing, 40(4):A2427–A2455, 2018. ISSN 1095-7197. doi: 10.1137/17m1132409.
[42] Yuji Nakatsukasa, Olivier Sète, and Lloyd N. Trefethen. The AAA algorithm for rational approximation. SIAM Journal on Scientific Computing, 40(3):A1494–A1522, 2018. ISSN 1095-7197. doi: 10.1137/16m1106122.
[43] T. Parks and J. McClellan. Chebyshev approximation for nonrecursive digital filters with linear phase. IEEE Transactions on Circuit Theory, 19(2):189–194, 1972. ISSN 0018-9324. doi:10.1109/tct.1972.1083419.
[44] J. McClellan, T. Parks, and L. Rabiner. A computer program for designing optimum FIR linear phase digital filters. IEEE Transactions on Audio and Electroacoustics, 21(6):506–526, 1973. ISSN 0018-9278. doi: 10.1109/tau.1973.1162525.
[45] Michael S. Paterson and Larry J. Stockmeyer. On the number of nonscalar multiplications necessary to evaluate polynomials. SIAM Journal on Computing, 2(1):60–66, 1973. ISSN 1095-7111. doi:10.1137/0202007.
[46] J. Sastre. Efficient evaluation of matrix polynomials. Linear Algebra and its Applications, 539: 229–250, 2018. ISSN 0024-3795. doi: 10.1016/j.laa.2017.11.010.
[47] Elias Jarlebring and Gustaf Lorentzon. The polynomial set associated with a fixed number of matrix-matrix multiplications. SIAM Journal on Applied Algebra and Geometry, 10(3):549–581, 2026. ISSN 2470-6566. doi: 10.1137/25m1779036.
[48] Ekaterina Grishina, Matvey Smirnov, and Maxim Rakhuba. Accelerating Newton–Schulz iteration for orthogonalization via Chebyshev-type polynomials. arXiv preprint arXiv:2506.10935, 2026.
[49] Eunsang Lee, Joon-Woo Lee, Jong-Seon No, and Young-Sik Kim. Minimax approximation of sign function by composite polynomial for homomorphic comparison. IEEE Transactions on Dependable and Secure Computing, 19(6):3711–3727, 2022. ISSN 2160-9209. doi: 10.1109/tdsc.2021.3105111.
[50] Nicholas J. Higham. Accuracy and Stability of Numerical Algorithms: Second Edition. Society for Industrial and Applied Mathematics, 2002. ISBN 9780898718027. doi: 10.1137/1.9780898718027.
[51] Christos Boutsikas, Petros Drineas, and Ilse C. F. Ipsen. Small singular values can increase in lower precision. SIAM Journal on Matrix Analysis and Applications, 45(3):1518–1540, 2024. ISSN 1095-7162. doi: 10.1137/23m1557209.
[52] Marc Baboulin, Alfredo Buttari, Jack Dongarra, Jakub Kurzak, Julie Langou, Julien Langou, Piotr Luszczek, and Stanimire Tomov. Accelerating scientific computations with mixed precision algorithms. Computer Physics Communications, 180(12):2526–2533, 2009. ISSN 0010-4655. doi:10.1016/j.cpc.2008.11.005.
[53] Erin Carson and Nicholas J. Higham. A new analysis of iterative refinement and its application to accurate solution of ill-conditioned sparse linear systems. SIAM Journal on Scientific Computing, 39(6):A2834–A2856, 2017. ISSN 1095-7197. doi: 10.1137/17m1122918.
[54] Ahmad Abdelfattah, Hartwig Anzt, Erik G Boman, Erin Carson, Terry Cojean, Jack Dongarra, Alyson Fox, Mark Gates, Nicholas J Higham, Xiaoye S Li, Jennifer Loe, Piotr Luszczek, Srikara Pranesh, Siva Rajamanickam, Tobias Ribizel, Barry F Smith, Kasia Swirydowicz, Stephen Thomas, Stanimire Tomov, Yaohung M Tsai, and Ulrike Meier Yang. A survey of numerical linear algebra methods utilizing mixed-precision arithmetic. The International Journal of High Performance Computing Applications, 35(4):344–369, 2021. ISSN 1741-2846. doi: 10.1177/10943420211003313.
[55] Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and British Narayanan. Deep learning with limited numerical precision. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1737–1746. PMLR, 2015.
[56] Naigang Wang, Jungwook Choi, Daniel Brand, Chia-Yu Chen, and Kailash Gopalakrishnan. Training deep neural networks with 8-bit floating point numbers. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
[57] Noah Amsel, Jack Zhang, Kwangjun Ahn, Ali Naeimi, Austin Feng, Berlin Chen, Tri Dao, and John Langford. Dion3: Full-stack orthogonal updates. arXiv preprint arXiv:2608.11612, 2026.
[58] Xinlin Zhuang, Panyi Ouyang, Yichen Li, Jiangming Shi, Yizhang Chen, Shuman Liu, Ying Qian, Weiyang Liu, Haibo Zhang, and Imran Razzak. AMO: Operator-level adaptive Muon orthogonalization. arXiv preprint arXiv:2605.17806, 2026.
[59] Kwangjun Ahn, Byron Xu, Natalie Abreu, Ying Fan, Gagik Magakyan, Pratyusha Sharma, Zheng Zhan, and John Langford. Dion: Distributed orthonormalized updates. arXiv preprint arXiv:2504.05295, 2025.
[60] Kwangjun Ahn, Noah Amsel, and John Langford. Dion2: A simple method to shrink matrix in Muon. arXiv preprint arXiv:2512.16928, 2025.
[61] Ziyuan Tang, Tianshi Xu, Yousef Saad, and Yuanzhe Xi. Hierarchical Muon: Tiled Newton–Schulz updates for efficient Muon optimization. arXiv preprint arXiv:2606.27216, 2026.
[62] Bishnu Dev, Sushil Bohara, Martin Takáč, and Samuel Horváth. CacheMuon: Using temporal preconditioning to approximate polar factor. arXiv preprint arXiv:2606.16371, 2026.
[63] Thibaut Boissin, Thomas Massena, Franck Mamalet, and Mathieu Serrurier. Turbo-Muon: Almost-orthogonal pre-conditioning for fast Muon updates. arXiv preprint arXiv:2512.04632, 2026.
[64] Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, and Michael W. Mahoney. PRISM: Distribution-free adaptive computation of matrix functions for accelerating neural network training. arXiv preprint arXiv:2601.22137, 2026.
[65] Chen Hu, Qianxi Zhao, Xiaochen Yuan, Hong Zhang, Ding Yuan, Yanbin Wu, and Xiying Li. IFNSO: Iteration-free Newton-Schulz orthogonalization. arXiv preprint arXiv:2602.02500, 2026.
[66] Hua Huang. How much orthogonalization does Muon need? arXiv preprint arXiv:2606.00371, 2026.
[67] Ahmed Khaled, Kaan Ozkara, Tao Yu, Mingyi Hong, and Youngsuk Park. MuonBP: Faster Muon via block-periodic orthogonalization. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 17389–17416, 2026.
[68] Chuyan Chen, Peng Sun, and Kun Yuan. CMuon: Accelerating and stabilizing diffusion transformer training via chunked momentum orthogonalization. arXiv preprint arXiv:2608.02502, 2026.
[69] Vincent Chen, Starrick Liu, Regis Cheng, Dance Yang, Shalfun Li, Ryan Yu, Lucy Liang, Hang Su, Roy Gan, Hao Wang, and Qian Wang. DMuon: Efficient distributed Muon training with near-Adam overhead. arXiv preprint arXiv:2606.27153, 2026.
[70] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12(61):2121–2159, 2011.
[71] Noam Shazeer and Mitchell Stern. Adafactor: Adaptive learning rates with sublinear memory cost. In Jennifer Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 4596–4604. PMLR, 2018.
[72] James Martens and Roger Grosse. Optimizing neural networks with Kronecker-factored approximate curvature. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 2408–2417. PMLR, 2015.
[73] Thomas George, César Laurent, Xavier Bouthillier, Nicolas Ballas, and Pascal Vincent. Fast approximate natural gradient descent in a Kronecker factored eigenbasis. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
[74] Vineet Gupta, Tomer Koren, and Yoram Singer. Shampoo: Preconditioned stochastic tensor optimization. In Jennifer Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 1842–1850. PMLR, 2018.
[75] Hao-Jun Michael Shi, Tsung-Hsien Lee, Shintaro Iwasaki, Jose Gallego-Posada, Zhijing Li, Kaushik Rangadurai, Dheevatsa Mudigere, and Michael Rabbat. A distributed data-parallel PyTorch implementation of the distributed Shampoo optimizer for training neural networks at-scale. arXiv preprint arXiv:2309.06497, 2023.
[76] Nikhil Vyas, Depen Morwani, Rosie Zhao, Itai Shapira, David Brandfonbrener, Lucas Janson, and Sham Kakade. SOAP: Improving and stabilizing Shampoo using Adam for language modeling. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 93423–93444, 2025.
[77] Gyu Yeol Kim and Min-hwan Oh. Convergence of Muon with Newton–Schulz. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 45672–45718, 2026.
[78] Egor Shulgin, Sultan AlRashed, Francesco Orabona, and Peter Richtárik. Beyond the ideal: Analyzing the inexact Muon update. arXiv preprint arXiv:2510.19933, 2025.
[79] Jeremy Bernstein and Laker Newhouse. Modular duality in deep learning. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 3920–3930. PMLR, 2025.
[80] Thomas Pethick, Wanyun Xie, Kimon Antonakopoulos, Zhenyu Zhu, Antonio Silveti-Falls, and Volkan Cevher. Training deep learning models with norm-constrained LMOs. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 49069–49104. PMLR, 2025.
[81] Jianhao Ma, Yu Huang, Yuejie Chi, and Yuxin Chen. Preconditioning benefits of spectral orthogonalization in Muon. arXiv preprint arXiv:2601.13474, 2026.
[82] Tim Tsz-Kit Lau, Qi Long, and Weijie Su. PolarGrad: A class of matrix-gradient optimizers from a unifying preconditioning perspective. arXiv preprint arXiv:2505.21799, 2026.
[83] Zhehang Du and Weijie Su. The Newton-Muon optimizer. arXiv preprint arXiv:2604.01472, 2026.
[84] Weijie Su. Isotropic curvature model for understanding deep learning optimization: Is gradient orthogonalization optimal? arXiv preprint arXiv:2511.00674, 2025.
[85] Tien-Phat Nguyen, Truong Nguyen, Minh-Phuc Truong, Tuc Nguyen, James Bailey, and Trung Le. Spectral flattening is all Muon needs: How orthogonalization controls learning rate and convergence. arXiv preprint arXiv:2605.13079, 2026.
[86] Xianbiao Qi, Marco Chen, Jiaquan Ye, Yelin He, and Rong Xiao. Delving into Muon and beyond: Deep analysis and extensions. arXiv preprint arXiv:2602.04669, 2026.
[87] Wei Shen, Ruichuan Huang, Minhui Huang, Cong Shen, and Jiawei Zhang. On the convergence analysis of Muon. arXiv preprint arXiv:2505.23737, 2026.
[88] Jiaxiang Li and Mingyi Hong. A note on the convergence of Muon. arXiv preprint arXiv:2502.02900, 2025.
[89] Naoki Sato, Hiroki Naganuma, and Hideaki Iiduka. Convergence bound and critical batch size of Muon optimizer. arXiv preprint arXiv:2507.01598, 2026.
[90] Greg Yang, James B. Simon, and Jeremy Bernstein. A spectral condition for feature learning. arXiv preprint arXiv:2310.17813, 2024.
[91] Tim Tsz-Kit Lau and Weijie Su. Symmetry-compatible principle for optimizer design: Embeddings, LM heads, SwiGLU MLPs, and MoE routers. arXiv preprint arXiv:2605.18106, 2026.
[92] Zichong Li, Liming Liu, Chen Liang, Weizhu Chen, and Tuo Zhao. NorMuon: Making Muon more efficient and scalable. In Proceedings of the 43rd International Conference on Machine Learning, 2026.
[93] Chenrui Xu, Wenjing Yan, and Ying-Jun Angela Zhang. FISMO: Fisher-structured momentum-orthogonalized optimizer. arXiv preprint arXiv:2601.21750, 2026.
[94] Yehonathan Refael, Guy Smorodinsky, Tom Tirer, and Ofir Lindenbaum. SUMO: Subspace-aware moment-orthogonalization for accelerating memory-efficient LLM training. In Advances in Neural Information Processing Systems 38, NeurIPS 2025, pages 163456–163487. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2025. doi: 10.52202/085713-4926.
[95] Wenbo Gong, Javier Zazo, Qijun Luo, Puqian Wang, James Hensman, and Chao Ma. ARO: A new lens on matrix optimization for large models. arXiv preprint arXiv:2602.09006, 2026.
[96] Euijin Hong and Guannan Qu. Activation-Keyed Momentum: An anisotropic momentum update via the delta rule. arXiv preprint arXiv:2608.19491, 2026.
[97] Chuan He, Shuyi Ren, Jingwei Mao, and Erik G. Larsson. DeMuon: A decentralized Muon for matrix optimization over graphs. arXiv preprint arXiv:2510.01377, 2025.
[98] Chenghao Li, Xiao Han, Xinxin Huang, Wei Liu, Boyang Li, Bing Xiao, Heran Zhang, Juanma Perez Rua, Ke Xu, Kangning Liu, Linjun Kuang, Na Li, Tan Wang, Tian Xie, Wei Peng, Yang Pei, Yifan Xu, Yuanhao Zhai, Yuwei Lin, Zhe Wang, Zihao He, Daniel Li, Junbiao Tang, Ziyang Jiang, and Dake Chen. Scaling Muon for diffusion transformers. arXiv preprint arXiv:2608.20818, 2026.
[99] Zihan Zhu, Zhehang Du, Xuyang Chen, Tim Tsz-Kit Lau, Jiayuan Wu, X. Y. Han, Qi Long, and Weijie Su. Rank-efficient LoRA via joint tangent-space optimization under isotropic curvature. arXiv preprint arXiv:2609.12123, 2026.
[100] Mikail Khona, Aditya Vavre, Boxiang Wang, Deyu Fu, Hao Wu, Mike Chrzanowski, Bryan Catanzaro, Dheevatsa Mudigere, Jeff Pool, Michael Lightstone, Mohammad Shoeybi, Mostofa Patwary, Nima Tajbakhsh, and Tijmen Blankevoort. SOAP, Muon, and beyond: Pushing LLM pretraining scales. arXiv preprint arXiv:2607.20548, 2026.
[101] Gary L. Miller, Vijaya Ramachandran, and Erich Kaltofen. Efficient parallel evaluation of straight-line code and arithmetic circuits. SIAM Journal on Computing, 17(4):687–695, 1988. doi:10.1137/0217044. URL https://doi.org/10.1137/0217044.
[102] Keller Jordan, Jeremy Bernstein, Brendan Rappazzo, @fernbear.bsky.social, Vlado Boza, Jiacheng You, Franz Cesista, Braden Koszarsky, and @Grad62304977. Modded-NanoGPT: Speedrunning the NanoGPT baseline, 2024. URL https://github.com/KellerJordan/modded-nanogpt.
[103] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
[104] Gemma Team. Gemma 3 technical report. arXiv preprint arXiv:2503.19786, 2025.
[105] Lozko B Milev and Szilárd Gy Révész. Bernstein’s inequality for multivariate polynomials on the standard simplex. Journal of Inequalities and Applications, 2005(2):604086, 2005. ISSN 1029-242X. doi: 10.1155/jia.2005.145. URL http://dx.doi.org/10.1155/JIA.2005.145.
[106] Philippe Tillet, H. T. Kung, and David Cox. Triton: an intermediate language and compiler for tiled neural network computations. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, PLDI '19, pages 10–19. ACM, 2019. doi: 10.1145/3315508.3329973.
[107] Ted Zadouri, Markus Hoehnerbach, Jay Shah, Timmy Liu, Vijay Thakkar, and Tri Dao. FlashAttention-4: Algorithm and kernel pipelining co-design for asymmetric hardware scaling. arXiv preprint arXiv:2603.05451, 2026.
[108] Guilherme Penedo, Hynek Kydliček, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, and Thomas Wolf. The FineWeb datasets: Decanting the web for the finest text data at scale. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 30811–30849. Curran Associates, Inc., 2024. doi: 10.52202/079017-0970.
[109] Sharan Chetlur, Cliff Woolley, Philippe Vandermersch, Jonathan Cohen, John Tran, Bryan Catanzaro, and Evan Shelhamer. cuDNN: Efficient primitives for deep learning. arXiv preprint arXiv:1410.0759, 2014.
A Solving the Polar Switch Optimization Problem
This appendix treats problem (9) of Section 3.3. As in Polar Express, we use the initial interval after Frobenius normalization [15, Section 3.3]. In the GPT-2 Small experiments of Polar Express, validation loss was less sensitive to removing or reversing singular directions below than below , where is the largest singular value of the momentum matrix [15, Appendix H.1, Figure 9]. For with , , and singular values in , the problem uses the circuits of inner depth on square buffers with (Definitions 3.1 and 3.2), their polynomials from (4), and their perturbed polynomials from (6) with :
An outer iteration with costs leading-order FLOPs (Proposition 3.5). For a budget and a largest inner depth , problem (9) is
For a feasible point of (9) with , centering the output interval at one gives, in exact arithmetic, a worst-case error of at most in (7) (Lemma A.5 and Proposition A.6).
Appendix A.1 reduces (9) to one problem per outer iteration, bounds the error after centering, and chooses the schedule, and Appendix A.2 solves the problem of one outer iteration numerically, rescales the circuits for float16, and lists all Polar Switch methods.
A.1 Greedy Circuits and Optimal Schedules
In problem (9), the constraints on are and the rounding constraint, so they depend on the earlier outer iterations only through . For one outer iteration, this gives the following problem.
Definition A.1 (Per-iteration problem). For and ,
For a schedule , let and , .
The supremum is over a nonempty set, because every circuit with satisfies the constraint of (11). Since gives on , .
Lemma A.2 (Monotonicity). If , then .
Proof. Let , and let satisfy the constraint of (11). Since , we have . The constraint of (11) does not depend on , so both suprema in (11) range over the same circuits. Taking the supremum over these circuits gives .
Theorem A.4 uses circuits that attain the supremum in (11). The next lemma shows that such circuits exist.
Lemma A.3 (Attainment). If , then for and , the supremum in (11) is attained.
Proof. There are finitely many buffer patterns , and the supremum in (11) is the largest of the suprema over these patterns. Thus, we fix one pattern. Then is determined by its coefficients , and it suffices to show that the supremum over these coefficients is attained. Step 1 shows linear independence, Step 2 turns it into a bound on the coefficients, Step 3 normalizes the stored values, and Step 4 concludes by compactness.
Setup. For , inner iteration stores in (6). We say that inner iteration 0 stores . For inner iteration , let , and define and in the same way with and . Then (6) reads
We write for the polynomials in with real coefficients, and when . By induction on , has total degree at most , and . Let
for each polynomial in and . Since , the set has a nonempty interior. A polynomial that is zero on a set with a nonempty interior is the zero polynomial, so implies . Thus, is a norm on every finite-dimensional space of polynomials in and , such as . For , let
Each is the intersection of a linear subspace of with the closed and bounded set . Since has finite dimension, is compact.
Step 1. For , let with . Assume that whenever satisfy . We show that the polynomials , , and 1 are linearly independent, that is,
Let , and compare the coefficients of the powers of . If , then only has positive degree in , so , and gives . If , then only has positive degree in , so , and gives , because has positive degree in . If , then , and the coefficient of is , so , which gives and then . The case follows by exchanging and . If , then , and the three terms have degrees 2, 1, and 0 in , so .
Step 2. We turn Step 1 into a bound on the coefficients. For and , the function is continuous. Let
This set is compact, because each is compact, the conditions define a closed set, and is compact. On , each is nonzero and has the form of Step 1, and . By Step 1, is a nonzero polynomial, so on . Thus, has a positive minimum on . For , dividing by gives . Thus, with ,
for all and all with if . The same argument, with Step 1 for or , gives such a bound for , , and , which occur when a factor or the addend is zero (Step 3). We take as the largest of these finitely many constants, over all .
Step 3. We normalize the stored values without changing or . Fix and . Multiply by . For each , replace by , where is the number of with , and replace by if . By induction on , the new value stored by inner iteration is , and all other stored values do not change. Indeed, for the values that it reads do not change, so the new value is . For , each factor or addend equal to the value stored by inner iteration is multiplied by , and the new coefficients cancel this factor. Since , the value does not change, so and , its value at , do not change. In particular, the rescaled circuit satisfies the constraint of (11).
We apply this rescaling for in increasing order, with when . Each rescaling changes only its own stored value, so afterwards for each with . If , we set to zero each with or and each with . These coefficients multiply the zero polynomial, so no stored value changes. Since , we have \widetilde{\beta}_{w_\theta_\rho}^{(\theta_\rho)} \in \mathcal{S}_{\theta_\rho} for each and with \widetilde{\beta}_{w_\theta_\rho}^{(\theta_\rho)} \neq 0. Step 2 then gives for .
It remains to bound . On , we have , so and . For , . For , the constraint of (11) gives on , and , so . The map is also a norm on , because on implies . All norms on the finite-dimensional space are equivalent, so there is with for all . Thus, , and
Step 4. Let be the set of coefficients that satisfy the constraint of (11). For each , is a polynomial in the coefficients, so the coefficients with form a closed set. The set is the intersection of these closed sets, so it is closed. Thus, is compact, and it contains the zero coefficients. Since is jointly continuous in and the coefficients, and is compact, is continuous in the coefficients. Thus, it attains its maximum on . By Step 3, every point of has the same as a point of . Hence, this maximum is the supremum over , and the supremum in (11) is attained.
The next theorem shows that, for a fixed schedule, we can solve (9) one outer iteration after another, as Polar Express shows for quintic compositions [15]. No other feasible circuits for this schedule give larger lower endpoints.
Theorem A.4 (Greedy optimality). Let be a schedule, and let and , , satisfy the constraints of (9). Then the following hold.
(i) for .
(ii) for (Definition A.1).
(iii) If satisfies the constraint of (11) and for , then and , , satisfy the constraints of (9).
Since , circuits as in (iii) exist for this schedule (Lemma A.3), and they attain the optimal value of (9) for this schedule. We call circuits as in (iii) greedy.
Proof. We prove (i) and (ii) by induction on . For , the composition is the identity, so the set in (i) is , and . Assume that (i) and (ii) hold for .
(i) The composition of the first outer iterations maps into , and the first constraint of (9) gives , so the composition of the first outer iterations maps into .
(ii) The second constraint of (9) is the constraint of (11), so is admissible in the supremum that defines . The first constraint gives . Because , Lemma A.2 gives .
(iii) With , the constraint of (11) gives for . Together with , this gives .
By Lemma A.3, the supremum in (11) is attained at each , so greedy circuits exist. By (ii), no feasible point has , and by (iii), greedy circuits attain .
By Theorem A.4(i), the composition of all outer iterations maps into . The next lemma gives the constant that centers at one.
Lemma A.5 (Final centering). For ,
and attains the minimum. This minimum strictly decreases in .
Proof. Fix . The function is convex, so its maximum on is attained at an endpoint. Since , we have and , so this maximum is . The first term decreases and the second term increases in , so their maximum is smallest when they are equal, that is, when . Then both terms equal , which strictly decreases in .
The next proposition bounds the error of the centered output of any feasible point of (9).
Proposition A.6 (Error bound after centering). Let and , , satisfy the constraints of (9) with , and let be with the coefficients of its last inner iteration multiplied by . Then, in exact arithmetic, satisfies , and for every with singular values in .
Proof. The last inner iteration of is linear in , , , and no later inner iteration reads its output. Thus, and are multiplied by , so . By Theorem A.4(i), maps into , so maps it into . By Lemma A.5, . The bound on follows as in the proof of Proposition 3.7.
Thus, for each schedule, greedy circuits attain the largest in (9), and centering their output gives the error bound , which strictly decreases in (Lemma A.5). It remains to choose the schedule with and that maximizes , by dynamic programming over the cost, as in [49].
Proposition A.7 (Optimal schedule under a FLOP budget). Let , , and . For a cost , let be the largest over the schedules with and , and let . Then
over the for which is defined. A schedule that attains maximizes subject to and . With greedy circuits, this schedule solves (9).
Proof. Each outer iteration costs . Thus, a schedule of cost has , and with there are finitely many such schedules, so each is a maximum.
We first show that is at most the right-hand side. Let have cost . Removing gives a schedule of cost whose lower endpoint satisfies . If , this is the empty schedule with . By Lemma A.2, , so is at most the right-hand side.
Conversely, for each admissible , appending to a schedule that attains gives a schedule of cost with . Hence, is at least the right-hand side.
Since , the recursion expresses through values of at smaller costs. Thus, we can compute for all costs in increasing order and keep, for each cost, a schedule that attains . A schedule with the largest over maximizes over all feasible schedules. By Theorem A.4, the supremum of in (9) for each schedule is , so this schedule with greedy circuits solves (9).
A.2 Numerical Search and Coefficients
Appendix A.1 reduces (9) to the per-iteration problem (11). We solve (11) numerically, for one inner depth and one input interval at a time. For , we use this search in place of each in the recursion of Proposition A.7. For , we fix the schedules (5,5), (6,4), and (5,4), and we apply the search to their outer iterations in order, starting from (Section 3.4).
Sampled problem. We call the buffer pattern of . For each buffer pattern, the search optimizes only . For , it tries all alternating buffer patterns, for example 32 for (Section 3.4). For , it first removes some patterns (degree-bound pruning below). Problem (11) has a constraint for every and every , so the search replaces , and with finite sets , and , and it computes a local solution of
At the start, contains 161 geometrically and 161 uniformly spaced points in , also contains 33 uniformly spaced points in , and contains random points and corners of . The search solves (12) by local optimization from several starting coefficients, which are random or come from earlier runs. Each start gives one candidate circuit.
Adversarial points. A candidate can violate the constraint of (11) between the points of , , and . Thus, at regular intervals during the local optimization, the search finds the inputs and rounding factors where is smallest on and where is nearest to 0 or 1. It finds these points by local minimization from the worst points of , , and , and adds them to these sets.
Certification. Finite sets cannot show the constraint of (11) for all inputs and rounding factors. Thus, we accept a candidate only after interval arithmetic with outward rounding shows that
We say that this check certifies the candidate. Interval arithmetic computes intervals that contain all exact values of and , and outward rounding keeps them valid in floating-point arithmetic. Certification is expensive, so we certify only the best candidates on , , and .
Refinement. Certification also gives several points: the points in the whole domain where it finds smallest on and nearest to 0 or 1. The search adds these points to , , and , runs the local optimization again from the candidate, and certifies the new candidate. It repeats this for a few rounds, until stops increasing. Over all buffer patterns and starting coefficients, the search returns the accepted candidate with the largest , and the search for the next outer iteration uses . After the rescaling for float16 below, we certify the rescaled circuit again.
Degree-bound pruning. For , the search removes buffer patterns before the local optimization. The buffer pattern bounds the degree of . A polynomial of bounded degree that satisfies the constraint of (11) and is zero at zero cannot increase arbitrarily fast, so inequalities for bounded polynomials, such as the Bernstein–Szegő inequality [105], bound . The search removes a pattern when this bound is at most the certified of the best circuit found so far for the same and .
Rescaling for float16. In exact arithmetic, each outer iteration before centering maps into , but the stored values can be very large or very small. We can rescale them, because each before the last inner iteration has a free scale. For example, the first two inner iterations of PS2-55 in Algorithm A.1 are, with coefficients rounded to four significant digits,
For , replacing them by
multiplies the first stored value by and does not change the second, so and do not change. Step 3 of the proof of Lemma A.3 gives this rescaling for any circuit. Before we use the circuits, we choose the scales so that a certified upper bound on lies in for each . The rescaling does not change , so the rescaled circuits still satisfy the rounding constraint of (11) before centering.
Polar Switch methods. Algorithm A.1 gives all Polar Switch methods after this rescaling, with the buffers of Algorithm 1 written as and with each coefficient written as its sign only. Section 4.1 recommends inner depths of at most five. The comment after each shows how the outer iteration maps the singular values in exact arithmetic, starting from , and the last outer iteration includes the centering factor of Proposition A.6. The rounding constraint keeps each exact output below one, so the final intervals are not symmetric about one.
Algorithm A.1 Circuits and coefficients of the Polar Switch methods. We recommend PS2-55 and PS3-55.
Input: , ; a Polar Switch method
Output: Approximation to the polar factor of X
1: ; ;
2: switch the method do
3: case PS2-55:
4: Outer iteration 1:
5:
6:
7:
8:
9:
10:
11: Outer iteration 2:
12:
13:
14:
15:
16:
17:
18: case PS2-64:
19: Outer iteration 1:
20:
21:
22:
23:
24:
25:
26:
27: Outer iteration 2:
28:
29:
30:
31:
32:
33: case PS2-54:
34: Outer iteration 1:
35:
36:
37:
38:
39:
40:
41: Outer iteration 2:
42:
43:
44:
45:
46:
47: case PS2-512:
48: Outer iteration 1:
49:
50:
51:
52:
53:
54:
55: Outer iteration 2:
56:
57:
58: Outer iteration 3:
59:
60:
61:
62: case PS2-4111:
63: Outer iteration 1:
64:
65:
66:
67:
68:
69: Outer iteration 2:
70:
71:
72: Outer iteration 3:
73:
74:
75: Outer iteration 4:
76:
77:
78: case PS2-11111:
79: Outer iteration 1:
80:
81:
82: Outer iteration 2:
83:
84:
85: Outer iteration 3:
86:
87:
88: Outer iteration 4:
89:
90:
91: Outer iteration 5:
92:
93:
94: case PS3-55:
95: Outer iteration 1:
96:
97:
98: 99: 100: 101: 102: Outer iteration 2: 103: 104: 105: 106: 107: 108: 109: case PS3-64: 110: Outer iteration 1: 111: 112: 113: 114: 115: 116: 117: 118: Outer iteration 2: 119: 120: 121: 122: 123: 124: case PS3-54: 125: Outer iteration 1: 126: 127: 128: 129: 130: 131: 132: Outer iteration 2: 133: 134: 135: 136: 137: 138: end switch 139: return X
B Experimental Settings and Additional Results
Each run uses one NVIDIA B200 GPU with PyTorch 2.14.0 and CUDA 13.0. Polar Switch, Jordan, and PE use the symmetric and rectangular matrix multiplication kernels of QuACK, from the package quack-kernels 0.6.5. We extend their epilogue with NVIDIA’s CUTLASS domain-specific language (DSL) 4.8.0 to add optional diagonal shifts, through a PyTorch custom operator. QuACK requires both matrix dimensions to be at least 256 and multiples of 8. For smaller matrices, such as the matrices of Modded-NanoGPT #91, we fall back to a Triton [106] implementation of the same method, with Triton 3.8.0. GNS uses the official Gram Newton-Schulz code [16].
Algorithm A.1 gives the Polar Switch methods, and Table 4 gives the coefficients of the baselines. Jordan uses the fixed quintic coefficients of the Muon implementation [6] with 5 iterations. PE uses the coefficients of the official Polar Express code [15] with 5 iterations. PE (BF16) uses the same coefficients with bfloat16 storage and products. Jordan, PE, and PE (BF16) follow Algorithm B.1. GNS uses the five coefficient triples of the official code, restarts after its second quintic iteration, and centers the output of its last iteration at one. In training, GNS falls back to PE for square matrices, as in the official code.
Table 4: Baseline coefficients for , including the safety factor of each method. Jordan and GNS are centered at the last iteration.
| Method | Iteration t | |||
|---|---|---|---|---|
| Jordan | 1-4 | 3.4445 | -4.775 | 2.0315 |
| 5 | 4.117967776458191 | -5.708606802899656 | 2.4286983706996126 | |
| PE | 1 | 8.156554524902461 | -22.483292925577953 | 15.878769915207457 |
| 2 | 4.042929935166734 | -2.8089174659087113 | 0.500017845105131 | |
| 3 | 3.891667802292659 | -2.772484153217684 | 0.506064817850339 | |
| 4 | 3.2857536577556523 | -2.3681294933425354 | 0.4644902423300304 | |
| 5 | 2.3465413258596395 | -1.709782838268708 | 0.42323551169305257 | |
| GNS | 1 | 7.892582874424408 | -20.38301394587957 | 13.555306149406924 |
| 2 | 3.911484868135431 | -2.5464635929060884 | 0.4268988319673074 | |
| 3 | 3.760657955697423 | -2.512819018216563 | 0.4323647349070073 | |
| 4 | 3.160399673686287 | -2.149649518898498 | 0.3996366907664389 | |
| 5 | 2.365477637327074 | -1.5563980023821433 | 0.3542623265416755 |
B.1 LLM Experiments
Modded-NanoGPT #91. We use the training script of record #91 of the Modded-NanoGPT short track [102]. The model has 11 blocks, width 768, and 6 attention heads. The original script uses FlashAttention-3, and we use FlashAttention-4 [107] to run it on the B200 GPU. We train on GPT-2-tokenized FineWeb [108] for 1,250 scheduled steps followed by 40 extension steps. NorMuon [92] updates
https://github.com/Dao-AILab/quack/tree/10ce505a7ecf68e46753009bd08dcf9bd6c059ee
https://github.com/NVIDIA/cutlass/tree/098de2a652cf8f00fd70b2df54051c7eccbb855a
https://github.com/triton-lang/triton/tree/c01b6774b1865984607d89d89d3a10833de92037
https://github.com/Dao-AILab/gram-newton-schulz/tree/e45d0aca7083cb275c9a303220c05c4abecd9187
The code computes these coefficients with a cushion and a safety factor, both 0.02. With the cushion, it fits each quintic on instead of the current interval , and then scales it so that . With the safety factor, it replaces each quintic except the last one by .
https://github.com/Dao-AILab/flash-attention/tree/1bda8f9290cd48d030f1516f0e680cd464ef3554
Algorithm B.1 Quintic baselines Jordan, PE, and PE (BF16)
Input: , ; coefficients from Table 4; precision
Output: Approximation to the polar factor of
1: if precision is float16 then Jordan and PE, as in Algorithm 1 2: ; ; 3: else PE (BF16) 4: 5: end if 6: for do 7: ; ; Stored in the chosen precision 8: end for 9: return
hidden matrix weights with base learning rate 0.023, and Adam updates the remaining parameters with base learning rate 0.008. We retain the script's momentum, parameter-specific learning rates, weight decay, and learning-rate schedule. All methods use seeds 0–19. Final validation loss is measured on the first 10,485,760 tokens of the GPT-2-tokenized FineWeb validation shard.
Qwen3-0.6B. We use the Qwen3-0.6B [103] architecture with random initialization. Training uses FineWeb-Edu [108] sample-100BT, using the Qwen/Qwen3-0.6B tokenizer, for 22,889 steps of 524,288 tokens. Each step accumulates gradients over 8 microbatches of 32 sequences of length 2,048. Attention uses the fused attention kernel of cuDNN [109] (nvidia-cudnn-frontend 1.30.0), and the gated MLP uses the fused MLP kernel of QuACK. Muon updates hidden matrix weights, and AdamW updates other parameters with moment decay rates 0.9 and 0.95. Both optimizers have weight decay 0.1, and we clip the gradient norm at 1. The learning rate increases linearly to 0.0015 during the first 1% of training, then follows cosine decay to 0.00015. Muon uses momentum 0.95 and scales each matrix update by 0.2, where is the larger dimension of the matrix. Validation uses a fixed sequence of 8,388,608 held-out FineWeb-Edu tokens.
Gemma 3-1B. We use the Gemma 3-1B [104] architecture with random initialization. Training uses FineWeb-Edu [108] sample-100BT, using the google/gemma-3-1b-pt tokenizer, for 41,962 steps of 524,288 tokens. Each step accumulates gradients over 8 microbatches of 32 sequences of length 2,048. Attention uses the fused attention kernel of cuDNN [109] (nvidia-cudnn-frontend 1.30.0), and the gated MLP uses the fused MLP kernel of QuACK. Muon updates hidden matrix weights, and AdamW updates other parameters with moment decay rates 0.9 and 0.95. Both optimizers have weight decay 0.1, and we clip the gradient norm at 1. The learning rate increases linearly to 0.0005 during the first 1% of training, then follows cosine decay to 0.00005. Muon uses momentum 0.95 and scales each matrix update by 0.2, where is the larger dimension of the matrix. Validation uses a fixed sequence of 8,388,608 held-out FineWeb-Edu tokens.
B.2 Runtime and Approximation Accuracy
Test matrices. For timing measurements, we generate matrices by sampling independent entries in float32. We consider single matrices and batches. The single matrices have sizes , , , , , , , and . The batched tensors have sizes , , , , and . The first dimension of each batched tensor is its batch size.
https://github.com/NVIDIA/cudnn-frontend/tree/42286a6fb8792055f3db80403350e80114ea086c
To study how accurately each method approximates the polar factor, we construct matrices with geometrically spaced singular values and random singular vectors. These matrices have dimensions , , and . For dimensions equal to or , we generate independent and Gaussian matrices in float64, with independent entries. A reduced QR decomposition factors each matrix into a matrix with orthonormal columns and an upper triangular matrix. Denote the orthonormal factors by and .
We choose a target minimum singular value . For , we set proportional to , , scaled so that . These singular values are geometrically spaced and give a matrix of unit Frobenius norm. We select by bisection so that the smallest singular value equals . We form in float64 and convert it to the stored input in float16. For each of the dimensions and , we generate 500 independent pairs of Gaussian matrices. Each pair determines , which are shared across both values of . Every method receives the same stored inputs. The inputs are transposes of the stored inputs. In total, this gives 3,000 synthetic inputs, with 500 for each of the 3 dimensions and each of the 2 values of . The Polar Switch circuits are designed for singular values in (Appendix A), so the spectra with contain singular values below this interval.
Reference computation. After generating the test matrix X, we apply Polar Switch as in Algorithms 1 and A.1, Jordan, PE, and PE (BF16) as in Algorithm B.1, and GNS with its official code. For tall inputs, the code forms and applies polynomial multipliers on the right. This is equivalent to processing the transpose and transposing the output back. Figures 3 and 4 show each synthetic spectrum and the Modded-NanoGPT #91 matrices in separate panels, with equal weight per matrix.
Diagonal drift and directional mixing. As in Section 4.2, is the input, is the output, is the smaller dimension of , and is the compact SVD of float64(), where . Let be the scalar map of the method, including its normalization. In exact arithmetic, the output is : it has the same singular vectors as , and each singular value becomes . With converted to float64, let and , so that and in exact arithmetic. We define
Diagonal drift measures how much rounding changes the singular values along the singular vectors of , and directional mixing measures how much rounding moves the output into other directions (Figure 4). Together, they give the total rounding error: by the definition of , , so
The first line expands the square and uses the cyclic property of the trace. The second line uses , , and that is diagonal, so the off-diagonal entries of are those of .

Figure 4: Diagonal drift (top) and directional mixing (bottom), defined in (13) and (14), with the panels and conventions of Figure 3.
Runtime measurement. For each tensor shape, we time all methods in five runs. Each run starts a new Python process, uses the same input for every method, and compiles each method with torch.compile before timing. The calls of different methods are interleaved: each round calls every method once. After warm-up calls, each method has at least 30 timed calls per run for single matrices and at least 15 for batches. We time each call with CUDA events, so a runtime covers one orthogonalization call on a single matrix or on a whole batch. The runtime of a method is the median time of its calls in a run, and we report the median of these runtimes over the five runs. For a runtime ratio, we divide the time of each call by the time of the reference call in the same round, where the reference method is PE, and also GNS for rectangular inputs, and we take the same two medians. Figure 5 shows the ratios relative to PE for square (top), tall (middle), and wide (bottom) inputs, and its bars span the minimum and maximum of each ratio over the five runs.

▲ ● ■ Median |——| Min-max
Figure 5: Runtime ratios relative to PE. Values below one indicate lower runtime. GNS appears only for rectangular shapes, because it falls back to PE for square matrices. Markers show medians across five runs, and bars span the minimum and maximum.