Related Experiment Video
Updated: Jul 2, 2025

A Rapid Method to Confine and Safely Handle Bees in the Field
Published on: August 23, 2024
DNABERT-S: Pioneering Species Differentiation with Species-Aware DNA Embeddings
Zhihan Zhou1, Weimin Wu1, Harrison Ho2,3
1Department of Computer Science, Northwestern University.
Abstract:
We introduce DNABERT-S, a tailored genome model that develops species-aware embeddings to naturally cluster and segregate DNA sequences of different species in the embedding space. Differentiating species from genomic sequences (i.e., DNA and RNA) is vital yet challenging, since many real-world species remain uncharacterized, lacking known genomes for reference. Embedding-based methods are therefore used to differentiate species in an unsupervised manner. DNABERT-S builds upon a pre-trained genome foundation model named DNABERT-2. To encourage effective embeddings to error-prone long-read DNA sequences, we introduce Manifold Instance Mixup (MI-Mix), a contrastive objective that mixes the hidden representations of DNA sequences at randomly selected layers and trains the model to recognize and differentiate these mixed proportions at the output layer. We further enhance it with the proposed Curriculum Contrastive Learning (C2LR) strategy. Empirical results on 23 diverse datasets show DNABERT-S's effectiveness, especially in realistic label-scarce scenarios. For example, it identifies twice more species from a mixture of unlabeled genomic sequences, doubles the Adjusted Rand Index (ARI) in species clustering, and outperforms the top baseline's performance in 10-shot species classification with just a 2-shot training. Model, codes, and data is publicly available at https://github.com/MAGlCS-LAB/DNABERT_S.
Related Concept Videos
Evolutionary Relationships through Genome Comparisons
The Evidence for Evolution
DNA as a Genetic Template
Gene Evolution - Fast or Slow?
In contrast, regions which code...
DNA Isolation
Formation of Species

