Large-Scale Riemannian Meta-Optimization via Subspace Adaptation
Peilin Yu, Yuwei Wu, Zhi Gao, Xiaomeng Fan, Yunde Jia
TL;DR
This work tackles the large memory footprint inherent in Riemannian meta-optimization when optimizing deep models with manifold constraints. It introduces a subspace adaptation strategy that separately learns row and column gradient subspaces via small LSTMs, allowing a single optimizer to be shared across Riemannian parameters of varying sizes. By refining gradients with structure-preserving matrices $R$ and $C$ derived from gradient covariance, the method achieves dramatic memory reductions (down to tens of kilobytes) while maintaining or improving convergence on tasks such as PCA on Grassmann, face recognition on Stiefel, and orthogonal deep networks. The approach is trained end-to-end through bi-level meta-learning, yielding a data-driven optimizer that generalizes across tasks and supports scalable, large-scale Riemannian optimization with practical impact for continual learning and real-world constrained problems.
Abstract
Riemannian meta-optimization provides a promising approach to solving non-linear constrained optimization problems, which trains neural networks as optimizers to perform optimization on Riemannian manifolds. However, existing Riemannian meta-optimization methods take up huge memory footprints in large-scale optimization settings, as the learned optimizer can only adapt gradients of a fixed size and thus cannot be shared across different Riemannian parameters. In this paper, we propose an efficient Riemannian meta-optimization method that significantly reduces the memory burden for large-scale optimization via a subspace adaptation scheme. Our method trains neural networks to individually adapt the row and column subspaces of Riemannian gradients, instead of directly adapting the full gradient matrices in existing Riemannian meta-optimization methods. In this case, our learned optimizer can be shared across Riemannian parameters with different sizes. Our method reduces the model memory consumption by six orders of magnitude when optimizing an orthogonal mainstream deep neural network (e.g., ResNet50). Experiments on multiple Riemannian tasks show that our method can not only reduce the memory consumption but also improve the performance of Riemannian meta-optimization.
