Skip to content
DraconiticResearch
Search Sources API
197,768 studies31 sourcesUpdated 58 min ago
PreprintCC BY 4.0arXiv

BarcodeMAE+: Rethinking Masked Pretraining and Global Representations for DNA Barcode Foundation Models

Abstract

Many DNA foundation models are pretrained by masking parts of a sequence and asking the model to reconstruct them. Standard masked pretraining exposes the encoder to special [MASK] tokens that are absent at inference, creating a mismatch between training and downstream use. The role of an explicit global sequence representation such as a [CLS] token and how it should be trained also remain poorly understood for DNA barcodes. We introduce BarcodeMAE+ and study model architecture, global [CLS] representation, and auxiliary pretraining objectives across arthropod COI (BIOSCAN-5M) and fungal ITS (UNITE+INSD) barcodes. Across both barcode regions, the encoder-decoder MAE-LM architecture outperforms its matched encoder-only counterpart in nearly all evaluated configurations, supporting MAE-LM as an effective architectural design for DNA barcode foundation models. A trained global [CLS] representation provides substantial additional gains: on BIOSCAN-5M, [CLS] accuracy increases from 47.53% without an auxiliary objective to 80.65% with cross-entropy genus classification. The best auxiliary objective is region-dependent: cross-entropy performs best on BIOSCAN-5M, whereas pairwise same-genus classification performs best on UNITE+INSD, reaching 73.19% on Yeast and 63.07% on Filamentous Fungi. BarcodeMAE+ outperforms published DNA foundation model baselines on BIOSCAN-5M and achieves the highest Yeast accuracy among the evaluated UNITE+INSD baselines using frozen encoder representations. Similarity-weighted softmax KNN voting further stabilizes accuracy as neighbourhood size increases. Overall, encoder-decoder masked pretraining and an explicitly trained global representation are strong design choices for DNA barcode foundation models, while the optimal objective for learning that representation depends on the biological domain.

Related

  1. Re-evaluating the benefit of pretraining scale in cell foundation models
    M. H. Shakeel, M. Shen, S. Mangiola
    bioRxivPreprintCC BY-NCFull textBioinformatics & computational biologybioRxiv
  2. Creator 1.0: Phylogeny-Guided Stagewise Pretraining for Plant Genome Foundation Models across 1,000 Species
    L. Yang, S. Jiang, Y. Li +7
    bioRxivPreprintCC BY-NC-NDFull textGenetics & genomicsbioRxiv
  3. Biobank-scale self-supervised genotype pretraining yields transferable representations for human genetics
    Chao Sheng, Han Du, Hongru Shen +4
    Nucleic Acids ResearchPeer-reviewedCC BY-NC 4.0Full textGenetics & genomicsCrossrefEurope PMCEurope PMCPMC
  4. From Contrasts to Representations: Rethinking fMRI Approaches for Cortico-Cerebellar Networks.
    Carolyn N Irving, Maedbh King, Amanda LeBel
    Cerebellum (London, England)Peer-reviewedCC BYFull textNeuroscienceEurope PMC
  5. Rethinking One Gene, One Token: Transcriptome-Aware Tokenization for Single-Cell Foundation Models
    Jiaqi Xiong, Jiaying Li, Yu Zheng +4
    arXivPreprintCC BY 4.0Full textGenetics & genomicsarXiv
BibTeX
@misc{safari2026barcodemae,
  title = {{BarcodeMAE+: Rethinking Masked Pretraining and Global Representations for DNA Barcode Foundation Models}},
  author = {Monireh Safari and Pablo Millan Arias and Scott C. Lowe and Lila Kari and Angel X. Chang and Graham W. Taylor},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.35877},
  eprint = {2609.35877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.35877},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - BarcodeMAE+: Rethinking Masked Pretraining and Global Representations for DNA Barcode Foundation Models
AU  - Monireh Safari
AU  - Pablo Millan Arias
AU  - Scott C. Lowe
AU  - Lila Kari
AU  - Angel X. Chang
AU  - Graham W. Taylor
PY  - 2026
DA  - 2026/09/26
PB  - arXiv
DO  - 10.48550/arxiv.2609.35877
UR  - https://arxiv.org/abs/2609.35877
AB  - Many DNA foundation models are pretrained by masking parts of a sequence and asking the model to reconstruct them. Standard masked pretraining exposes the encoder to special [MASK] tokens that are absent at inference, creating a mismatch between training and downstream use. The role of an explicit global sequence representation such as a [CLS] token and how it should be trained also remain poorly understood for DNA barcodes. We introduce BarcodeMAE+ and study model architecture, global [CLS] representation, and auxiliary pretraining objectives across arthropod COI (BIOSCAN-5M) and fungal ITS (UNITE+INSD) barcodes. Across both barcode regions, the encoder-decoder MAE-LM architecture outperforms its matched encoder-only counterpart in nearly all evaluated configurations, supporting MAE-LM as an effective architectural design for DNA barcode foundation models. A trained global [CLS] representation provides substantial additional gains: on BIOSCAN-5M, [CLS] accuracy increases from 47.53% without an auxiliary objective to 80.65% with cross-entropy genus classification. The best auxiliary objective is region-dependent: cross-entropy performs best on BIOSCAN-5M, whereas pairwise same-genus classification performs best on UNITE+INSD, reaching 73.19% on Yeast and 63.07% on Filamentous Fungi. BarcodeMAE+ outperforms published DNA foundation model baselines on BIOSCAN-5M and achieves the highest Yeast accuracy among the evaluated UNITE+INSD baselines using frozen encoder representations. Similarity-weighted softmax KNN voting further stabilizes accuracy as neighbourhood size increases. Overall, encoder-decoder masked pretraining and an explicitly trained global representation are strong design choices for DNA barcode foundation models, while the optimal objective for learning that representation depends on the biological domain.
ER  -