Representation learning of data on hyperbolic latent space is especially powerful at computational biology. Nature has its inherent hierarchy: molecular graph, protein structure, 3D chromatin structure, single-cell sequencing data all has its own hierarchy. Hyperbolic latent space has unique property which can naturally represent hierarchical relationship, thus become a good match when we try to learn high-dimensional geometry of biological data.
This article is a review of paper Scphere, which is a single-cell application of hyperbolic representation learning. ECCV 2022 Tutotrial is referenced as a gentle introduction to hyperbolic representation learning.
Hyperbolic geometry provides a non-euclidean view to learn a manifold which data is distributed on. Not always eucledian geometry is the good choice of manifold: spherical space and hyperbolic space is an example of spaces with positive and negative curvature.
Hyperbolic geometry is a geometry of constant negative curvature, which provides more spce than euclidean geometry for given dimension and has its intrinsic hierarchical structure. Well-defineness of basic elements which consists of the notion of space is also guaranteed. Let's take a closer look about the differences of distance, angle, line, geodesic, volume, and area defined at hyperbolic space.
Key postulate of eucledian geometry is parallel postulate: there exists a unique line which does not intersect with a given line but going through the given point. Hyperbolic counterpart is: given a line and point not on at it, there exists more than one line going through the line that does not intersect with.
If you're not familiar with basic terminologies, you can refer to the following table.
Terminology | Explanation |
---|---|
Distance | Given points how far in space? |
Geodesic arc | Distance-minimizing curve from point to |
Geodesic | Geodesic arc extended as far as possible |
Poincare ball model represents hyperbolic space as the interior of a unit ball in the Euclidean space. Poincare ball model is powerful for visualization, especially for 2-dimension Poincare disc model.
Lorentz model is defined with Lorentzian inner product with special one-hot vector that corresponds to the origin of the hyperbolic space. Point in the Lorentz model can be easily mapped to the Poincare ball for visualization
ScPhere aims to fit model into sparse single-cell data which is approximated by neural network, exploiting optimization power of neural network. Since single-cell data are sparse, i.e. matrix with lots of zero counts, they use softmax as the activation function to estimate the means of negative-bionmial distributions to generate sparse outputs. Softmax output is a vector with sum of 1, and it is multiplied by the size vector of a cell(sum of UMI counts for that cell) to get the mean of NB distribution of each gene in that cell.
Remark
- Negative-bionmial distribution
- pmf of NB distribution =
ScPhere is learning non-euclidean geometry of single-cell data, especially learning underlying hierarchies with hyperbolic representation learning. For given dataset ( for D genes, for batch indicator), the goal is to learn low-dimensional latent vector . The joint distribution is factorized as
Posterior distribution of latent variable is approximated with parameterized distribution by variational inference. Objective of hyperbolic VAE is to minimize ELBO term, formulated as
Prior distribution is assumed to be a uniform distribution on a hypersphere with density , and observation of UMI is modeled as negative-binomial distribution . Posterior distribution is assumed to be vMF(von Mises-Fisher) distribution on a uni hypersphere of dimensioinality . For robust representation learning, downsampled UMI is fed into hyperbolic VAE and MSE between latent representation from downsampled & raw UMI is added as penalty term.
Dimensionality reduction methods, including tSNE and UMAP are powerful techniques for visualizing sparse geometry of single cell genomics data. However, there is a trade-off between expressivity and interpretability. Interpretability is important since cell annotation is quite vague after cells are clustered.
PCA utilizes linear transformation to map high dimensional features into low dimensional vector space, thus partially preserves the relationshp between raw vectors after elements are aggregated. On the other hand, nonlinear transformations including tSNE can learn rich representation but does not guarantee that relationships based on coordinate at low-dimensional vector space is equivalent to original vector calcuation.
In order to compensate this weakness, maniofold learning based on generative models are emerging methods for single cell genomics. Autoencoder, Variational autoencoder, GANs are sequentially suggested. This paper suggests hyperbolic VAE to learn inherent hierarchy of single cell genomics data. Poincare ball model is exploited for visualization and shows properties of hyperbolic geometry, thus might help cell cluster annotations.