---
title: Chebyshev-Optimized Newton–Schulz (CANS)
url: https://www.emergentmind.com/topics/chebyshev-optimized-newton-schulz-cans-df7692a1-a466-4e14-9773-ffd992702d5d
type: topic
---

# Chebyshev-Optimized Newton–Schulz (CANS)

The Chebyshev-Optimized Newton–Schulz (CANS) method is a unified framework that extends the classical Newton–Schulz (NS) iteration for fast matrix orthogonalization and matrix inversion by leveraging the theory of Chebyshev-type polynomial approximation. CANS employs the minimax optimality of Chebyshev polynomials and algorithmic construction via the Remez algorithm, yielding fixed-point or iterative update steps with provably optimal convergence in spectral norm. CANS is central in deep learning for efficient polar decomposition, Stiefel manifold retraction, and also as a high-performance polynomial preconditioner for large-scale Krylov solvers in scientific computing. Key design innovations enable CANS to achieve faster convergence than traditional NS by aligning polynomial coefficients with the singular spectrum of the input or operator, exploiting parallel hardware, and controlling spectral clustering.

## 1. Mathematical Principles and Foundational Iterations

The classical NS iteration addresses the problem of computing the nearest matrix with orthonormal columns (the polar factor) to a given full-rank matrix \( X \in \mathbb{R}^{m \times n} \) (\( m \geq n \)). The NS update is

\[
X_{k+1} = \frac{3}{2} X_k - \frac{1}{2} X_k (X_k^T X_k) = \frac{3}{2} X_k - \frac{1}{2} X_k X_k^T X_k, \quad X_1 = X.
\]

This fixed-point iteration is equivalent, at the singular value level, to repeated application of the cubic polynomial

\[
p_{\rm NS}(s) = \frac{3}{2} s - \frac{1}{2} s^3.
\]

NS converges quadratically provided \( \sigma_1(X) < \sqrt{3} \) and \( \sigma_n(X) > 0 \).

In matrix inversion contexts, the Newton (Hotelling) iteration is \( P_{j+1} = 2P_j - P_j A P_j \) for SPD \( A \). Both scenarios rely solely on matrix multiplications, affording efficient GPU or distributed execution [2506.10935], [2008.01440].

## 2. Chebyshev Optimality and Coefficient Selection

The NS polynomial is optimal in a Taylor sense at the center point \( x=1 \), not in maximum error over the spectral range. CANS formulates the minimax polynomial approximation

\[
\min_{p \in L_n} \max_{x \in [a, b]} |p(x) - 1|,
\]
where \( L_n \) is the class of odd polynomials of degree \( 2n-1 \), and the singular values or eigenvalues lie in \( [a, b] \).

Chebyshev’s alternance theorem guarantees the existence and uniqueness of the minimax solution, with the error curve “oscillating” between extremal values at \( n+1 \) alternate points. For the cubic case (\( n=2 \)), CANS derives explicit optimal coefficients:

\[
p_{2,a,b}(x) = \frac{2}{2 E^3 + a^2 b + ab^2} [(a^2 + ab + b^2) x - x^3],
\]
where \( E = \sqrt{(a^2 + ab + b^2)/3} \), with coefficients

\[
\alpha_1 = \frac{2(a^2 + ab + b^2)}{2E^3 + a^2b + ab^2}, \quad \alpha_3 = -\frac{2}{2E^3 + a^2b + ab^2}.
\]

Higher-degree optimal polynomials are obtained constructively via the Remez algorithm [2506.10935].

## 3. High-Order Construction and Algorithmic Framework

The optimal polynomial of chosen (odd) degree is determined by solving a minimax problem over the spectrum. For degree \( 2n-1 \):

\[
p(x) = \sum_{k=1}^n \alpha_{2k-1} x^{2k-1}.
\]

The Remez algorithm iteratively adjusts alternation points and solves a linear system for coefficients and uniform error, typically converging in a few iterations. For degrees beyond 5, numerical stability deteriorates, so in practice CANS implementations rarely exceed degree 5 [2506.10935].

For matrix inversion/preconditioning, CANS polynomials can be generated via Chebyshev recurrence or Newton-type doubling recurrences, with parameterized spectral shifts to avoid undesirable eigenvalue clustering [2008.01440].

## 4. Convergence Properties and Error Analysis

CANS delivers uniform, quadratically accelerating convergence. When repeatedly applying the best cubic polynomial \( p_{2,a,b} \), with error \( \varepsilon_k \),

