Hyperbolic Genome Embeddings

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

TL;DR

This paper introduces hyperbolic convolutional neural networks (HCNNs) for genomic sequence modeling, demonstrating their superior ability to capture the inherent hierarchical structure of DNA compared to traditional Euclidean models. By leveraging hyperbolic geometry, HCNNs achieve state-of-the-art performance on numerous genomic tasks, including a new benchmark for transposable elements, while using significantly fewer parameters.

What Problem Does This Paper Address?

Genomic sequences are incredibly complex, encoding vast amounts of information about cellular and molecular activity. Current machine learning models for genomic sequence analysis often struggle to capture the evolutionary history and intricate hierarchical relationships embedded within DNA. These relationships arise from evolutionary processes like gene duplication and divergence, leading to nested structures that are not naturally represented in standard Euclidean spaces. Existing methods often rely on explicit phylogenetic mapping, which can be cumbersome and limited by available evolutionary metadata. This paper aims to develop a more expressive and efficient representation learning framework that implicitly handles these latent hierarchies by utilizing hyperbolic geometry.

Methods

The core of this work is the application of fully hyperbolic convolutional neural networks (HCNNs). These networks adapt the standard convolutional neural network (CNN) architecture to operate within hyperbolic spaces, specifically using the Lorentz model. Key components include:

  • Lorentz Convolutional Layer: This layer reinterprets convolutional operations in hyperbolic space, ensuring that representations remain on the hyperboloid.
  • Lorentz Batch Normalization (LBN): A hyperbolic adaptation of batch normalization.
  • Lorentz Multinomial Logistic Regression (MLR): A hyperbolic version of logistic regression for classification.

The authors also introduce two HCNN variants: HCNN-S (single curvature) and HCNN-M (multiple curvatures), allowing for more flexible embedding spaces. They also developed an empirical method to interpret the hyperbolicity of dataset embeddings, providing insights into the learned representations.

Datasets

The authors evaluated their HCNN models on a wide range of datasets:

  • 42 Real-World Genomics Datasets: These cover various foundational challenges in genomics.
  • Transposable Elements Benchmark (TEB): A newly introduced benchmark designed to explore transposable elements (TEs), which are abundant and evolutionarily significant but understudied. TEB includes seven classification datasets derived from human and plant genomes, focusing on retrotransposons, DNA transposons, and pseudogenes.
  • Genome Understanding Evaluation (GUE) Benchmark: A recently published benchmark comprising seven biologically significant genome analysis tasks across 28 datasets, designed to challenge genome foundation models.
  • Genomic Benchmarks (GB): Eight classification datasets focusing on regulatory elements in human, mouse, and roundworm.
  • Synthetic Datasets: Created to rigorously test the models' ability to capture evolutionary signals under different data-generating scenarios (intra-tree differentiation, inter-tree differentiation, and tree identification).

Key Insights and Ideas

  • Hyperbolic Geometry Naturally Captures Genomic Hierarchies: The negative curvature of hyperbolic spaces is well-suited for representing tree-like structures, which are abundant in genomic data due to evolutionary processes. This allows HCNNs to implicitly learn these hierarchies without explicit phylogenetic mapping.
  • Improved Expressiveness: Hyperbolic embeddings lead to better separation of classes and more meaningful representations compared to Euclidean embeddings, as visualized by decision boundaries.
  • Efficiency and Performance: HCNNs achieve state-of-the-art results on many benchmarks, often outperforming much larger DNA language models (LMs) with orders of magnitude fewer parameters and without pretraining.
  • Understanding Hyperbolicity: The authors developed methods to measure and interpret the hyperbolicity of embeddings, revealing that genomic data often exhibits inherent hyperbolicity, making it a natural fit for hyperbolic models.
  • Sequence Ambiguity and Hierarchy: Perturbing sequences with high evolutionary constraint (high GERP scores) leads to shifts in their hyperbolic embeddings towards the center of the Poincaré disk, indicating increased ambiguity and lower confidence, consistent with the hierarchical nature of hyperbolic spaces.

Key Results

  • Outperformance on Benchmarks: HCNNs outperformed Euclidean CNNs on 37 out of 42 genome interpretation benchmark datasets.
  • State-of-the-Art on GUE: HCNNs achieved state-of-the-art performance on seven GUE benchmark datasets, surpassing many large DNA language models.
  • Parameter Efficiency: HCNNs used significantly fewer parameters than comparable large DNA LMs while achieving competitive or superior performance.
  • TEB Performance: HCNNs showed strong performance on the newly introduced Transposable Elements Benchmark.
  • Homology Splitting: Hyperbolic models demonstrated significantly improved generalization over Euclidean models in evolutionary and phylogenetic contexts when tested on unseen homology branches.

Limitations and Future Work

  • Emergent Hyperbolicity: High-dimensional data can exhibit "emergent hyperbolicity," where dworst values decrease with increasing dimensionality. This can make it challenging to interpret the true hyperbolic nature of the space.
  • Formalizing δ-Distributions: Further work is needed to formally analyze the behavior of δ-distributions and their robustness to metric choices.
  • Computational Cost: While parameter-efficient, some hyperbolic operations can be computationally intensive.
  • Future Work: The authors suggest exploring hybrid models that combine hyperbolic and Euclidean components, developing more robust metrics for evaluating dataset hyperbolicity, and advancing the understanding and optimization of hyperbolic models for genomics. They also highlight the potential of HCNNs as a foundational framework for DNA LMs.

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