Towards Faster Training of Global Covariance Pooling Networks by Iterative Matrix Square Root Normalization

Peihua Li, Jiangtao Xie, Qilong Wang, Zilin Gao
12/4/2017
317 citations
cs.CV

Official code: jiangtaoxie/fast-MPN-COV (277 stars, Python, MIT, last commit 2021-06-03).

Abstract

Global covariance pooling in convolutional neural networks has achieved impressive improvement over the classical first-order pooling. Recent works have shown matrix square root normalization plays a central role in achieving state-of-the-art performance.

Show full abstract

However, existing methods depend heavily on eigendecomposition (EIG) or singular value decomposition (SVD), suffering from inefficient training due to limited support of EIG and SVD on GPU. Towards addressing this problem, we propose an iterative matrix square root normalization method for fast end-to-end training of global covariance pooling networks. At the core of our method is a meta-layer designed with loop-embedded directed graph structure. The meta-layer consists of three consecutive nonlinear structured layers, which perform pre-normalization, coupled matrix iteration and post-compensation, respectively. Our method is much faster than EIG or SVD based ones, since it involves only matrix multiplications, suitable for parallel implementation on GPU. Moreover, the proposed network with ResNet architecture can converge in much less epochs, further accelerating network training. On large-scale ImageNet, we achieve competitive performance superior to existing counterparts. By finetuning our models pre-trained on ImageNet, we establish state-of-the-art results on three challenging fine-grained benchmarks. The source code and network models will be available at http://www.peihuali.org/iSQRT-COV

View on arXivView PDF

Code Implementations(1)

MIT

@CVPR2018: Efficient unrolling iterative matrix square-root normalized ConvNets, implemented by PyTorch (and code of B-CNN,Compact bilinear pooling etc.) for training from scratch & finetuning.

27755Python, ShellAug 12, 20185 years agoMIT

Similar Papers

Cite this paper

@article{li2017towards,
  title  = {Towards Faster Training of Global Covariance Pooling Networks by Iterative Matrix Square Root Normalization},
  author = {Peihua Li and Jiangtao Xie and Qilong Wang and Zilin Gao},
  year   = {2017},
  eprint = {1712.01034},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.01034}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1712.01034.svg)](https://codeofpaper.com/paper/1712.01034)

Discussion