\[
\varepsilon_{k+1} \leq \varepsilon_k^2, \qquad \lim_{k\to\infty} \frac{\varepsilon_{k+1}}{\varepsilon_k^2} = \frac{3}{4}.
\]

For an initial interval \( [a_0, 1] \), the number of iterations required to reduce the error below \( \varepsilon \) is approximately

\[
\left\lceil \log_2\left(\frac{\ln \varepsilon}{\ln(1 - a_0)}\right) \right\rceil.
\]

In matrix preconditioning, the error for Chebyshev polynomial \( p_k \) satisfies

\[
\max_{x \in [\alpha, \beta]} |1 - x p_k(x)| = \frac{1}{|T_{k+1}(\sigma)|} \leq 2 \left(\frac{\sqrt{\kappa}-1}{\sqrt{\kappa}+1}\right)^{k+1}, \quad \kappa = \frac{\beta}{\alpha}.
\]

This translates into robust reduction in residual per iteration in preconditioned conjugate gradient (PCG) methods [2506.10935], [2008.01440].

## 5. Algorithmic Realization and Computational Aspects

Orthogonalization via CANS for \( X \in \mathbb{R}^{n \times p} \) proceeds as follows:

1. Initialize by estimating or normalizing the spectral bounds \( [a, b] \).
2. For \( s \) iterations, compute optimal polynomial coefficients (closed form for cubic, Remez otherwise), update interval \( [a, b] \) via the last step's error.
3. Compose the sequence of polynomials, applying each via efficient matmul evaluation.
4. Output is an approximately orthogonal matrix.

Matrix-multiplication count per CANS step is the polynomial degree (e.g., 2 for cubic). QR decomposition and SVD are avoided entirely. For inversion/preconditioning in PCG, the CANS preconditioner requires recursive mat-vecs with \( A \), combined using locally computable recurrences. Implementation is highly parallel, with SpMV and dot-products as main primitives, and preconditioner application decoupled from global communications [2506.10935], [2008.01440].

## 6. Empirical Performance and Use Cases

CANS accelerates polar factor computation in neural optimizers (e.g., Muon) and as retraction in Riemannian optimization:

- In Muon, CANS with degree-3 or degree-5 polynomials and tailored step counts achieves reduced wall-clock time and faster loss convergence for NanoGPT (125M parameters, 0.8B tokens) compared to the baseline Muon polynomial; 12–15 CANS matmuls outperform 4-step (8 matmul) Muon baselines [2506.10935].
- For Stiefel-retraction in Wide ResNet-16-10 on CIFAR-10, CANS achieves comparable accuracy to QR or Cayley retraction, but reduces epoch time nearly by half (e.g., Adam + CANS: 95.82% accuracy, 45.1s/epoch vs. Adam + QR: 95.57%, 61.7s/epoch).

In large-scale linear system solving, CANS as a polynomial preconditioner for PCG improves both sequential and strong scaling wall-clock performance:

- On Opt_Transp (\( n \approx 4.1 \times 10^5, \kappa \approx 10^6 \)): unpreconditioned PCG requires 3433 iterations/26.4s, while CANS degree-15 reduces to 222 iterations/19.6s.
- On Emilia_923 (\( n \approx 9.2 \times 10^5 \)), scaling from 16 to 512 ranks, CANS (degree 31) boosts parallel efficiency from 25% to 58%, reducing total time by a factor of ~2.35 [2008.01440].

CANS also matches or surpasses advanced AMG/FSAI preconditioners in high-core-count regimes.

## 7. Limitations and Practical Considerations

CANS performance is limited by several factors:

- Remez instability for degrees above 5–7 restricts practical usage to cubics or quintics.
- Accurate lower spectral bound estimation is important; underestimation slows convergence, overestimation beyond \( \sqrt{3} \) may prevent convergence. A “\( \delta \)-orthogonalization” pre-step can enforce a tight spectral interval if needed.
- The method assumes well-conditioned inputs; extremely ill-conditioned matrices may require classical SVD/QR fallback or stronger preconditioning.
- In large parallel preconditioning, optimal performance demands tuning the spectral shift parameter \( \mu \) to avoid eigenvalue clustering, with typical \( \mu \) values in \( [1.005, 1.02] \).

CANS is a fully matrix-free, storage-optimal alternative for orthogonalization and preconditioning, controlled by polynomial degree and spectrum adaptation, and is broadly applicable in machine learning and large-scale numerical linear algebra [2506.10935], [2008.01440].

Source: https://www.emergentmind.com/topics/chebyshev-optimized-newton-schulz-cans-df7692a1-a466-4e14-9773-ffd992702d5d