NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hyperbolic Deep Reinforcement Learning

Edoardo Cetin, Benjamin Paul Chamberlain, Michael M. Bronstein, Jonathan J Hunt

In the world of Reinforcement Learning (RL), an agent’s journey through an environment is essentially a branching tree of decisions and outcomes. Yet, for years, the standard practice has been to force these tree-like structures into flat, Euclidean latent spaces. A team of researchers from King’s College London, Oxford, and Twitter recently explored a compelling question: What if we gave RL agents a geometry that actually fits their world?

The result is Hyperbolic Deep Reinforcement Learning, a framework that leverages the unique properties of hyperbolic geometry to help agents learn more generalizable and efficient representations. By replacing standard Euclidean latent layers with hyperbolic ones, RL agents can more naturally encode the hierarchical structure of decision-making.

The Geometric Mismatch in RL

Deep RL agents often struggle with generalization. An agent trained to play a game might master the specific levels it has seen but fail miserably when the background color changes or obstacles are slightly rearranged. This happens because standard neural networks, operating in Euclidean space, often capture spurious correlations rather than the underlying "logic" of the task.

The authors argue that the evolution of states in a Markov Decision Process (MDP) is inherently hierarchical. It forms a tree where each action leads to new branches of future possibilities. Euclidean space is "too flat" to represent these trees efficiently; as a tree grows, the number of nodes increases exponentially, but the volume of Euclidean space only grows polynomially. This geometric mismatch forces models to use high-dimensional vectors to compensate, leading to overfitting and poor generalization.

State spaces in RL naturally form branching trees, which can be elegantly embedded in the exponential volume of hyperbolic space.

The Solution: Hyperbolic Space and S-RYM

The core idea of this paper is to embed the agent's latent representations into hyperbolic space (specifically using the Poincaré ball model). In hyperbolic space, volume grows exponentially with the radius, making it the perfect geometric fit for "fitting" trees.

However, simply swapping a Euclidean layer for a hyperbolic one isn't enough. RL is notoriously unstable due to non-stationary data and high-variance gradients. The authors found that "naive" hyperbolic layers lead to exploding gradients. To fix this optimization bottleneck, they developed S-RYM (Spectrally-Regularized Hyperbolic Mappings):

  1. Spectral Normalization (SN): Borrowed from GAN research, this technique bounds the Lipschitz constant of the network, preventing the gradients from spiraling out of control.
  2. Dimensionality-based Rescaling: They scale the latent vectors by $1/\sqrt{n}$ (where $n$ is the dimension) before mapping them to the hyperbolic space. This ensures that the magnitude of the representations remains stable regardless of the chosen dimensionality.

By integrating S-RYM into workhorse algorithms like PPO (on-policy) and Rainbow DQN (off-policy), the authors stabilized the training process enough to reap the benefits of hyperbolic geometry.

The Hierarchy Hypothesis and Extreme Compression

To understand why this works, the authors used a metric called $\delta$-hyperbolicity to measure how "tree-like" standard RL representations are. They uncovered a fascinating trend: as agents improve at a task, their standard Euclidean representations naturally become more hyperbolic over time.

As agents learn and episodic return increases, their representations naturally become more hyperbolic (indicated by lower $\delta$-hyperbolicity).

By using a hyperbolic space from the start, we provide a better inductive bias, saving the network from having to learn this geometry from scratch. Because hyperbolic space is so efficient at representing hierarchy, the authors demonstrated extreme compression: a mere 2-dimensional hyperbolic representation could often outperform a massive 256-dimensional Euclidean one.

Key Results

The researchers evaluated their framework on two rigorous benchmarks, proving its efficacy across different RL paradigms:

  • Procgen Generalization: On the Procgen benchmark (designed to test generalization across procedurally generated levels), Hyperbolic PPO showed "near universal" benefits, improving performance in 13 out of 16 tasks. It was particularly robust when training data was scarce; with only 25 training levels, hyperbolic agents maintained much higher test performance than Euclidean baselines.
  • Atari 100K Efficiency: On the sample-limited Atari 100K benchmark, the hyperbolic version of Rainbow DQN achieved a mean human-normalized score of 0.686, nearly doubling the Euclidean baseline of 0.353.

Remarkably, without any domain-specific tuning, this general geometric approach became competitive with highly-tuned, state-of-the-art algorithms that rely on complex auxiliary tasks.

Limitations and Future Directions

While powerful, the method does come with a few trade-offs:

  • Computational Overhead: The use of power iterations for spectral normalization and hyperbolic math makes training roughly 13-16% slower in terms of wall-clock time.
  • Expressivity Constraints: Spectral normalization enforces a 1-Lipschitz constraint, which might limit the model's ability to learn extremely complex, non-smooth functions in certain environments.
  • Fixed Curvature: The current model uses a fixed negative curvature.

The authors suggest that exploring learned or mixed curvature spaces—combining spherical, Euclidean, and hyperbolic geometries—could be a promising next step to better match the diverse structural topologies of different environments. Nonetheless, this work strongly suggests that hyperbolic representations should be considered a standard tool in the deep RL arsenal.

Summary updated

BibTeX
@inproceedings{cetin2023hyperbolic,
  author = {Edoardo Cetin and Benjamin Paul Chamberlain and Michael M. Bronstein and Jonathan J Hunt},
  title = {{Hyperbolic Deep Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=TfBHFLgv77},
}
Figure