bioRxivBioinformaticsPreprint
Edit Distance Embedding with Genomic Large Language Model
Abstract
Edit distance is a fundamental metric in genomic sequence analysis, yet it is computationally expensive to calculate. A practical approach for large-scale sequence analysis involves mapping sequences into a normed space and approximating the edit distance using the more efficiently computed distance in that space. This process, known as edit distance embedding, has been extensively studied both theoretically and in practice. Recently, embedding methods based on machine learning have gained popularity, where the mapping is represented as a neural network whose parameters are learned from data. However, the accuracy of these methods remains un-satisfactory, leaving much room for improvement. Recent advancements in genomic language models have shown remarkable performance in various sequence analysis applications. We investigate if improved embeddings can be achieved using DNA language models. We introduce LLMED, a model designed to produce sequence embeddings approximating the edit distance. LLMED is trained via contrastive learning based on a pretrained genomic large language model. Through extensive experimental comparisons, we show that LLMED surpasses leading machine learning and rule-based embedding methods in approximating the edit distance; LLMED also achieved significantly improved accuracy in a critical application, similar sequence search.
- assay: DNA methylation
- assay: whole-genome sequencing
- research focus: dimensionality reduction
- research focus: benchmarking
- approach: deep learning
- approach: large language 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
- MELO-ED: learning locality-sensitive multi-embeddings for edit distance
Xin Yuan, Ke Chen, … Mingfu Shao·bioRxiv·Nov 23, 2025
- seqLens: optimizing language models for genomic predictions
Mahdi Baghbanzadeh, B Mann, … Ali Rahnavard·Molecular Biology and EvolutionPeer-reviewed·Jun 23, 2026
- Exploring Genomic Large Language Models: Bridging the Gap between Natural Language and Gene Sequences
Huaqing Liu, Shuxian Zhou, … Lanqing Han·bioRxiv·Feb 26, 2024
- A Vector Representation of DNA Sequences Using Locality Sensitive Hashing
Lizhen Shi, Bo Chen·bioRxiv·Aug 6, 2019
- Scorpio : Enhancing Embeddings to Improve Downstream Analysis of DNA sequences
Mohammad S. Refahi, Bahrad Ali Sokhansanj, … GAIL L. ROSEN·bioRxiv·Jul 19, 2024
- genomicBERT: A Light-weight Foundation Model for Genome Analysis using Unigram Tokenization and Specialized DNA Vocabulary
Tyrone Chen, Naima Vahab, … Sonika Tyagi·bioRxiv·May 31, 2023