bioRxivBioinformaticsPreprint
LOCALE: Local-Alignment Embeddings for Noise-Robust DNA Search at Scale
Ryan SynkiD, Prashant PandeyiD, S. Cenk ŞahinalpiD, Ramani Duraiswami BiD
Abstract
Searching petabase-scale repositories of raw sequencing data such as the NIH Sequence Read Archive (SRA) could unlock biological insights that remain inaccessible. Existing sequence-search methods either do not scale well or rely on exact $k$-mer matching that is brittle to genomic variation, which is high both within and across species and is further compounded by sequencing error. We recast sequence search as dense retrieval: we learn sequence embeddings whose inner-product similarity ranks locally aligned sequences above unaligned ones. We introduce LOCALE, an encoder trained with an InfoNCE objective on biologically informed augmentations: overlapping crops of parent sequences corrupted with substitutions, insertions, and deletions. This training recipe, rather than a specialized architecture, consistently induces variation-robust representations across four encoders spanning three tokenization schemes, improving Recall@$R_q$ by 7--39 points at 10% genomic variation. On a 50-accession SRA benchmark LOCALE retains 63.2% Recall@$R_q$ at 10% variation while existing k-mer indexes and DNA embedding methods fall below 35%, and on the full 4,571-accession MetaGraph benchmark (296 Gbp, 2.06 billion vectors) it achieves 4.5x the AUPRC of MetaGraph, the state-of-the-art k-mer index, with a single-node GPU IVF-PQ index retaining a 3.6x advantage at MetaGraph's query latency. Our encoder and training strategy generalize to real biological variance: on a cross-genotype Hepatitis B task, querying reads from one genotype against accessions of another with >8% natural divergence, LOCALE reaches 0.813 Recall@R_q versus 0.518 for MetaGraph.
- 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
- Learning supervised embeddings for large scale sequence comparisons
Dhananjay Kimothi, Pravesh Biyani, … Wayne Kelly·PLoS ONEPeer-reviewed·Mar 13, 2020
- A Vector Representation of DNA Sequences Using Locality Sensitive Hashing
Lizhen Shi, Bo Chen·bioRxiv·Aug 6, 2019
- MELO-ED: learning locality-sensitive multi-embeddings for edit distance
Xin Yuan, Ke Chen, … Mingfu Shao·bioRxiv·Nov 23, 2025
- Kmer-Node2Vec: a Fast and Efficient Method for Kmer Embedding from the Kmer Co-occurrence Graph, with Applications to DNA Sequences
Zhaochong Yu, Zihang Yang, … Yuanzhe Cai·Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)Peer-reviewed·Jul 24, 2023
- SeqRepo: A system for managing local collections biological sequences
Reece K. Hart, Andreas Prlić·PLoS ONEPeer-reviewed·Dec 3, 2020
- Indexing All Life's Known Biological Sequences
Mikhail Karasikov, Harun Mustafa, … André Kahles·NaturePeer-reviewed·Oct 8, 2025