Fully Hyperbolic Neural Networks

Weize Chen, Xu Han, Yankai Lin, Hexu Zhao, Zhiyuan Liu +3 more
5/31/2021
183 citations
cs.CLcs.LG

Official code: chenweize1998/fully-hyperbolic-nn (86 stars, Python, last commit 2022-12-29).

Abstract

Hyperbolic neural networks have shown great potential for modeling complex data. However, existing hyperbolic networks are not completely hyperbolic, as they encode features in a hyperbolic space yet formalize most of their operations in the tangent space (a Euclidean subspace) at the origin of the hyperbolic space.

Show full abstract

This hybrid method greatly limits the modeling ability of networks. In this paper, we propose a fully hyperbolic framework to build hyperbolic networks based on the Lorentz model by adapting the Lorentz transformations (including boost and rotation) to formalize essential operations of neural networks. Moreover, we also prove that linear transformation in tangent spaces used by existing hyperbolic networks is a relaxation of the Lorentz rotation and does not include the boost, implicitly limiting the capabilities of existing hyperbolic networks. The experimental results on four NLP tasks show that our method has better performance for building both shallow and deep networks. Our code will be released to facilitate follow-up research.

View on arXivView PDF

Code Implementations(1)

Code for paper Fully Hyperbolic Neural Networks

8615Python, ShellJul 19, 20213 years ago

Similar Papers

Cite this paper

@article{chen2021fully,
  title  = {Fully Hyperbolic Neural Networks},
  author = {Weize Chen and Xu Han and Yankai Lin and Hexu Zhao and Zhiyuan Liu and Peng Li and Maosong Sun and Jie Zhou},
  year   = {2021},
  eprint = {2105.14686},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14686}
}

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

Discussion