Fast Differentiable SVD on GPU via Polar Decomposition

arXiv:2609.32505 · math.NA, cs.LG, cs.NA · Submitted 2026-09-26 · Read on arXiv

math.NA, cs.LG, cs.NA

Submitted: 2026-09-26

Updated: 2026-09-26

Code: https://github.com/fallnlove/cans_svd

Project page: https://j-towns.github.io/papers/svd-derivative.pdf

License: http://creativecommons.org/licenses/by/4.0/

The gist: We present a fully GPU-oriented SVD pipeline based on polar decomposition, motivated by iterative methods that rely solely on matrix multiplications, such as the Newton-Schulz iteration.

Terminology

Abstract

We present a fully GPU-oriented SVD pipeline based on polar decomposition, motivated by iterative methods that rely solely on matrix multiplications, such as the Newton-Schulz iteration. We show that this approach enables up to a 2 times speedup compared to standard implementations. Furthermore, we derive a numerically stable backward pass for the polar decomposition and leverage it to obtain a fully differentiable SVD. Our methods are released as open-source implementations in both PyTorch and JAX: https://github.com/fallnlove/cans svd.

Sources

Related papers