Enhancing DNA Foundation Models to Address Masking Inefficiencies
Not on the map. Why?
Abstract (arXiv)
Masked language modelling (MLM) as a pretraining objective has been widely adopted in genomic sequence modelling. While pretrained models can successfully serve as encoders for various downstream tasks, the distribution shift between pretraining and inference detrimentally impacts performance, as the pretraining task is to map [MASK] tokens to predictions, yet the [MASK] is absent during downstream applications. This means the encoder does not prioritize its encodings of non-[MASK] tokens, and expends parameters and compute on work only relevant to the MLM task, despite this being irrelevant at deployment time. In this work, we propose a modified encoder-decoder architecture based on the masked autoencoder framework, designed to address this inefficiency within a BERT-based transformer. We empirically show that the resulting mismatch is particularly detrimental in genomic pipelines where models are often used for feature extraction without fine-tuning. We evaluate our approach on the BIOSCAN-5M dataset, comprising over 2 million unique DNA barcodes. We achieve substantial performance gains in both closed-world and open-world classification tasks when compared against causal models and bidirectional architectures pretrained with MLM tasks.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 8 of its 18 references that are in the map. First posted on arXiv 25 Feb 2025.
Builds on
8 of 18 references.
References · 8
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2023DNABERT-2: Efficient Foundation Model and Benchmark For Multi-Species Genomecited by 139
- 2024BIOSCAN-5M: A Multimodal Dataset for Insect Biodiversitycited by 22
- 2023Representation Deficiency in Masked Language Modelingcited by 10
- 2024An Empirical Study into Clustering of Unseen Datasets with Self-Supervised Encoderscited by 5
- 2024BarcodeMamba: State Space Models for Biodiversity Analysiscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026BarcodeMAE+: Rethinking Masked Pretraining and Global Representations for DNA Barcode Foundation Models26 Sep 2026
- 2026Self-Distillation of Hidden Layers for Self-Supervised Representation Learning16 Mar 2026
- 2025BarcodeMamba+: Advancing State-Space Models for Fungal Biodiversity Research17 Dec 2025