Zhang and Sra describe methods for optimizing on first-order geodesically convex optimization[1], which allow generalization to non-linear metric spaces. Also see Vishnoi's article[2] which explains the topic at an introductory level.
Consider an optimization problem of the form[1:1]:
where , is -convex, is a geodesically convex set, and is a Hadamard manifold.
Zhang and Sra experiment on the matrix Karcher mean problem[1:2][3], defined as such that
where is the Riemannian metric, and each is given a symmetric positive definite matrix.
Full gradient descent is implemented, for the iteration, using the update step[1:3]:
Or, in stochastic gradient descent, approximated using a random chosen where , as[1:4]:
The code is implemented as Julia functions in src/. An implementation for a full gradient descent update step is contained within matrix_karcher_mean_gd_step.jl, and a stochastic gradient descent step is implemented in matrix_karcher_mean_sgd_step.jl, for the Karcher mean problem. The loop iterations to test the functions are in test/, implemented as testgd.jl and testsgd.jl respectively. These may be run directly, e.g. by running julia testgd.jl.
Wang et. al describe the Riemannian online convex optimization problem (R-OCO)[4].
Based on course project for CSCI-GA.2945/ MATH-GA.2012 Convex and Nonsmooth Optimization at New York University.
H. Zhang and S. Sra, “First-order methods for geodesically convex optimization,” in 29th annual conference on learning theory, V. Feldman, A. Rakhlin, and O. Shamir, Eds., in Proceedings of machine learning research, vol. 49. Columbia University, New York, New York, USA: PMLR, Jun. 2016, pp. 1617–1638. [Online]. Available: https://proceedings.mlr.press/v49/zhang16b.html ↩︎ ↩︎ ↩︎ ↩︎ ↩︎
N. K. Vishnoi, “Geodesic Convex Optimization: Differentiation on Manifolds, Geodesics, and Convexity.” arXiv, Jun. 17, 2018. Accessed: Apr. 18, 2024. [Online]. Available: http://arxiv.org/abs/1806.06373 ↩︎
T. Yamazaki, “A brief introduction of the Karcher mean,” 数理解析研究所講究録, vol. 1839, pp. 31–39, 2013, [Online]. Available: https://www.kurims.kyoto-u.ac.jp/~kyodo/kokyuroku/contents/pdf/1839-05.pdf ↩︎
X. Wang, Z. Tu, Y. Hong, Y. Wu, and G. Shi, “Online optimization over riemannian manifolds,” Journal of Machine Learning Research, vol. 24, no. 84, pp. 1–67, 2023, [Online]. Available: http://jmlr.org/papers/v24/21-1308.html ↩︎