arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2105.02498cs.CVcs.LG
收藏

为什么近似矩阵平方根在全局协方差池中优于精确SVD?

Why Approximate Matrix Square Root Outperforms Accurate SVD in Global Covariance Pooling?

University of Trento(特伦托大学)

Yue Song, Nicu Sebe, Wei Wang

摘要:

全局协方差池(GCP)旨在利用卷积特征的二阶统计量。它的有效性已被证明在提高卷积神经网络(CNN)的分类性能。奇异值分解(SVD)在GCP中用于计算矩阵平方根。然而,使用Newton-Schulz迭代\cite{li2018towards}计算的近似矩阵平方根优于通过SVD \cite{li2017second}计算的精确矩阵平方根。我们从数据精度和梯度平滑度的角度实证分析了性能差距背后的原因。研究了计算光滑SVD梯度的各种补救措施。基于我们的观察和分析,提出了一种混合训练协议的SVD为基础的GCP元层,使竞争性能可以实现对牛顿-舒尔茨迭代。此外,我们提出了一个新的GCP元层,它在前向传递中使用SVD,在后向传播中使用Padé近似来计算梯度。所提出的元层已被集成到不同的CNN模型中,并在大规模和细粒度数据集上实现了最先进的性能。

英文摘要:

Global covariance pooling (GCP) aims at exploiting the second-order statistics of the convolutional feature. Its effectiveness has been demonstrated in boosting the classification performance of Convolutional Neural Networks (CNNs). Singular Value Decomposition (SVD) is used in GCP to compute the matrix square root. However, the approximate matrix square root calculated using Newton-Schulz iteration \cite{li2018towards} outperforms the accurate one computed via SVD \cite{li2017second}. We empirically analyze the reason behind the performance gap from the perspectives of data precision and gradient smoothness. Various remedies for computing smooth SVD gradients are investigated. Based on our observation and analyses, a hybrid training protocol is proposed for SVD-based GCP meta-layers such that competitive performances can be achieved against Newton-Schulz iteration. Moreover, we propose a new GCP meta-layer that uses SVD in the forward pass, and Padé Approximants in the backward propagation to compute the gradients. The proposed meta-layer has been integrated into different CNN models and achieves state-of-the-art performances on both large-scale and fine-grained datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