Differentiating through the Fréchet Mean

Aaron Lou, Isay Katsman, Qingxuan Jiang, Serge Belongie, Ser-Nam Lim +1 more
2/29/2020
stat.MLcs.LG

Official code: CUAI/Differentiable-Frechet-Mean (60 stars, MIT, last commit 2021-09-28).

Abstract

Recent advances in deep representation learning on Riemannian manifolds extend classical deep learning operations to better capture the geometry of the manifold. One possible extension is the Fréchet mean, the generalization of the Euclidean mean; however, it has been difficult to apply because it lacks a closed form with an easily computable derivative. In this paper, we show how to differentiate through the Fréchet mean for arbitrary Riemannian manifolds. Then, focusing on hyperbolic space, we derive explicit gradient expressions and a fast, accurate, and hyperparameter-free Fréchet mean solver. This fully integrates the Fréchet mean into the hyperbolic neural network pipeline. To demonstrate this integration, we present two case studies. First, we apply our Fréchet mean to the existing Hyperbolic Graph Convolutional Network, replacing its projected aggregation to obtain state-of-the-art results on datasets with high hyperbolicity. Second, to demonstrate the Fréchet mean's capacity to generalize Euclidean neural network operations, we develop a hyperbolic batch normalization method that gives an improvement parallel to the one observed in the Euclidean setting.

View on arXivView PDF

Code Implementations(1)

MIT

[ICML 2020] Differentiating through the Fréchet Mean (https://arxiv.org/abs/2003.00335).

605PythonJun 22, 20205 years agoMIT
geometric-deep-learningicml2020machine-learning

Cite this paper

@article{lou2020differentiating,
  title  = {Differentiating through the Fréchet Mean},
  author = {Aaron Lou and Isay Katsman and Qingxuan Jiang and Serge Belongie and Ser-Nam Lim and Christopher De Sa},
  year   = {2020},
  eprint = {2003.00335},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.00335}
}

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

Discussion