Pith. sign in

REVIEW 1 cited by

Fast Differentiable Matrix Square Root

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2201.08663 v1 pith:NBVUAQPN submitted 2022-01-21 cs.CV cs.LGcs.MScs.NAmath.NA

classification cs.CVcs.LGcs.MScs.NAmath.NA
keywords matrixmethodsdifferentiableiterationrootsquarebackwardefficient
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Computing the matrix square root or its inverse in a differentiable manner is important in a variety of computer vision tasks. Previous methods either adopt the Singular Value Decomposition (SVD) to explicitly factorize the matrix or use the Newton-Schulz iteration (NS iteration) to derive the approximate solution. However, both methods are not computationally efficient enough in either the forward pass or in the backward pass. In this paper, we propose two more efficient variants to compute the differentiable matrix square root. For the forward propagation, one method is to use Matrix Taylor Polynomial (MTP), and the other method is to use Matrix Pad\'e Approximants (MPA). The backward gradient is computed by iteratively solving the continuous-time Lyapunov equation using the matrix sign function. Both methods yield considerable speed-up compared with the SVD or the Newton-Schulz iteration. Experimental results on the de-correlated batch normalization and second-order vision transformer demonstrate that our methods can also achieve competitive and even slightly better performances. The code is available at \href{https://github.com/KingJamesSong/FastDifferentiableMatSqrt}{https://github.com/KingJamesSong/FastDifferentiableMatSqrt}.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. MatRL: Provably Generalizable Iterative Algorithm Discovery via Monte-Carlo Tree Search

    cs.LG 2025-07 conditional novelty 6.0 of 10

    A reinforcement learning search discovers hybrid, hardware- and distribution-tuned iterative algorithms for matrix functions, with a random-matrix-theory generalization guarantee and experiments showing speedups over ...

Pith tools