Hyperbolic Language Models: From Zipf to Compute-Optimal Scaling
Jinrui Lin, Menglin Yang, Rex Ying
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Neural Scaling Laws · Type: new method · Keywords: hyperbolic language models, compute-optimal scaling, Zipfian hierarchy, output-layer geometry, language model scaling laws
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Dynamics
Summary
HypTip introduces hyperbolic language models that follow a different compute-optimal scaling law than Euclidean models, achieving a data-to-parameter ratio of 8.4 versus 20.8.
Explained to a 5-year-old
People teach big computers how words work by showing them many sentences. Usually the computer guesses the next word using a flat way of thinking. This paper tries a curved way that works like a spiral. The curved way learns faster when there are many words and many model parts. It helps the model understand words better with less effort.
Explained to a 5-year-old, longer
A big computer program called a language model learns to predict the next word in a sentence. Normally it uses a simple, flat method to make guesses. This paper explores a new, curved method that works like a spiral shape. The curved method changes how the model stores information, making it more efficient. When the model sees many words and has many parts, the curved method learns faster. It also helps the model understand rare words better. The researchers trained the model on a huge text collection called OpenWebText. They measured how well the model performed on different tests, like filling in blanks and answering questions. The curved model beat the usual model on most of these tests. This shows that changing the shape of the model can improve its learning and performance.
For a technical reader
The paper evaluates hyperbolic language models across a range of parameter counts and token amounts, fitting Hoffmann-style scaling laws to compare them with standard Euclidean models. It finds that the hyperbolic readout yields a compute-optimal data-to-parameter ratio of 8.4 versus 20.8 for Euclidean baselines, winning most paired training cells. Correlation analysis shows that token log-frequency aligns with the Lorentzian radius of the output layer, indicating a causal emergence of Zipfian hierarchy during training. A replication across different model architectures confirms that output-layer geometry, not the underlying network, drives the effect.
Problem
Compute-optimal scaling laws for language models have been studied only under Euclidean readouts, leaving open how alternative geometries affect scaling behavior.
Method
The authors train hyperbolic language models from scratch across a range of parameter sizes and token counts, measuring scaling laws with the Hoffmann form and comparing hyperbolic versus Euclidean readouts. They analyze how token frequency hierarchy correlates with the geometry of the output layer, showing that the Zipfian structure emerges during training. A cross-architecture replication confirms that output-layer geometry, not the underlying model body, drives the observed effects.
Results
The hyperbolic readout achieves a compute-optimal data-to-parameter ratio of 8.4, compared to 20.8 for Euclidean baselines, winning 17 of 20 paired training cells, and maintains this advantage on held-out evaluation across WikiText-103, LAMBADA, and PIQA.
Contributions
It provides the first compute-optimal scaling-law characterization of hyperbolic language modeling, demonstrates that output-layer geometry reshapes scaling, and shows that the Zipfian token hierarchy emerges causally during training rather than being a property of frozen Euclidean checkpoints.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction