Orthogonalising gradients to speed up neural network optimisation

Mark Tuddenham, Adam Prügel-Bennett, Jonathan Hare
2/14/2022
cs.LG

Official code: MarkTuddenham/Orthogonal-Optimisers (6 stars, Python, MIT, last commit 2022-12-14).

Abstract

The optimisation of neural networks can be sped up by orthogonalising the gradients before the optimisation step, ensuring the diversification of the learned representations. We orthogonalise the gradients of the layer's components/filters with respect to each other to separate out the intermediate representations.

Show full abstract

Our method of orthogonalisation allows the weights to be used more flexibly, in contrast to restricting the weights to an orthogonalised sub-space. We tested this method on ImageNet and CIFAR-10 resulting in a large decrease in learning time, and also obtain a speed-up on the semi-supervised learning BarlowTwins. We obtain similar accuracy to SGD without fine-tuning and better accuracy for naïvely chosen hyper-parameters.

View on arXivView PDF

Code Implementations(1)

MIT

Code to create orthogonal optimisers from torch.optim.Optimizer

60PythonSep 15, 20213 years agoMIT

Similar Papers

Cite this paper

@article{tuddenham2022orthogonalising,
  title  = {Orthogonalising gradients to speed up neural network optimisation},
  author = {Mark Tuddenham and Adam Prügel-Bennett and Jonathan Hare},
  year   = {2022},
  eprint = {2202.07052},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.07052}
}

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/2202.07052.svg)](https://codeofpaper.com/paper/2202.07052)

Discussion