HyperCore: The Core Framework for Building Hyperbolic Foundation Models with Comprehensive Modules

Neil He, Menglin Yang, Rex Ying
4/11/2025
cs.LGcs.AI

No official code found. Best implementation: Graph-and-Geometric-Learning/HyperCore (51 stars, MIT, last commit 2026-04-22).

Abstract

Hyperbolic neural networks have emerged as a powerful tool for modeling hierarchical data across diverse modalities. Recent studies show that token distributions in foundation models exhibit scale-free properties, suggesting that hyperbolic space is a more suitable ambient space than Euclidean space for many pre-training and downstream tasks. However, existing tools lack essential components for building hyperbolic foundation models, making it difficult to leverage recent advancements. We introduce HyperCore, a comprehensive open-source framework that provides core modules for constructing hyperbolic foundation models across multiple modalities. HyperCore's modules can be effortlessly combined to develop novel hyperbolic foundation models, eliminating the need to extensively modify Euclidean modules from scratch and possible redundant research efforts. To demonstrate its versatility, we build and test the first fully hyperbolic vision transformers (LViT) with a fine-tuning pipeline, the first fully hyperbolic multimodal CLIP model (L-CLIP), and a hybrid Graph RAG with a hyperbolic graph encoder. Our experiments demonstrate that LViT outperforms its Euclidean counterpart. Additionally, we benchmark and reproduce experiments across hyperbolic GNNs, CNNs, Transformers, and vision Transformers to highlight HyperCore's advantages.

View on arXivView PDF

Code Implementations(1)

MIT
518PythonFeb 15, 20256 months agoMIT

Cite this paper

@article{he2025hypercore,
  title  = {HyperCore: The Core Framework for Building Hyperbolic Foundation Models with Comprehensive Modules},
  author = {Neil He and Menglin Yang and Rex Ying},
  year   = {2025},
  eprint = {2504.08912},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.08912v1}
}

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

Discussion