HELM: Hyperbolic Large Language Models via Mixture-of-Curvature Experts

Neil He, Rishabh Anand, Hiren Madhu, Ali Maatouk, Smita Krishnaswamy, Leandros Tassiulas, Menglin Yang, Rex Ying

Abstract

Modern Large Language Models (LLMs) are predominantly built on Euclidean geometry, which assumes a "flat" manifold for token embeddings. However, natural language is inherently hierarchical, a structure that is mathematically better suited to hyperbolic space. This paper introduces HELM (HypErbolic Large Language Models), the first framework to successfully scale fully hyperbolic LLMs to the billion-parameter scale. By introducing innovations such as Mixture-of-Curvature Experts (MICE) and Hyperbolic Multi-Head Latent Attention (HMLA), HELM achieves up to a 4% performance improvement over state-of-the-art Euclidean architectures like LLaMA and DeepSeek, particularly in complex reasoning tasks.

Introduction

In the current landscape of generative AI, LLMs operate within Euclidean space, where distances between points are calculated on a flat plane. While computationally efficient, Euclidean space struggles to represent hierarchical data—such as taxonomies, grammatical structures, and conceptual ontologies—without significant distortion. This phenomenon, known as "crowding," occurs because the volume of Euclidean space grows polynomially with the radius, whereas the number of nodes in a hierarchy grows exponentially.

Hyperbolic geometry, characterized by constant negative curvature, offers a solution. In hyperbolic space, volume grows exponentially, providing a natural embedding for tree-like structures. Despite this theoretical advantage, previous attempts to build hyperbolic Transformers were limited by inflexible geometries, lack of modern architectural components (like RoPE), and poor scalability. HELM addresses these hurdles to provide a robust, scalable hyperbolic framework.

Methods and Architectural Innovations

HELM utilizes the Lorentz model of hyperbolic space, selected for its superior numerical stability during large-scale gradient descent. The framework introduces four primary technical contributions:

1. Mixture-of-Curvature Experts (MICE)

Building on the Mixture-of-Experts (MoE) paradigm, MICE allows the model to dynamically select the optimal geometric environment for a given token. Rather than applying a single fixed curvature to the entire model, MICE utilizes multiple "experts," each operating in a space with a distinct curvature. This allows the model to adapt its geometry based on the hierarchical depth or complexity of the input.

2. Hyperbolic Multi-Head Latent Attention (HMLA)

To overcome the quadratic memory costs of traditional attention in curved space, HELM introduces HMLA. Inspired by DeepSeek’s Multi-head Latent Attention, this mechanism compresses Key-Value (KV) caches into a low-dimensional latent space before projecting them into the hyperbolic manifold. This innovation allows a 1B-parameter HELM model to maintain a memory footprint nearly identical to its Euclidean counterparts (35.8 GB vs. 33.1 GB).

3. Hyperbolic Rotary Positional Encoding (HOPE)

Rotary Positional Encodings (RoPE) are standard in modern LLMs for capturing relative positions. HELM introduces HOPE, a novel adaptation that preserves relative positional properties while respecting the specific manifold constraints of hyperbolic geometry.

4. Hyperbolic RMSNorm

To prevent the training instabilities and "crashes" common in non-Euclidean optimization, the authors developed a hyperbolic version of Root Mean Square Normalization. This ensures the model remains invariant to input scaling, stabilizing the training of billion-parameter models.

Experimental Results

Performance Benchmarks

The authors pretrained HELM on 5 billion tokens from the English Wikipedia dataset and evaluated it against Euclidean baselines (LLaMA and DeepSeek-V3) across several standard benchmarks, including MMLU, ARC-Challenge, HellaSwag, and CommonsenseQA.

At the 1B parameter scale, HELM-MICE consistently outperformed Euclidean models. The most significant gains were observed in reasoning-heavy tasks:

  • MMLU & ARC-Challenge: HELM showed improvements of up to 4%, suggesting that hyperbolic geometry is uniquely beneficial for the complex logical branching required in STEM and general knowledge problem-solving.
  • Ablation Studies: The Mixture-of-Curvature approach (MICE) proved superior to models using a single fixed curvature, validating the hypothesis that different linguistic contexts require varying degrees of geometric "bend."

The "Breathing Room" Effect

Analysis of the model's internal representations revealed that hyperbolic space provides token embeddings with more "volume" to organize themselves. By measuring the Ricci Curvature of existing LLMs, the researchers found that embeddings naturally tend toward hyperbolic structures even in Euclidean models; HELM simply provides the mathematical framework to support this tendency. In HELM, the distance of a word from the origin (its norm) acts as a proxy for specificity: generic terms cluster near the origin, while specific technical terms are pushed into the expansive outer reaches of the manifold.

Discussion and Limitations

While HELM represents a breakthrough in non-Euclidean deep learning, several challenges remain:

  • Computational Overhead: Hyperbolic operations currently lack the highly optimized CUDA kernels available for Euclidean matrix multiplication, resulting in training and inference speeds approximately 1.5x slower than standard models.
  • Data Scale: The current models were trained on 5B tokens. While sufficient for a proof-of-concept, further research is required to see if these advantages hold when scaled to the trillions of tokens used in flagship models.
  • Scaling Laws: It remains to be seen if the established scaling laws for Euclidean LLMs apply linearly to hyperbolic space or if the increased geometric efficiency alters the power-law relationship between parameters and performance.

Conclusion

HELM demonstrates that hyperbolic geometry is not only theoretically sound for natural language but also practically scalable. By aligning the model's internal geometry with the hierarchical nature of human thought, HELM achieves superior reasoning capabilities and representation efficiency, marking a significant step toward the next generation of geometrically-aware artificial intelligence.

Summary updated

BibTeX
@inproceedings{he2025helm,
  author = {Neil He and Rishabh Anand and Hiren Madhu and Ali Maatouk and Smita Krishnaswamy and Leandros Tassiulas and Menglin Yang and Rex Ying},
  title = {{HELM: Hyperbolic Large Language Models via Mixture-of-Curvature Experts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=RnbJPkakkm},
}
Figure