Fast Differentiable Matrix Square Root
Not on the map. Why?
Abstract (arXiv)
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 hrefhttps://github.com/KingJamesSong/FastDifferentiableMatSqrthttps://github.com/KingJamesSong/FastDifferentiableMatSqrt.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 27 of its 45 references that are in the map. First posted on arXiv 21 Jan 2022.
Builds on
27 of 45 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017Universal Style Transfer via Feature Transformscited by 352
- 2020Whitening for Self-Supervised Representation Learningcited by 278
- 2015Bilinear CNNs for Fine-grained Visual Recognitioncited by 228
- 2017Improved Texture Networks: Maximizing Quality and Diversity in Feed-forward Stylization and Texture Synthesiscited by 215
- 2021RobustNet: Improving Domain Generalization in Urban-Scene Segmentation via Instance Selective Whiteningcited by 213
- 2019Switchable Whitening for Deep Representation Learningcited by 105
- 2019Iterative Normalization: Beyond Standardization towards Efficient Whiteningcited by 92
- 2018Decorrelated Batch Normalizationcited by 83
- 2017Towards Faster Training of Global Covariance Pooling Networks by Iterative Matrix Square Root Normalizationcited by 65
15 more
- 2018Image-to-Image Translation via Group-wise Deep Whitening-and-Coloring Transformationcited by 49
- 2017Is Second-order Information Helpful for Large-scale Visual Recognition?cited by 44
- 2019Deep CNNs Meet Global Covariance Pooling: Better Representation and Generalizationcited by 42
- 2019Diversified Arbitrary Style Transfer via Deep Feature Perturbationcited by 42
- 2017Improved Bilinear Pooling with CNNscited by 29
- 2015Training Deep Networks with Structured Layers by Matrix Backpropagationcited by 28
- 2018Whitening and Coloring batch transform for GANscited by 27
- 2019Backpropagation-Friendly Eigendecompositioncited by 27
- 2021Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?cited by 24
- 2021Robust Differentiable SVDcited by 19
- 2020Keep it Simple: Image Statistics Matching for Domain Adaptationcited by 17
- 2018Eigendecomposition-free Training of Deep Networks with Zero Eigenvalue-based Lossescited by 15
- 2020An Investigation into the Stochasticity of Batch Whiteningcited by 14
- 2020Group Whitening: Balancing Learning Efficiency and Representational Capacitycited by 13
- 2020Eigendecomposition-Free Training of Deep Networks for Linear Least-Square Problemscited by 7
Built on by
Citing papers per year: 2022: 6; 2023: 1; 2024: 2; 2025: 1; 2026: 4.
14 papers.
Sort:
By area:
- 2022Fast Differentiable Matrix Square Root and Inverse Square Rootcited by 16
- 2022On the Eigenvalues of Global Covariance Pooling for Fine-grained Visual Recognitioncited by 10
- 2024Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometrycited by 9
- 2022Grouping-matrix based Graph Pooling with Adaptive Number of Clusterscited by 5
- 2022Orthogonal SVD Covariance Conditioning and Latent Disentanglementcited by 5
- 2026Enhancing LLM Training via Spectral Clippingcited by 5
- 2022Improving Covariance Conditioning of the SVD Meta-layer by Orthogonalitycited by 4
- 2022Batch-efficient EigenDecomposition for Small and Medium Matricescited by 2
- 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modelingcited by 2
- 2023Series of Hessian-Vector Products for Tractable Saddle-Free Newton Optimisation of Neural Networkscited by 1
- 2025MatRL: Provably Generalizable Iterative Algorithm Discovery via Monte-Carlo Tree Searchcited by 1
- 2024Multivariate Functional Linear Discriminant Analysis for the Classification of Short Time Series with Missing Datacited by 0
- 2026Fast Differentiable SVD on GPU via Polar Decomposition26 Sep 2026
- 2026Orthogonal Polynomial Approximation for Matrix Log Normalization in Global Covariance Pooling19 Aug 2026
- 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modeling29 Jun 2026
- 2026Enhancing LLM Training via Spectral Clipping15 Mar 2026
- 2025MatRL: Provably Generalizable Iterative Algorithm Discovery via Monte-Carlo Tree Search4 Jul 2025
- 2024Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometry15 Jul 2024
- 2024Multivariate Functional Linear Discriminant Analysis for the Classification of Short Time Series with Missing Data20 Feb 2024
- 2023Series of Hessian-Vector Products for Tractable Saddle-Free Newton Optimisation of Neural Networks23 Oct 2023
- 2022Orthogonal SVD Covariance Conditioning and Latent Disentanglement11 Dec 2022
- 2022Grouping-matrix based Graph Pooling with Adaptive Number of Clusters7 Sep 2022
- 2022Batch-efficient EigenDecomposition for Small and Medium Matrices9 Jul 2022
- 2022Improving Covariance Conditioning of the SVD Meta-layer by Orthogonality5 Jul 2022
- 2022Fast Differentiable Matrix Square Root and Inverse Square Rootcited by 16
- 2022On the Eigenvalues of Global Covariance Pooling for Fine-grained Visual Recognitioncited by 10
- 2024Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometrycited by 9
- 2022Grouping-matrix based Graph Pooling with Adaptive Number of Clusterscited by 5
- 2022Orthogonal SVD Covariance Conditioning and Latent Disentanglementcited by 5
- 2026Enhancing LLM Training via Spectral Clippingcited by 5
- 2022Improving Covariance Conditioning of the SVD Meta-layer by Orthogonalitycited by 4
- 2022Batch-efficient EigenDecomposition for Small and Medium Matricescited by 2
- 2023Series of Hessian-Vector Products for Tractable Saddle-Free Newton Optimisation of Neural Networkscited by 1
- 2025MatRL: Provably Generalizable Iterative Algorithm Discovery via Monte-Carlo Tree Searchcited by 1
- 2024Multivariate Functional Linear Discriminant Analysis for the Classification of Short Time Series with Missing Datacited by 0
- 2026Orthogonal Polynomial Approximation for Matrix Log Normalization in Global Covariance Poolingcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Fast Differentiable SVD on GPU via Polar Decomposition26 Sep 2026
- 2026Orthogonal Polynomial Approximation for Matrix Log Normalization in Global Covariance Pooling19 Aug 2026
- 2026Enhancing LLM Training via Spectral Clipping15 Mar 2026
- 2025MatRL: Provably Generalizable Iterative Algorithm Discovery via Monte-Carlo Tree Search4 Jul 2025
- 2024Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometry15 Jul 2024
- 2024Multivariate Functional Linear Discriminant Analysis for the Classification of Short Time Series with Missing Data20 Feb 2024
- 2023Series of Hessian-Vector Products for Tractable Saddle-Free Newton Optimisation of Neural Networks23 Oct 2023
- 2022Orthogonal SVD Covariance Conditioning and Latent Disentanglement11 Dec 2022
- 2022Grouping-matrix based Graph Pooling with Adaptive Number of Clusters7 Sep 2022
- 2022Batch-efficient EigenDecomposition for Small and Medium Matrices9 Jul 2022
- 2022Improving Covariance Conditioning of the SVD Meta-layer by Orthogonality5 Jul 2022
- 2022On the Eigenvalues of Global Covariance Pooling for Fine-grained Visual Recognition26 May 2022
12 newest of 13 All 13 (JSON)