bioRxivBioinformaticsPreprint
Approximate Nearest Neighbor Graph Provides Fast and Efficient Embedding with Applications in Large-scale Biological Data
Jianshu ZhaoiD, Jean Pierre Both, Konstantinos T. KonstantinidisiD
Abstract
Dimension reduction (or embedding), as a popular way to visualize data, has been a fundamental technique in many applications. Non-linear dimension reduction such as t-SNE and UMAP has been widely used in visualizing single cell RNA sequencing data and metagenomic binning and thus receive many attentions in bioinformatics and computational biology. Here in this paper, we further improve UMAP-like non-linear dimension reduction algorithms by updating the graph- based nearest neighbor search algorithm (e.g. we use Hierarchical Navigable Small World Graph, or HNSW instead of K-graph) and combine several aspects of t-SNE and UMAP to create a new non-linear dimension reduction algorithm. We also provide several additional features including computation of LID (Local Intrinsic Dimension) and hubness, which can reflect structures and properties of the underlying data that strongly affect nearest neighbor search algorithm in traditional UMAP-like algorithms and thus the quality of embeddings. We also combined the improved non-linear dimension reduction algorithm with probabilistic data structures such as MinHash-likes ones (e.g., ProbMinHash et.al.) for large-scale biological sequence data visualization. Our library is called annembed and it was implemented and fully parallelized in Rust. We benchmark it against popular tools mentioned above using standard testing datasets and it showed competitive accuracy. Additionally, we apply our library in three real-world problems: visualizing large-scale microbial genomic database, visualizing single cell RNA sequencing data and metagenomic binning, to showcase the performance, scalability and efficiency of the library when distance computation is expensive or when the number of data points is large (e.g. millions or billions). Annembed can be found here: https://github.com/jean-pierreBoth/annembed
- assay: bulk RNA-seq
- assay: metagenomics
- research focus: dimensionality reduction
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Exploring dimension-reduced embeddings with Sleepwalk
Svetlana Ovchinnikova, Simon Anders·Genome ResearchPeer-reviewed·May 1, 2020
- openTSNE: a modular Python library for t-SNE dimensionality reduction and embedding
Pavlin G. Poličar, Martin Stražar, Blaž Zupan·Journal of Statistical SoftwarePeer-reviewed·Jan 1, 2024
- Ultra-fast and Efficient Network Embedding for Gigascale Biological Datasets
Jianshu Zhao, Jean Pierre Both, Rob D. Knight·bioRxiv·Jun 18, 2025
- Haisu: Hierarchical Supervised Nonlinear Dimensionality Reduction
Kevin Christopher VanHorn, Murat Can Çobanoğlu·PLoS Computational BiologyPeer-reviewed·Jul 21, 2022
- Dimensionality Reduction with Strong Global Structure Preservation
Jacob Gildenblat, Jens Pahnke·Pattern Analysis and ApplicationsPeer-reviewed·Jan 31, 2026
- Approximate k-nearest neighbors graph for single-cell Hi-C dimensional reduction with MinHash
Joachim Wolff, Rolf Backofen, Björn Andreas Grüning·bioRxiv·Mar 5, 2020