BioLangFusion: Multimodal Fusion of DNA, mRNA, and Protein Language Models

Amina Mollaysa, Artem Moskalev, Pushpak Pati, Tommaso Mansi, Mangal Prakash, Rui LiaoarXiv 2025 · DOI

Abstract

BioLangFusion is a "plug-and-play" framework designed to integrate pre-trained language models for DNA, mRNA, and proteins into a unified molecular representation. By aligning these modalities at the biologically meaningful codon level, the framework enables effective cross-modal reasoning without the prohibitive costs of multimodal pre-training. Evaluated across five diverse molecular property prediction tasks, BioLangFusion consistently outperforms unimodal baselines, demonstrating the power of biologically informed modality alignment and decisive fusion strategies.

Introduction

In biological systems, the "central dogma" describes a coordinated flow of information: DNA is transcribed into mRNA, which is then translated into proteins. While each stage carries unique regulatory signals, they collectively determine the final phenotype. Current AI foundation models for biology are predominantly unimodal, specializing in either DNA, RNA, or proteins. While massive models like the 40B-parameter Evo-2 show emergent cross-modal capabilities, most researchers lack the computational resources to train such giants.

Existing attempts to fuse smaller, specialized models often rely on naive concatenation, which fails because these models utilize disparate tokenizations and scales. BioLangFusion addresses this by creating a biologically informed bridge between these specialized models, aligning them at the codon level to capture the functional relationships between genetic sequences and their protein products.

Methodology

Modality Alignment at the Codon Level

The core innovation of BioLangFusion is its alignment strategy. Since three nucleotides (DNA/mRNA) encode one amino acid (protein), the authors use the protein sequence as a reference frame. To achieve a uniform "one-token-per-codon" resolution, the framework employs specific sampling techniques:

  1. DNA Alignment: DNA embeddings (originally 6-mers) are upsampled using transposed convolutions.
  2. mRNA Alignment: mRNA embeddings (single nucleotides) are downsampled using mean pooling.
The BioLangFusion architecture showing the alignment of DNA, RNA, and Protein embeddings at the codon level followed by various fusion methods.

Fusion Strategies

The paper explores three distinct methods to combine these aligned signals:

  • Codon-level Concatenation: Merging features at each position, utilizing a small MLP to balance the high dimensionality of DNA models.
  • Multiple Instance Learning (MIL) with Entropy Regularization: A gated attention mechanism that treats modalities as a "bag" and learns to weight their importance. Entropy regularization is applied to force the model to be "decisive" about which modality is most relevant for a specific task.
  • Cross-modal Multi-head Attention: A transformer-style approach where each modality can query information from others across the entire sequence.

Experimental Setup and Datasets

The authors evaluated BioLangFusion across five diverse molecular property prediction tasks, varying in sequence length and sample size:

  • CoV-Vac: mRNA vaccine degradation (regression).
  • Fungal: Gene expression levels in fungi (regression).
  • E. coli: Protein expression level classification (low, medium, high).
  • mRNA Stab.: mRNA stability across multiple species (regression).
  • Ab1: Antibody-encoding mRNA expression levels (regression).

Results and Discussion

BioLangFusion consistently outperformed the best unimodal baselines across all five tasks. The MIL + Entropy variant was generally the strongest, achieving a Spearman correlation of 0.864 on the CoV-Vac task and 52.107 accuracy on E. coli.

Performance comparison of BioLangFusion variants against unimodal baselines across five molecular property prediction tasks.

Key Insights

  • Alignment is Essential: Simply concatenating embeddings fails because tokens do not represent the same biological unit. Forcing everything into the codon frame allows the model to reason about how DNA mutations affect mRNA structure and amino acid identity.
  • The "Decisiveness" Boost: Without entropy regularization, attention weights tended to be uniform. Adding the penalty improved both performance and interpretability, forcing the model to select the most informative biological layer for the task.
  • Task-Specific Preferences: Fusion weights aligned with biological intuition. For example, the model prioritized mRNA embeddings for the mRNA Stab. task, consistent with the post-transcriptional nature of mRNA stability.

Conclusion

BioLangFusion provides an efficient, "plug-and-play" framework for multimodal biological modeling. By leveraging frozen, pre-trained models, it achieves state-of-the-art performance with minimal computational overhead. Future work will explore expanding the framework to include 3D structural data and epigenetic markers, as well as addressing current sequence length limitations.

Summary updated

BibTeX
@misc{mollaysa2025biolangfusion,
  author = {Amina Mollaysa and Artem Moskalev and Pushpak Pati and Tommaso Mansi and Mangal Prakash and Rui Liao},
  title = {{BioLangFusion: Multimodal Fusion of DNA, mRNA, and Protein Language Models}},
  year = {2025},
  eprint = {2506.08936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.08936},
}
Figure