bio.rodeo
ModelsOrganizationsLeaderboardAboutSign in
bio.rodeo

The authoritative source for evaluating biological foundation models. No hype, just honest analysis.

Categories
  • DNA & Gene
  • RNA
  • Protein
  • Small molecule
  • Single-cell
  • Spatial omics
  • Pathology
  • Imaging
  • Metabolomics
  • Biosignals
  • Language model
bio.rodeoModelsOrganizationsLeaderboardAboutFAQSubmit a modelContact
© 2026 Pulsatance. All rights reserved. ~
Built by Pulsatance
DNA & Gene foundation models
DNA & Gene

iDNA-ABF

Shandong University

DNA language model for interpretable prediction of 4mC, 5hmC, and 6mA methylation sites across species, using multi-scale k-mer BERT encoders.

Released: October 2022

iDNA-ABF (Interpretable DNA Adaptive Binary Feature) is a multi-scale deep biological language learning model for predicting DNA methylation sites, developed by Junru Jin, Leyi Wei, and colleagues at the School of Software and the Joint SDU-NTU Centre for Artificial Intelligence Research (C-FAIR) at Shandong University, Jinan, China, in collaboration with researchers from Tianjin University and the University of Tokyo. It was published in Genome Biology in October 2022. The model targets three distinct DNA methylation modifications simultaneously: N4-methylcytosine (4mC), 5-hydroxymethylcytosine (5hmC), and N6-methyladenine (6mA) — modifications that play distinct regulatory roles in organisms ranging from bacteria and fungi to plants and mammals.

The central challenge iDNA-ABF addresses is the development of a single generic predictor capable of accurately identifying all three methylation types across multiple species, rather than requiring separate specialized tools for each modification. Prior methods were either designed for a single methylation type (e.g., Deep6mA for 6mA only) or were generic but lacked interpretability or multi-scale representation. iDNA-ABF introduces an adaptive multi-scale architecture that processes input sequences at two k-mer granularities (3-mer and 6-mer) using separate BERT encoders and then fuses the resulting representations, allowing the model to capture both fine-grained local sequence motifs and broader sequence context simultaneously. Adversarial training during the fine-tuning phase further improves the robustness of predictions against input perturbations.

The model was benchmarked across 17 training/testing dataset combinations spanning different methylation types and species, and was compared to four state-of-the-art predictors: iDNA-ABT, iDNA-MS, BERT6mA, and Deep6mA. iDNA-ABF demonstrated superior or competitive performance in the majority of comparisons, establishing it as a broadly applicable tool for DNA methylation site prediction.

