BioMatrix is a multimodal biological foundation model that natively integrates 1D sequences, 3D structures, and natural language for both molecules and proteins within a single decoder-only architecture.
This is the 4B-parameter SFT (Supervised Fine-Tuned) variant, instruction-tuned across 80 downstream biological tasks spanning 6 categories.
BioMatrix closes the gap between native multimodality and broad entity coverage in biological foundation models. Unlike adapter-based approaches that bolt external encoders onto a language model, or prior native-tokenization models confined to a single entity type, BioMatrix maps all modalities into a shared discrete token space via a unified tokenization scheme:
Molecular 1D sequences (both SMILES and SELFIES notations)
Molecular 3D structures (via MolStrucTok with branch-decoupled decoder)
Protein 1D sequences (residue-level tokens)
Protein 3D structures (via GCP-VQVAE backbone tokenizer)
Natural language (inherited from Qwen3 tokenizer)
All modalities are consumed and produced uniformly under a single next-token prediction objective—without external encoders, projection adapters, or modality-specific output heads.
Model
Molecule 1D
Molecule 3D
Protein 1D
Protein 3D
Natural Language
ESM3
✗
✗
✓
✓
✓
3D-MoLM
✓
✓
✗
✗
✓
AlphaFold3
✓
✓
✓
✓
✗
BioT5/BioT5+
✓
✗
✓
✗
✓
BioMedGPT
✓
✗
✓
✗
✓
NatureLM
✓
✗
✓
✗
✓
SciReasoner
✓
✗
✓
✗
✓
BioMatrix
✓
✓
✓
✓
✓
Molecule and Protein Structure Tokenizers
Model Details
Base Architecture: Qwen3-4B-Base
Parameters: 4B
Training Stages:
Continual Pretraining on 304.4B tokens (general/scientific text, molecular & protein 1D/3D data, cross-modal interleaved corpora)
Instruction Tuning on a comprehensive suite of 80 downstream tasks across 6 categories
Context Length: 8,192 tokens
Tokenizer: Extended Qwen3 vocabulary with:
11,294 joint molecular 3D tokens (composed from SELFIES atom × MolStrucTok codes)
4,096 protein 3D tokens (GCP-VQVAE codebook)
26 protein 1D tokens (amino acids + non-standard/unknown)
SELFIES atom tokens and modality-specific control tokens
Pretraining Corpus (304.4B tokens)
Category
Tokens
Sources
Text
105.3B
FineWeb-Edu, FineFineWeb (biology/chemistry/medical/health), PubMed Full Articles
Molecule
73.7B
PubChem, PCQM4Mv2, PubChemQC, MolTextNet
Protein
77.4B
UniRef50, RCSB PDB, Swiss-Prot, TrEMBL, AlphaFold DB
Note on task-group variants: As detailed in the paper, the released SFT model is trained on the union of all sub-task corpora with mild oversampling for small-data tasks. For best performance on specific benchmarks, please refer to the paper's task-group-specific variants.
SMILES vs. SELFIES
BioMatrix supports both notations as parallel 1D molecular representations. Empirically:
SELFIES excels on tasks requiring validity-by-construction (unconditional generation, property optimization)
SMILES excels on tasks requiring surface-level structural anchoring (customized generation with atom/bond/functional-group constraints, forward synthesis, retrosynthesis)
See Section 9.2 of the paper for detailed analysis.
Limitations
Molecular and protein 3D structures are tokenized in disjoint geometric reference frames, so the model cannot natively represent biomolecular complexes (e.g., docking poses).
Heavy domain specialization may erode some general-purpose language capabilities of the underlying Qwen3 backbone.
Coverage is limited to small molecules and proteins; nucleic acids, carbohydrates, and lipids are not currently supported.
Fine-grained 3D geometry (e.g., bond lengths) shows residual quantization error from finite codebooks; a lightweight post-hoc force-field refinement (e.g., MMFF) closes most of this gap.
Citation
If you find BioMatrix useful, please cite:
bibtex
1@article{pei2026biomatrix,
2 title={BioMatrix: Towards a Comprehensive Biological Foundation Model Spanning the Modality Matrix of Sequences, Structures, and Language},
3 author={Pei, Qizhi and Zhou, Zhimeng and Duan, Yi and Zhao, Yiyang and Li, Wei and Guo, Han and He, Liang and Li, Chengping and Hsieh, Chang-Yu and He, Conghui and Yan, Rui and Wu, Lijun},
4 journal={arXiv preprint arXiv:2606.22138},
5 year={2026}
6}
License
This model is released under the Apache 2.0 license. The base model (Qwen3-4B-Base) is subject to its own license terms.