BSM: Small but Powerful Biological Sequence Model for Genes and Proteins

Weixi Xiang, Xueting Han, Xiujuan Chai, Jing Bai · DOI

Introduction

In the field of genomics and proteomics, the "Central Dogma" describes the fundamental flow of biological information: DNA is transcribed into RNA, which is then translated into proteins. Despite these intrinsic links, most existing AI models treat these modalities as separate entities. DNA-specific models like DNABert and protein-specific models like ESM2 often fail to capture the cross-modal interactions necessary for understanding complex biological processes such as gene regulation or CRISPR immunity.

While larger models like the 7B-parameter Evo or the 1.8B-parameter LucaOne have attempted to bridge this gap, they require massive computational resources. The Biological Sequence Model (BSM) addresses this by demonstrating that a lightweight foundation model (110M–270M parameters) can achieve billion-scale performance by explicitly learning the relationships between biological sequences rather than relying solely on scale.

Methodology

BSM utilizes a decoder-only Transformer architecture with a unified tokenization strategy. Unlike traditional models that maintain separate vocabularies for different modalities, BSM uses a single-nucleotide tokenizer that encompasses nucleotides, amino acids, and special tokens to handle interleaved data seamlessly.

The BSM multi-round training pipeline integrating single-modal and mixed-modal data.

The core innovation of BSM is its three-round training strategy:

  1. Round 1 (Unimodal): Establishes a baseline by training on 100B tokens of DNA and protein sequences independently.
  2. Round 2 (Mixed-modal Pairs): Introduces "Mixed-modal Pair Data" from NCBI RefSeq and Gene Related Sequences. This stage teaches the model the direct mapping between genes and their corresponding proteins.
  3. Round 3 (Interleaved Web Data): Incorporates biological sequences as they appear naturally within scientific text (extracted from FineWeb-Edu), allowing the model to learn context and co-occurrence.

To maintain performance across all modalities, the authors employed a simulated annealing strategy to optimize the data recipe, ensuring the model retained its unimodal knowledge while acquiring cross-modal relational understanding.

Data Strategy and Evaluation

The model was pretrained on a massive 220B token corpus, including high-quality curated data from RefSeq, UniProt, and ColabFold. Evaluation was conducted across a diverse battery of benchmarks, including RNA-protein interaction (ncRPI), DNA-protein association (Central Dogma), protein-protein interaction (PPI), and zero-shot fitness prediction (DMS).

Key Results and Insights

BSM demonstrates that biological relationships act as a "force multiplier." Training on the connections between DNA and proteins significantly lowered validation loss compared to unimodal training alone.

Performance comparison on Central Dogma tasks and demonstration of few-shot in-context learning.

Performance vs. Scale

Despite its smaller size, BSM-270M consistently matched or outperformed significantly larger models:

  • Cross-Modal Tasks: On the ncRPI task, BSM-270M achieved 0.9603 accuracy, surpassing the 1.8B-parameter LucaOne (0.9380).
  • Central Dogma: BSM-270M reached an accuracy of 0.8418, nearly identical to LucaOne (0.8484) while being approximately 1/7th the size.
  • Protein Modeling: BSM-270M outperformed ESM2-3B on PPI tasks and matched Evo-7B in zero-shot protein fitness prediction.

Emergent Few-Shot Learning

A groundbreaking finding of the BSM research is the demonstration of In-Context Learning (ICL) in biological sequences. Similar to how large language models can learn from a few examples in a prompt, BSM can predict DNA-protein associations when provided with a few context pairs. In a 32-shot setting, BSM's performance approached the levels of supervised fine-tuning, a capability previously unseen in biological models of this parameter class.

Conclusion and Future Work

BSM proves that for biological sequences, data strategy and relational modeling are more critical than raw parameter count. By focusing on the "textbook-quality" relationships defined by the Central Dogma, BSM provides a powerful, accessible tool for genomic research.

Future work will focus on expanding the scope of cross-modal data to include protein-ligand and gene-phenotype relationships. Additionally, the authors plan to scale the interleaved web data component to further enhance the model's emergent reasoning and context-awareness.

Summary updated

BibTeX
@misc{xiang2024bsm,
  author = {Weixi Xiang and Xueting Han and Xiujuan Chai and Jing Bai},
  title = {{BSM: Small but Powerful Biological Sequence Model for Genes and Proteins}},
  year = {2024},
  eprint = {2410.11499},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.11499},
}
Figure