#Key Features

  • Multi-scale k-mer BERT encoding: Two parallel BERT encoders independently process the input DNA sequence tokenized at 3-mer and 6-mer granularities. The 3-mer tokenizer captures local sequence motifs (encoding context specific to each methylation type's flanking preferences), while the 6-mer tokenizer captures broader structural context. The representations from both scales are concatenated in a feature fusion module, allowing the model to adaptively weight both levels of sequence granularity.
  • Unified multi-type prediction: A single trained model handles 4mC, 5hmC, and 6mA prediction across multiple species using a shared architecture, avoiding the need to maintain and select among separate species- or modification-specific tools. The 17 benchmark datasets span diverse organisms and modification types within a single evaluation framework.
  • Adversarial training for robustness: During fine-tuning, adversarial perturbations are applied to input embeddings to improve the model's resilience to minor sequence variations, reducing overfitting to training data idiosyncrasies and improving generalization to independent test sequences.
  • Interpretable attention analysis: The BERT attention weights can be analyzed to identify sequence positions that most strongly influence methylation predictions, revealing putative "biological language grammars" — recurring sequence patterns associated with each methylation type. This interpretability layer supports hypothesis generation about the sequence determinants of methylation enzyme specificity.
  • Pre-trained on background genomes: BERT encoders are pre-trained on large background genome datasets using masked language modeling before task-specific fine-tuning on methylation datasets, ensuring that the learned embeddings capture general DNA sequence semantics rather than being limited to the labeled methylation training data.
  • Open source implementation: Source code is available on GitHub under the alias FakeEnd (corresponding to lead author Junru Jin), with MIT licensing and documented usage for training custom models or running inference on new sequences.

#Technical Details

iDNA-ABF's computational workflow consists of four modules. The multi-scale data processing module takes a 41-nucleotide input window centered on the candidate modification site and tokenizes it independently into overlapping 3-mer and 6-mer sequences, generating two separate token sequences of different lengths. Each tokenized sequence is then independently processed by a BERT encoder module — both encoders share the same architectural template (transformer layers with multi-head attention) but have different vocabularies corresponding to the 3-mer and 6-mer token sets. After encoding, the feature fusion module concatenates the pooled representations from both BERT encoders into a unified feature vector. The classification module applies a multi-layer perceptron with softmax activation to produce the final methylation probability.

The model was trained and evaluated on a benchmark dataset derived from iDNA-MS, comprising 17 independent training/testing splits covering 4mC predictions in multiple organisms (including A. thaliana, C. elegans, D. melanogaster), 5hmC predictions in mouse and human, and 6mA predictions across several species including Arabidopsis, Drosophila, mouse, and rice. Comparison across these 17 tasks against iDNA-ABT, iDNA-MS, BERT6mA, and Deep6mA showed that iDNA-ABF achieved the highest performance in the majority of settings. Interpretability analysis of 3-mer attention patterns revealed position-specific sequence preferences consistent with known methyltransferase recognition sequences, supporting the model's claim of biologically meaningful feature extraction.

#Applications

iDNA-ABF is most useful in comparative epigenomics studies where researchers need to survey 6mA, 4mC, or 5hmC distributions across multiple organisms or genomic contexts without maintaining separate prediction tools. Plant biologists, insect biologists, and microbiologists working with organisms lacking well-curated experimental methylation datasets benefit most from the model's cross-species generalization. The unified multi-type prediction capability also simplifies workflows in studies that need to simultaneously profile all three methylation marks — for example, in organisms where 6mA and 4mC coexist. The interpretability module supports mechanistic studies of methyltransferase sequence specificity, generating testable predictions about which sequence motifs are recognized by specific methylation enzymes. The adversarial training also makes the model well-suited to comparative analysis of closely related sequences where minor variants may affect methylation status.

#Impact

iDNA-ABF advanced the state of the art in multi-type DNA methylation prediction by introducing adaptive multi-scale encoding within a pre-trained BERT framework, demonstrating that a single model architecture could match or exceed the performance of specialized single-modification predictors across diverse organisms. Its publication in Genome Biology signaled growing acceptance of biological language models for fine-grained epigenomic annotation tasks beyond protein sequence analysis. The adversarial training strategy, less commonly applied in epigenomics compared to protein or drug discovery domains, contributed a useful robustness technique to the field. A limitation is that model performance depends on the quality and completeness of the underlying methylation training datasets, which vary substantially across species; for understudied organisms, imprecise experimental labels can propagate into prediction errors regardless of model architecture.

Citation

iDNA-ABF: multi-scale deep biological language learning model for the interpretable prediction of DNA methylations

Jin, J., et al. (2022) iDNA-ABF: multi-scale deep biological language learning model for the interpretable prediction of DNA methylations. Genome Biology.

DOI: 10.1186/s13059-022-02780-1

Recent citations

Papers that recently cited this model.

  • NeuroPpred-PSCG: A Multimodal Framework Using ProtT5 and Structural Features for Neuropeptide Prediction Based on Gated Cross-Attention Mechanism and Multiscale Gated Convolution.

    Shengli Zhang, Xinyi Zhang

    Journal of Chemical Information and Modeling · Jul 2026

    0
  • Separate XAI: Independent Training Framework for Cancer Drug Sensitivity Prediction Using GDSC and CCLE with Explainable AI-Driven Drug Repositioning

    Heba M. Nagy, F. Maghraby, Osama M. Badawy, et al.

    BioMedInformatics · Jul 2026

    0
  • Advancing bioinformatics with language models: components, applications, and perspectives

    Jiajia Liu, Mengyuan Yang, Yankai Yu, et al.

    Briefings in Bioinformatics · Jul 2026

    0

Top citations

The most-cited papers that cite this model.

  • DNABERT-2: Efficient Foundation Model and Benchmark For Multi-Species Genome

    Zhihan Zhou, Yanrong Ji, Weijian Li, et al.

    arXiv.org · Jun 2023

    416
  • Scientific Large Language Models: A Survey on Biological & Chemical Domains

    Qiang Zhang, Keyan Ding, Tianwen Lv, et al.

    ACM Computing Surveys · Jan 2024

    172
  • DeepBIO: an automated and interpretable deep-learning platform for high-throughput biological sequence prediction, functional annotation and visualization analysis

    Ruheng Wang, Yi Jiang, Junru Jin, et al.

    bioRxiv · Feb 2023

    137
  • DNAGPT: A Generalized Pre-trained Tool for Multiple DNA Sequence Analysis Tasks

    Daoan Zhang, Weitong Zhang, Bing He, et al.

    bioRxiv · Jan 2024

    79
  • TPpred-SC: multi-functional therapeutic peptide prediction based on multi-label supervised contrastive learning

    Ke Yan, Hongwu Lv, Jiangyi Shao, et al.

    Science China Information Sciences · Oct 2024

    47

Related models

Models with similar goals, methods, or subject matter.

  • MuLan-Methyl

    University of Tübingen

    Multi-language transformer framework using five pre-trained language models to predict DNA methylation (6mA, 4mC, 5hmC) across species.

    DNA & Gene
  • BERT6mA

    Kyushu Institute of Technology

    BERT-based predictor of DNA N6-methyladenine (6mA) modification sites, using word2vec encoding and cross-species transfer learning.

    DNA & Gene
  • MethylAI

    Guangzhou National Laboratory

    Cross-species-pretrained CNN that predicts single-CpG DNA methylation from genomic sequence and interprets the cis-regulatory motifs that govern it.

    DNA & Gene
  • DNABERT

    Northwestern University

    Bidirectional transformer for DNA using k-mer tokenization, fine-tunable for promoter, splice site, and transcription factor binding prediction.

    DNA & Gene
  • MethylSeqNet

    University of California, Berkeley / University of Washington

    Gene regulation model that conditions a pretrained DNA sequence embedding on CpG methylation to capture cell-type and allele-specific regulation.

    DNA & Gene

Citations

Total Citations141
Influential8
References46

GitHub

Stars15
Forks2
Open Issues1
Contributors1
Last Push2y ago
LanguagePython

Fields of citing research

  • Computer Science98%
  • Medicine85%
  • Biology84%
  • Environmental Science5%
  • Chemistry4%
  • Engineering2%
  • Agricultural and Food Sciences1%

Share of papers citing this model.

Openness

bio.rodeo opennessOpen weights · open weights, closed recipe
53Partial
Usability — can I run it?58
Reproducibility — can I retrain it?43
Model Openness Framework
Class III
Open Model

Tags

dna_methylationepigenomic_predictionepigenomicsself_supervisedtransfer_learningtransformervariant_effect_prediction

Resources

GitHub RepositoryResearch Paper