Hyperbolic Neural Networks

Octavian-Eugen Ganea, Gary Bécigneul, Thomas Hofmann
5/23/2018
cs.LGstat.ML

Official code: dalab/hyperbolic_nn (187 stars, Apache-2.0, last commit 2020-10-09).

Abstract

Hyperbolic spaces have recently gained momentum in the context of machine learning due to their high capacity and tree-likeliness properties. However, the representational power of hyperbolic geometry is not yet on par with Euclidean geometry, mostly because of the absence of corresponding hyperbolic neural network layers. This makes it hard to use hyperbolic embeddings in downstream tasks. Here, we bridge this gap in a principled manner by combining the formalism of Möbius gyrovector spaces with the Riemannian geometry of the Poincaré model of hyperbolic spaces. As a result, we derive hyperbolic versions of important deep learning tools: multinomial logistic regression, feed-forward and recurrent neural networks such as gated recurrent units. This allows to embed sequential data and perform classification in the hyperbolic space. Empirically, we show that, even if hyperbolic optimization tools are limited, hyperbolic sentence embeddings either outperform or are on par with their Euclidean variants on textual entailment and noisy-prefix recognition tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Source code for the paper "Hyperbolic Neural Networks", https://arxiv.org/abs/1805.09112

18732PythonMay 22, 20186 years agoApache-2.0

Similar Papers

Cite this paper

@article{ganea2018hyperbolic,
  title  = {Hyperbolic Neural Networks},
  author = {Octavian-Eugen Ganea and Gary Bécigneul and Thomas Hofmann},
  year   = {2018},
  eprint = {1805.09112},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.09112}
}

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

Discussion