Dysfunctional analysis of the pre-training model on nucleotide sequences and the evaluation of different k-mer embeddings
Abstract
Pre-training has attracted much attention in recent years. Although significant performance improvements have been achieved in many downstream tasks using pre-training, the mechanism of how a pre-training method works for downstream tasks is not fully illustrated. In this work, focusing on nucleotide sequences, we decompose a pre-training model of Bidirectional Encoder Representations from Transformers (BERT) into embedding and encoding modules to illustrate what a pre-trained model learns from pre-training data. Through dysfunctional analysis on both data and model level, we demonstrate that the context-consistent k-mer representation is the primary product that a typical BERT model learns in the embedding layer. Surprisingly, single usage of the k-mer embedding pre-trained on the random data can achieve comparable performance to that of the k-mer embedding pre-trained on actual biological sequences. We further compare the learned k-mer embeddings with other commonly used k-mer representations in downstream tasks of sequence-based functional predictions and propose a novel solution to accelerate the pre-training process. Contactyaozhong@ims.u-tokyo.ac.jp or imoto@hgc.jp Supplementary informationThe source code and relevant data are available at https://github.com/yaozhong/bert_investigation.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- Assay
- Research Focus
- Approach
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
- Representation learning applications in biological sequence analysis
Hitoshi Iuchi, Taro Matsutani, … Michiaki Hamada·Computational and Structural Biotechnology JournalPeer-reviewed·Jan 1, 2021
- Distinguishing word identity and sequence context in DNA language models
Melissa Sanabria, Jonas Hirsch, Anna R. Poetsch·BMC BioinformaticsPeer-reviewed·Sep 13, 2024
- DNABERT: pre-trained Bidirectional Encoder Representations from Transformers model for DNA-language in genome
Yanrong Ji, Zhihan Zhou, … Ramana V. Davuluri·BioinformaticsPeer-reviewed·Feb 3, 2021
- Kmer-Node2Vec: a Fast and Efficient Method for Kmer Embedding from the Kmer Co-occurrence Graph, with Applications to DNA Sequences
Zhaochong Yu, Zihang Yang, … Yuanzhe Cai·Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)Peer-reviewed·Jul 24, 2023
- BiRNA-BERT Allows Efficient RNA Language Modeling with Adaptive Tokenization
Md Toki Tahmid, Haz Sameen Shahgir, … Md. Shamsuzzoha Bayzid·Communications BiologyPeer-reviewed·Nov 20, 2025
- ERNIE-RNA: An RNA Language Model with Structure-enhanced Representations
Weijie Yin, Zhaoyu Zhang, … Zhen Xie·Nature CommunicationsPeer-reviewed·Nov 18, 2025