Hyperbolic Genome Embeddings

Raiyan R. Khan, Philippe Chlenski, Itsik Pe'er

Overview

Researchers have developed Hyperbolic Genome Embeddings (HGE), a novel framework that utilizes Hyperbolic Convolutional Neural Networks (HCNNs) to model DNA. By leveraging the non-Euclidean geometry of hyperbolic space—which naturally excels at representing hierarchical, tree-like structures—these models outperform standard Euclidean CNNs and even massive, pretrained DNA language models on a wide array of genomic tasks, all while using a fraction of the parameters.

The Problem: Flat Space vs. Evolutionary Trees

Most machine learning models for genomics treat DNA sequences as flat strings in Euclidean space. However, biological sequences are the product of evolution, a process that is fundamentally hierarchical and best represented by phylogenetic trees.

Euclidean space struggles to represent these hierarchies without significant distortion. As you move down the branches of an evolutionary tree, the number of possible leaf nodes grows exponentially. In flat Euclidean space, there simply isn't enough "room" to keep these points far apart while maintaining their accurate distances to common ancestors. This mismatch in inductive bias means standard models often fight against the natural geometry of the biological data they are trying to learn.

Methods: Hyperbolic Convolutional Neural Networks

To align the model's geometry with the data's evolutionary history, the authors propose using HCNNs based on the Lorentz model, a specific mathematical representation of hyperbolic geometry.

Architecture of the Hyperbolic Convolutional Module

Key technical components of this approach include:

  • Lorentz Convolutional Layers: Reimagining the standard convolution operation so that feature maps exist on a hyperboloid manifold rather than a flat plane.
  • Lorentz Batch Normalization (LBN): Using Fréchet means and variances to normalize data without forcing it out of hyperbolic space.
  • Lorentz Multinomial Logistic Regression (MLR): A classification head that finds decision hyperplanes directly within the hyperbolic space.
  • HCNN-S vs. HCNN-M: The authors tested two architectural variants: one with a single fixed curvature across all layers (HCNN-S), and a multi-curvature version (HCNN-M) that allows different curvatures for different blocks, mapping points between manifolds using exponential and logarithmic maps.

Comprehensive Benchmarking

The study evaluates HGE across a massive battery of 42 datasets:

  1. GUE (Genome Understanding Evaluation): 28 datasets covering human, mouse, yeast, and viral genomes.
  2. Genomic Benchmarks (GB): 8 datasets focusing on regulatory elements like enhancers and promoters.
  3. TEB (Transposable Elements Benchmark): A newly introduced benchmark by the authors containing 7 datasets focused on "jumping genes" (retrotransposons and DNA transposons) and pseudogenes. These elements have deep evolutionary roots but are often ignored in standard benchmarks.
  4. Synthetic Scenarios: Custom-generated data to test how models handle intra-tree versus inter-tree differentiation.

Key Insights and Results

The empirical results strongly validate the hyperbolic approach for genomic data:

  • DNA is Naturally Hyperbolic: Using a metric called Gromov $\delta$-hyperbolicity, the authors proved that genomic datasets are significantly more "tree-like" than random noise or Gaussian distributions, confirming that hyperbolic space is the correct geometric prior.
  • Dominance over Euclidean Models: Hyperbolic models outperformed their Euclidean counterparts on 37 out of 42 benchmark datasets.
  • Massive Parameter Efficiency: With only ~4.6 million parameters, the HCNNs achieved state-of-the-art performance on 7 GUE datasets, beating massive DNA Language Models (like DNABERT and Nucleotide Transformer, which have up to 2.5 billion parameters) despite being trained from scratch on much smaller data.
  • Evolutionary Sensitivity: Through in silico mutagenesis, the authors found that HCNNs are highly sensitive to conserved evolutionary signals. Mutating highly conserved regions caused the embeddings to "collapse" toward the center of the hyperbolic disk (indicating low confidence), a behavior absent when mutating random background noise.
Intra-tree classification task illustrating homology splitting
  • Zero-Shot Generalization: In "homology splitting" experiments (testing on unseen evolutionary branches, illustrated above), HCNNs showed significantly better generalization than Euclidean CNNs. This proves they learn the underlying structure of evolution rather than just memorizing sequence patterns.

Limitations and Future Directions

While highly effective, the approach has limitations. The multi-curvature model (HCNN-M) offers flexibility but requires constant mapping between different manifolds, which can introduce numerical instability during training. Additionally, hyperbolic geometry isn't a silver bullet for all genomic tasks. For instance, HCNNs did not provide a boost for promoter detection, likely because promoters rely on complex, combinatorial logic rather than strictly hierarchical evolutionary relationships.

Looking forward, the authors suggest that integrating hyperbolic layers into larger architectures—such as Transformers or state-space models like Mamba—could combine the long-range dependency modeling of modern architectures with the superior geometric priors of hyperbolic space.

Summary updated

BibTeX
@inproceedings{khan2025hyperbolic,
  author = {Raiyan R. Khan and Philippe Chlenski and Itsik Pe'er},
  title = {{Hyperbolic Genome Embeddings}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=NkGDNM8LB0},
}
Figure