Fast and Scalable Gene Embedding Search: A Comparative Study of FAISS and ScaNN

Mohammad Saleh Refahi, Gavin Hearne, Harrison Muller, Kieran Lynch, Bahrad A. Sokhansanj +2 more
7/22/2025
q-bio.GNcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

The exponential growth of DNA sequencing data has outpaced traditional heuristic-based methods, which struggle to scale effectively. Efficient computational approaches are urgently needed to support large-scale similarity search, a foundational task in bioinformatics for detecting homology, functional similarity, and novelty among genomic and proteomic sequences. Although tools like BLAST have been widely used and remain effective in many scenarios, they suffer from limitations such as high computational cost and poor performance on divergent sequences. In this work, we explore embedding-based similarity search methods that learn latent representations capturing deeper structural and functional patterns beyond raw sequence alignment. We systematically evaluate two state-of-the-art vector search libraries, FAISS and ScaNN, on biologically meaningful gene embeddings. Unlike prior studies, our analysis focuses on bioinformatics-specific embeddings and benchmarks their utility for detecting novel sequences, including those from uncharacterized taxa or genes lacking known homologs. Our results highlight both computational advantages (in memory and runtime efficiency) and improved retrieval quality, offering a promising alternative to traditional alignment-heavy tools.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{refahi2025fast,
  title  = {Fast and Scalable Gene Embedding Search: A Comparative Study of FAISS and ScaNN},
  author = {Mohammad Saleh Refahi and Gavin Hearne and Harrison Muller and Kieran Lynch and Bahrad A. Sokhansanj and James R. Brown and Gail Rosen},
  year   = {2025},
  eprint = {2507.16978},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.16978v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.16978.svg)](https://codeofpaper.com/paper/2507.16978)

Discussion