The LCFI website uses cookies only for anonymised website statistics and for ensuring our security, never for tracking or identifying you individually. To find out more, and to find out how we protect your personal information, please read our privacy policy.

CWY Parametrization: a Solution for Parallelized Optimization of Orthogonal and Stiefel Matrices

Workshop Paper by Valerii Likhosherstov, Jared Davis, Krzysztof Choromanski, Adrian Weller

CWY Parametrization: a Solution for Parallelized Optimization of Orthogonal and Stiefel MatricesProceedings of The 24th International Conference on Artificial Intelligence and Statistics, PMLR 130:55-63, 2021.

Abstract: We introduce an efficient approach for optimization over orthogonal groups on highly parallel computation units such as GPUs or TPUs. As in earlier work, we parametrize an orthogonal matrix as a product of Householder reflections. However, to overcome low parallelization capabilities of computing Householder reflections sequentially, we propose employing an accumulation scheme called the compact WY (or CWY) transform – a compact parallelization-friendly matrix representation for the series of Householder reflections. We further develop a novel Truncated CWY (or T-CWY) approach for Stiefel manifold parametrization which has a competitive complexity and, again, yields benefits when computed on GPUs and TPUs. We prove that our CWY and T-CWY methods lead to convergence to a stationary point of the training objective when coupled with stochastic gradient descent. We apply our methods to train recurrent neural network architectures in the tasks of neural machine translation and video prediction.

Download Workshop Paper