Cheap Orthogonal Constraints in Neural Networks: A Simple Parametrization of the Orthogonal and Unitary Group

Mario Lezcano-Casado, David Martínez-Rubio
1/24/2019
cs.LGstat.ML

Official code: lezcano/expRNN (132 stars, MIT, last commit 2020-07-13).

Abstract

We introduce a novel approach to perform first-order optimization with orthogonal and unitary constraints. This approach is based on a parametrization stemming from Lie group theory through the exponential map. The parametrization transforms the constrained optimization problem into an unconstrained one over a Euclidean space, for which common first-order optimization methods can be used. The theoretical results presented are general enough to cover the special orthogonal group, the unitary group and, in general, any connected compact Lie group. We discuss how this and other parametrizations can be computed efficiently through an implementation trick, making numerically complex parametrizations usable at a negligible runtime cost in neural networks. In particular, we apply our results to RNNs with orthogonal recurrent weights, yielding a new architecture called expRNN. We demonstrate how our method constitutes a more robust approach to optimization with orthogonal constraints, showing faster, accurate, and more stable convergence in several tasks designed to test RNNs.

View on arXivView PDF

Code Implementations(1)

lezcano/expRNNOfficial100%
MIT

Optimization with orthogonal constraints and on general manifolds

13219PythonJan 24, 20196 years agoMIT

Similar Papers

Cite this paper

@article{lezcanocasado2019cheap,
  title  = {Cheap Orthogonal Constraints in Neural Networks: A Simple Parametrization of the Orthogonal and Unitary Group},
  author = {Mario Lezcano-Casado and David Martínez-Rubio},
  year   = {2019},
  eprint = {1901.08428},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.08428}
}

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

Discussion