Newton-Schulz Muon Backends #
Polynomial orthogonalizers, residual checks, and fixed-point conditions used by Muon.
Coefficients for the odd Newton-Schulz polynomial used by Muon-style orthogonalization.
The column-oriented shape is $X\mapsto aX+bX(X^\mathsf{T}X)+cX(X^\mathsf{T}X)^2$, matching the $Q^\mathsf{T}Q$ certificate used below. TorchLean keeps the coefficients explicit so experiments and backend-specific proofs can choose the polynomial they actually use.
- a : α
Linear coefficient.
- b : α
Cubic coefficient.
- c : α
Quintic coefficient.
Instances For
Left Gram matrix $XX^\mathsf{T}$, useful for row-oriented rectangular Newton-Schulz updates.
Instances For
Right/column Gram matrix $X^\mathsf{T}X$, matching TorchLean's column-orthogonality certificate.
Instances For
One row-oriented Newton-Schulz polynomial step using $XX^\mathsf{T}$.
Instances For
One column-oriented Newton-Schulz polynomial step using $X^\mathsf{T}X$.
Instances For
Iterate the row-oriented Newton-Schulz polynomial step a fixed number of times.
Instances For
Iterate the column-oriented Newton-Schulz polynomial step a fixed number of times.
Instances For
Row-oriented Newton-Schulz-shaped orthogonalizer backend.
Instances For
Column-oriented Newton-Schulz-shaped orthogonalizer backend.
Instances For
Residual-check success predicate for approximate Muon backends.
This is the lightest sound checker boundary: after a backend returns a direction, prove or check that the direction's Gram residual is bounded by $\varepsilon$.
Instances For
Turn any orthogonalizer into a checked approximate backend by using the Gram-residual bound itself as the success predicate.
Instances For
Newton-Schulz packaged as a checked approximate backend.
The backend is the explicit Newton-Schulz tensor program, and the success predicate is the post-check that its returned direction satisfies the requested Gram-residual bound.
Instances For
A buffer is a fixed point of one column-oriented Newton-Schulz step.
This is a deliberately local condition. It does not assert convergence from arbitrary inputs; it records the exact algebraic fact needed when a backend has already reached a stable direction.
Instances For
If one Newton-Schulz step fixes a buffer, then any finite number of Newton-Schulz iterations fixes the same buffer.
A Newton-Schulz fixed point is returned unchanged by the corresponding orthogonalizer.
If a buffer already has exact column Gram and is fixed by one Newton-Schulz step, then the finite-iteration Newton-Schulz backend exactly orthogonalizes that buffer.
Newton-Schulz packaged as a checked exact backend for already-stable directions.
The success predicate says that the input buffer already has exact column Gram and is a fixed point of one Newton-Schulz step. Under that explicit condition, every finite Newton-Schulz iteration returns the same exact-column-orthogonal direction.