Abstract
Recent advances in cellular research demonstrate that scRNA-seq characterizes cellular heterogeneity, while spatial transcriptomics reveals the spatial distribution of gene expression. Cell representation is the fundamental issue in the two fields. Here, we propose Topology-encoded Latent Hyperbolic Geometry (TopoLa), a computational framework enhancing cell representations by capturing fine-grained intercellular topological relationships. The framework introduces a new metric, TopoLa distance (TLd), which quantifies the geometric distance between cells within latent hyperbolic space, capturing the network's topological structure more effectively. With this framework, the cell representation can be enhanced considerably by performing convolution on its neighboring cells. Performance evaluation across seven biological tasks, including scRNA-seq data clustering and spatial transcriptomics domain identification, shows that TopoLa significantly improves the performance of several state-of-the-art models. These results underscore the generalizability and robustness of TopoLa, establishing it as a valuable tool for advancing both biological discovery and computational methodologies.
Introduction
In the field of single-cell and spatial omics, "cell representation"—the mathematical description of a cell's state based on gene expression or spatial coordinates—is the cornerstone of downstream analysis. However, current representation methods face two significant hurdles. First, sequencing technologies are inherently noisy, and technical variations between experiments (batch effects) often obscure biological signals. Second, most existing models rely on Euclidean geometry, which is poorly suited for capturing the complex, hierarchical, and "small-world" topological relationships characteristic of biological networks.
To address these challenges, we introduce TopoLa (Topology-encoded Latent Hyperbolic Geometry), a universal framework designed to enhance cell representations by mapping them into a latent hyperbolic space. By leveraging a novel topological distance metric and spatial convolutions, TopoLa provides a robust way to capture fine-grained intercellular relationships.
The TopoLa Framework
TopoLa consists of two primary innovations that allow it to be integrated as a "plug-and-play" module into existing state-of-the-art models:
1. TopoLa Distance (TLd)
Unlike standard Euclidean distance, TLd calculates geometric distance within a latent hyperbolic space. The framework performs Singular Value Decomposition (SVD) on a cell network matrix and regularizes the singular values using the formula $\sigma_i^* = \frac{\sigma_i^2}{\sigma_i^2 + \lambda}$. Theoretically, TLd is derived by counting the weighted number of even-hop paths (e.g., 2-hop, 4-hop) between cells. This approach captures global connectivity and "chemical potential" (related to a cell's degree in the network) more effectively than simple local neighbor metrics.
2. TopoConv (Spatial Convolution)
Using the TLd as a weighting factor, TopoLa performs a convolution operation on neighboring cells: $A^*(j) = \sum_{k=1}^{N} D_{topo}(k,j)A(k)$. This process effectively "smooths" cell representations, bringing geometrically similar cells closer together in the latent space. This smoothing increases the "singular value gap," making the principal components of the data more stable and significantly more robust to Gaussian noise.
Experimental Evaluation and Results
The researchers evaluated TopoLa across an exhaustive battery of tests, including 30 scRNA-seq datasets for clustering, multi-batch datasets (e.g., PBMC 10k, COVID-19), multi-omic data (BMMC), and 20 datasets for rare cell identification. The framework demonstrated universal improvements across seven critical biological tasks:
- Single-cell Clustering: Improved the Adjusted Rand Index (ARI) of the SIMLR model by 5.8% and scGNN by 2.6%.
- Multi-batch Integration: When added to the scGPT foundation model, it improved ARI by an average of 15.4%, with a peak improvement of 26.8% in the Cortex dataset.
- Multi-omic Integration: Achieved a 45.7% increase in ARI when integrating paired RNA and protein data.
- Rare Cell Identification: Boosted the F1 score for detecting rare populations, such as Ionocytes in the airway, by an average of 28.1%.
- Spatial Transcriptomics: Improved the identification of tissue layers in the human brain (DLPFC) by 11.7% on average, successfully resolving layers that baseline models often conflated.
Discussion and Conclusion
The success of TopoLa underscores the importance of geometry in biological modeling. Biological networks often possess hierarchical or tree-like structures; hyperbolic space, which expands exponentially as one moves away from the center, provides "more room" to embed these hierarchies than Euclidean space.
While TopoLa is a robust solution, its performance depends on the quality of the initial input cell network. Future work will focus on optimizing the framework for "atlas-scale" datasets containing millions of cells, where standard SVD may become computationally expensive. Nonetheless, TopoLa establishes a new standard for enhancing cell representations, offering a valuable tool for both biological discovery and computational methodology in the omics era.
Summary updated