BioT5: Enriching Cross-modal Integration in Biology with Chemical Knowledge and Natural Language Associations

Qizhi Pei, Wei Zhang, Jinhua Zhu, Kehan Wu, Kaiyuan Gao, Lijun Wu, Yingce Xia, Rui Yan

Abstract

In the pursuit of AI-driven drug discovery, the integration of diverse biological modalities—molecules, proteins, and natural language—remains a significant challenge. BioT5 is a multi-modal pre-training framework designed to bridge these gaps. By utilizing robust molecular representations (SELFIES) and a novel "wrapped text" pre-training strategy that embeds chemical and biological sequences directly into scientific literature, BioT5 achieves state-of-the-art performance across 10 major biological tasks. This framework demonstrates superior capabilities in drug-target interaction, property prediction, and text-based molecule generation, providing a unified approach to understanding the complex relationships between chemical structures and functional biological descriptions.

Introduction

Modern computational biology relies on three distinct "languages": SMILES for molecular structures, FASTA for protein sequences, and natural language for scientific discourse. Despite progress in individual domains, existing models struggle with three primary hurdles: syntactic fragility (where models generate chemically impossible molecules), context blindness (ignoring the functional context found in literature), and data confusion (the inability to distinguish between structured database entries and unstructured narrative text).

BioT5 addresses these challenges by treating molecules, proteins, and text as interconnected modalities within a unified transformer architecture. By aligning structural data with the rich functional context of scientific papers, BioT5 moves beyond simple sequence modeling toward a more holistic biological understanding.

Methodology

BioT5 is built upon the T5-v1.1-base architecture, comprising approximately 252 million parameters. The framework introduces several key innovations to ensure chemical validity and cross-modal alignment:

1. SELFIES Integration

Traditional models often use SMILES (Simplified Molecular Input Line Entry System), which is prone to generating syntactically invalid strings. BioT5 adopts SELFIES (Self-Referencing Embedded Strings), a representation where every possible string corresponds to a valid molecule. This ensures 100% chemical validity in generative tasks.

2. Modality-Specific Vocabularies

To prevent token ambiguity—such as the model confusing the chemical symbol for Carbon ("C") with the amino acid Cysteine or the English letter "C"—the authors implemented separate tokenization and specific prefixes for each modality. This allows the model to maintain clear boundaries between chemical, biological, and linguistic data.

3. "Wrapped Text" Pre-training

The core innovation of BioT5 is the "wrapped text" strategy. The researchers processed 33 million PubMed abstracts, replacing mentions of specific molecules and proteins with their corresponding chemical or biological sequences. This forces the model to learn the direct relationship between a sequence and its functional description in scientific prose, effectively using literature as a "Rosetta Stone" for cross-modal understanding.

4. Multi-task Learning

The model underwent pre-training on six distinct tasks. These ranged from simple sequence denoising to bidirectional translation between molecular structures and their formal database descriptions, allowing the model to leverage both structured knowledge and unstructured narrative data.

Experimental Results

BioT5 was evaluated across 15 downstream tasks categorized into single-instance prediction, multi-instance interaction (e.g., Drug-Target Interaction), and cross-modal generation. The model achieved State-of-the-Art (SOTA) results on 10 of these tasks.

  • Molecular Property Prediction: On the MoleculeNet benchmark, BioT5 outperformed specialized models like MolXPT and Galactica, achieving an average AUROC of 82.4.
  • Cross-modal Generation: In text-to-molecule tasks (ChEBI-20), BioT5 achieved an Exact Match score of 0.413, significantly outperforming the larger MolT5-large model (0.311).
  • Protein Property Prediction: BioT5 demonstrated superior performance in predicting protein solubility and localization, surpassing models like ESM-1b, which are significantly larger and specifically optimized for protein sequences.

Discussion and Insights

The success of BioT5 highlights the importance of data representation and contextual alignment. The transition to SELFIES proved critical for making AI-generated leads viable for laboratory synthesis. Furthermore, the "wrapped text" approach demonstrated that scientific literature contains vital functional information that structured databases alone cannot provide. By treating structured data as a translation task and unstructured literature as a denoising task, BioT5 effectively synthesized these disparate data sources into a cohesive biological knowledge base.

Conclusion and Future Work

BioT5 represents a significant advancement in multi-modal biological modeling. While highly effective, the authors identify several paths for future development, including the implementation of parameter-efficient fine-tuning (PEFT) to reduce computational overhead and the integration of 3D structural graphs and genomics data. By expanding the modalities handled by the framework, future iterations of BioT5 could provide an even more comprehensive tool for drug discovery and biological research.

Summary updated

BibTeX
@inproceedings{pei2023biot,
  author = {Qizhi Pei and Wei Zhang and Jinhua Zhu and Kehan Wu and Kaiyuan Gao and Lijun Wu and Yingce Xia and Rui Yan},
  title = {{BioT5: Enriching Cross-modal Integration in Biology with Chemical Knowledge and Natural Language Associations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.70},
}
Figure