Lune

ICLR2022顶会

Fast Differentiable Matrix Square Root

Yue Song, Nicu Sebe, Wei Wang

摘要

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é 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 https://github.com/KingJamesSong/FastDifferentiableMatSqrt.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • An Investigation Into the Stochasticity of Batch Whitening 引用了 Switchable Whitening for Deep Representation Learning
  • Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling? 引用了 An Investigation Into the Stochasticity of Batch Whitening
  • DropCov: A Simple yet Effective Method for Improving Deep Architectures 引用了 Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?
  • DropCov: A Simple yet Effective Method for Improving Deep Architectures 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Grouping Matrix Based Graph Pooling with Adaptive Number of Clusters 引用了 Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?
  • Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometry 引用了 Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?
  • Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometry 引用了 DropCov: A Simple yet Effective Method for Improving Deep Architectures
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. DropCov: A Simple yet Effective Method for Improving Deep ArchitecturesQilong Wang, Mingze Gao, Zhaolin Zhang, Jiangtao Xie 等NeurIPS 2022 · 13 次引用
  2. Grouping Matrix Based Graph Pooling with Adaptive Number of ClustersSung Moon Ko, Sungjun Cho, Dae-Woong Jeong, Sehui Han 等AAAI 2023 · 12 次引用
  3. Enhancing LLM Training via Spectral ClippingXiaowen Jiang, Andrei Semenov, Sebastian StichICML 2026 · 4 次引用
  4. MuonSSM: Orthogonalizing State Space Models for Sequence ModelingThai Khanh Nguyen, Uyen N.B. Vo, Thieu Vo, Tan Nguyen 等ICML 2026 · 1 次引用
  5. Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian GeometryZiheng Chen, Yue Song, Xiaojun Wu, Gaowen Liu 等ICLR 2025 · 1 次引用

它引用的 Paper8

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Whitening for Self-Supervised Representation LearningAleksandr Ermolov, Aliaksandr Siarohin, Enver Sangineto, Nicu SebeICML 2021 · 378 次引用
  3. Switchable Whitening for Deep Representation LearningXingang Pan, Xiaohang Zhan, Jianping Shi, Xiaoou Tang 等ICCV 2019 · 204 次引用
  4. Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?Yue Song, Nicu Sebe, Wei WangICCV 2021 · 39 次引用
  5. An Investigation Into the Stochasticity of Batch WhiteningLei Huang, Lei Zhao, Yi Zhou, Fan Zhu 等CVPR 2020

相关 Paper

  1. SPAN: A Stochastic Projected Approximate Newton MethodXunpeng Huang, Xianfeng Liang, Zhengyang Liu, Lei Li 等AAAI 2020 · 4 次引用
  2. QT-ViT: Improving Linear Attention in ViT with Quadratic Taylor ExpansionYixing Xu, Chao Li, Dong Li, Xiao Sheng 等NeurIPS 2024 · 7 次引用
  3. What if Neural Networks had SVDs?Alexander Mathiasen, Frederik Hvilshøj, Jakob Rødsgaard Jørgensen, Anshul Nasery 等NeurIPS 2020 · 12 次引用
  4. Collapsing Taylor Mode Automatic DifferentiationFelix Dangel, Tim Siebert, Marius Zeinhofer, Andrea WaltherNeurIPS 2025 · 1 次引用
  5. SOFT: Softmax-free Transformer with Linear ComplexityJiachen Lu, Jinghan Yao, Junge Zhang, Xiatian Zhu 等NeurIPS 2021 · 232 次引用
黄昏的海面,两侧是细线勾勒的悬崖