A highly efficient and accessible implementation of Lorentz Linear layer based on Fast and Geometrically Grounded Lorentz Neural Networks by Robert van der Klis et al.
Project description
Lorentz
Abstract
Hyperbolic space is quickly gaining traction as a promising geometry for hierarchical and robust representation learning. A core open challenge is the development of a mathematical formulation of hyperbolic neural networks that is both efficient and captures the key properties of hyperbolic space. The Lorentz model of hyperbolic space has been shown to enable both fast forward and backward propagation. However, we prove that, with the current formulation of Lorentz linear layers, the hyperbolic norms of the outputs scale logarithmically with the number of gradient descent steps, nullifying the key advantage of hyperbolic geometry. We propose a new Lorentz linear layer grounded in the well-known ``distance-to-hyperplane" formulation. We prove that our formulation results in the usual linear scaling of output hyperbolic norms with respect to the number of gradient descent steps. Our new formulation, together with further algorithmic efficiencies through Lorentzian activation functions and a new caching strategy results in neural networks fully abiding by hyperbolic geometry while simultaneously bridging the computation gap to Euclidean neural networks.
Citation
@article{Van_der_Klis2026-rs,
title = "Fast and geometrically grounded Lorentz neural networks",
author = "van der Klis, Robert and Torres, Ricardo Ch{\'a}vez and van
Spengler, Max and Ding, Yuhui and Hofmann, Thomas and
Mettes, Pascal",
month = jan,
year = 2026,
copyright = "http://creativecommons.org/licenses/by/4.0/",
archivePrefix = "arXiv",
primaryClass = "cs.LG",
eprint = "2601.21529"
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lorch-0.0.1.tar.gz.
File metadata
- Download URL: lorch-0.0.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eb8e52e9c91b413c33b84ee42ca09516857c0b7931a8ae7364b64a13656df3f
|
|
| MD5 |
b3029b9ef55c46117fe2fb2e8942592f
|
|
| BLAKE2b-256 |
49f01b37df51010ec322e3b7fa964cdf2428fa4ad0341195fe9b4b5f4bb6fa59
|
File details
Details for the file lorch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lorch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b13e7924d3d1e944973041e849289e556f9a5c6b4c45c542c2e7c75431ebed46
|
|
| MD5 |
3b81e24fd67252059874dda22119a3a3
|
|
| BLAKE2b-256 |
483fff8a6743caffd458a69cbff0dedc97c8b0c449179c613cb197c510681ccf
|