mlsanityData to 7 Oct 2026

Fast Differentiable Matrix Square Root and Inverse Square Root

arXiv 2201.12543 ↗First posted 29 Jan 2022cs.CV cs.LGcited by 16

Not on the map. Why?

Abstract (arXiv)

Computing the matrix square root and 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 the backward pass. In this paper, we propose two more efficient variants to compute the differentiable matrix square root and the inverse 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. A series of numerical tests show that both methods yield considerable speed-up compared with the SVD or the NS iteration. Moreover, we validate the effectiveness of our methods in several real-world applications, including de-correlated batch normalization, second-order vision transformer, global covariance pooling for large-scale and fine-grained recognition, attentive covariance pooling for video recognition, and neural style transfer. The experimental results demonstrate that our methods can also achieve competitive and even slightly better performances. The Pytorch implementation is available at https://github.com/KingJamesSong/FastDifferentiableMatSqrt

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 37 of its 64 references that are in the map. First posted on arXiv 29 Jan 2022.

Builds on

37 of 64 references.

References · 37

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  5. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  6. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  7. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  8. 2017Universal Style Transfer via Feature Transformscited by 352
  9. 2020Whitening for Self-Supervised Representation Learningcited by 278
  10. 2015Bilinear CNNs for Fine-grained Visual Recognitioncited by 228
  11. 2017Improved Texture Networks: Maximizing Quality and Diversity in Feed-forward Stylization and Texture Synthesiscited by 215
  12. 2021RobustNet: Improving Domain Generalization in Urban-Scene Segmentation via Instance Selective Whiteningcited by 213
25 more
  1. 2020TEA: Temporal Excitation and Aggregation for Action Recognitioncited by 165
  2. 2018A Closed-form Solution to Photorealistic Image Stylizationcited by 133
  3. 2019Switchable Whitening for Deep Representation Learningcited by 105
  4. 2019Iterative Normalization: Beyond Standardization towards Efficient Whiteningcited by 92
  5. 2018Decorrelated Batch Normalizationcited by 83
  6. 2017Towards Faster Training of Global Covariance Pooling Networks by Iterative Matrix Square Root Normalizationcited by 65
  7. 2018Image-to-Image Translation via Group-wise Deep Whitening-and-Coloring Transformationcited by 49
  8. 2017Is Second-order Information Helpful for Large-scale Visual Recognition?cited by 44
  9. 2019Deep CNNs Meet Global Covariance Pooling: Better Representation and Generalizationcited by 42
  10. 2019Diversified Arbitrary Style Transfer via Deep Feature Perturbationcited by 42
  11. 2017Improved Bilinear Pooling with CNNscited by 29
  12. 2015Training Deep Networks with Structured Layers by Matrix Backpropagationcited by 28
  13. 2018Whitening and Coloring batch transform for GANscited by 27
  14. 2019Backpropagation-Friendly Eigendecompositioncited by 27
  15. 2021Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?cited by 24
  16. 2021Robust Differentiable SVDcited by 19
  17. 2020Keep it Simple: Image Statistics Matching for Domain Adaptationcited by 17
  18. 2018Eigendecomposition-free Training of Deep Networks with Zero Eigenvalue-based Lossescited by 15
  19. 2020An Investigation into the Stochasticity of Batch Whiteningcited by 14
  20. 2022Fast Differentiable Matrix Square Rootcited by 14
  21. 2020Group Whitening: Balancing Learning Efficiency and Representational Capacitycited by 13
  22. 2021Temporal-attentive Covariance Pooling Networks for Video Recognitioncited by 11
  23. 2021Stochastic Whitening Batch Normalizationcited by 9
  24. 2020Eigendecomposition-Free Training of Deep Networks for Linear Least-Square Problemscited by 7
  25. 2021Improving Generalization of Batch Whitening by Convolutional Unit Optimizationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 3; 2024: 4; 2025: 3; 2026: 3.

16 papers.

Sort:

  1. 2023Forward-backward Gaussian variational inference via JKO in the Bures-Wasserstein Spacecited by 36
  2. 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
  3. 2023Adaptive Log-Euclidean Metrics for SPD Matrix Learningcited by 13
  4. 2023Riemannian Multinomial Logistics Regression for SPD Neural Networkscited by 11
  5. 2024Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometrycited by 9
  6. 2025Gradient Multi-Normalization for Stateless and Scalable LLM Trainingcited by 9
  7. 2022Orthogonal SVD Covariance Conditioning and Latent Disentanglementcited by 5
  8. 2025SPD Matrix Learning for Neuroimaging Analysis: Perspectives, Methods, and Challengescited by 5
  9. 2022Improving Covariance Conditioning of the SVD Meta-layer by Orthogonalitycited by 4
  10. 2024Fast and Stable Riemannian Metrics on SPD Manifolds via Cholesky Product Geometrycited by 4
  11. 2026PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Trainingcited by 4
  12. 2022Batch-efficient EigenDecomposition for Small and Medium Matricescited by 2
4 more
  1. 2025Adversarial Defence without Adversarial Defence: Enhancing Language Model Robustness via Instance-level Principal Component Removalcited by 2
  2. 2024Cross-Level Multi-Instance Distillation for Self-Supervised Fine-Grained Visual Categorizationcited by 1
  3. 2026Learning to Discover Iterative Spectral Algorithmscited by 0
  4. 2026A Short Note on Batch-efficient Divide-and-Conquer Algorithm for EigenDecompositioncited by 0