BarcodeBERT: Transformers for Biodiversity Analysis
Not on the map. Why?
Abstract (arXiv)
In the global challenge of understanding and characterizing biodiversity, short species-specific genomic sequences known as DNA barcodes play a critical role, enabling fine-grained comparisons among organisms within the same kingdom of life. Although machine learning algorithms specifically designed for the analysis of DNA barcodes are becoming more popular, most existing methodologies rely on generic supervised training algorithms. We introduce BarcodeBERT, a family of models tailored to biodiversity analysis and trained exclusively on data from a reference library of 1.5M invertebrate DNA barcodes. We compared the performance of BarcodeBERT on taxonomic identification tasks against a spectrum of machine learning approaches including supervised training of classical neural architectures and fine-tuning of general DNA foundation models. Our self-supervised pretraining strategies on domain-specific data outperform fine-tuned foundation models, especially in identification tasks involving lower taxa such as genera and species. We also compared BarcodeBERT with BLAST, one of the most widely used bioinformatics tools for sequence searching, and found that our method matched BLAST's performance in species-level classification while being 55 times faster. Our analysis of masking and tokenization strategies also provides practical guidance for building customized DNA language models, emphasizing the importance of aligning model training strategies with dataset characteristics and domain knowledge. The code repository is available at https://github.com/bioscan-ml/BarcodeBERT.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 15 of its 45 references that are in the map. First posted on arXiv 4 Nov 2023.
Builds on
15 of 45 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
- 2023A Cookbook of Self-Supervised Learningcited by 250
- 2017Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Ratescited by 199
- 2023HyenaDNA: Long-Range Genomic Sequence Modeling at Single Nucleotide Resolutioncited by 194
3 more
Built on by
Citing papers per year: 2026: 1.
1 paper.