Related Experiment Video
Updated: Jun 22, 2025

Modeling an Enzyme Active Site using Molecular Visualization Freeware
Published on: December 25, 2021
MolLM: a unified language model for integrating biomedical text with 2D and 3D molecular representations
Xiangru Tang1, Andrew Tran1, Jeffrey Tan1
1Department of Biomedical Informatics & Data Science, Yale University, New Haven, CT 06520, USA.
Motivation:
The current paradigm of deep learning models for the joint representation of molecules and text primarily relies on 1D or 2D molecular formats, neglecting significant 3D structural information that offers valuable physical insight. This narrow focus inhibits the models' versatility and adaptability across a wide range of modalities. Conversely, the limited research focusing on explicit 3D representation tends to overlook textual data within the biomedical domain.
Results:
We present a unified pre-trained language model, MolLM, that concurrently captures 2D and 3D molecular information alongside biomedical text. MolLM consists of a text Transformer encoder and a molecular Transformer encoder, designed to encode both 2D and 3D molecular structures. To support MolLM's self-supervised pre-training, we constructed 160K molecule-text pairings. Employing contrastive learning as a supervisory signal for learning, MolLM demonstrates robust molecular representation capabilities across four downstream tasks, including cross-modal molecule and text matching, property prediction, captioning, and text-prompted molecular editing. Through ablation, we demonstrate that the inclusion of explicit 3D representations improves performance in these downstream tasks.
Availability And Implementation:
Our code, data, pre-trained model weights, and examples of using our model are all available at https://github.com/gersteinlab/MolLM. In particular, we provide Jupyter Notebooks offering step-by-step guidance on how to use MolLM to extract embeddings for both molecules and text.
Related Concept Videos
Molecular Models
Calmodulin-dependent Signaling
The Ca2+-CaM complex does not have enzymatic activity by itself. Instead, the complex binds downstream target proteins, including membrane proteins or enzymes,...
Globular and Fibrous Proteins
Globular proteins are also known as spheroproteins and typically are approximately round in shape. They contain a mix of amino acid types and contain differing sequences in their primary structures. Globular proteins have many different functions, such as enzymes, cellular messengers, and molecular transporters. These roles often require the proteins to be...
Gene Families
Occasionally these regions can be adapted to take on new roles within the organism, becoming novel genes...

