[Paper Review] GPT-MolBERTa: GPT Molecular Features Language Model for molecular property prediction
GPT-MolBERTa uses ChatGPT-generated textual molecule descriptions to train a RoBERTa/BERT-based encoder for molecular property prediction, achieving strong regression results on MoleculeNet and offering interpretable attention insights.
With the emergence of Transformer architectures and their powerful understanding of textual data, a new horizon has opened up to predict the molecular properties based on text description. While SMILES are the most common form of representation, they are lacking robustness, rich information and canonicity, which limit their effectiveness in becoming generalizable representations. Here, we present GPT-MolBERTa, a self-supervised large language model (LLM) which uses detailed textual descriptions of molecules to predict their properties. A text based description of 326000 molecules were collected using ChatGPT and used to train LLM to learn the representation of molecules. To predict the properties for the downstream tasks, both BERT and RoBERTa models were used in the finetuning stage. Experiments show that GPT-MolBERTa performs well on various molecule property benchmarks, and approaching state of the art performance in regression tasks. Additionally, further analysis of the attention mechanisms show that GPT-MolBERTa is able to pick up important information from the input textual data, displaying the interpretability of the model.
Motivation & Objective
- Motivate improving molecular representations beyond SMILES by leveraging rich textual descriptions.
- Propose a self-supervised language-model framework trained on molecule descriptions to learn molecular embeddings.
- Evaluate pretrained text-description models on MoleculeNet classification and regression benchmarks.
- Assess interpretability of learned representations via attention visualizations.
Proposed method
- Generate 326,000 textual descriptions of molecules from SMILES using ChatGPT with a designed prompt.
- Pretrain RoBERTa/BERT encoders with masked language modeling on the text descriptions.
- Fine-tune the pretrained encoders for downstream prediction with a classification or regression head on first-token embeddings.
- Use scaffold split (80/10/10) for evaluation on MoleculeNet datasets; apply early stopping and Adam optimizer.
- Compare RoBERTa and BERT encoders to assess encoder effectiveness and generalizability.
Experimental results
Research questions
- RQ1Can text-based molecular descriptions learned by an LLM support accurate molecular property prediction when finetuned with RoBERTa/BERT encoders?
- RQ2How does pretraining on textual molecule descriptions influence downstream classification and regression benchmark performance?
- RQ3Do attention patterns on descriptive text provide interpretable insights into molecular features driving predictions?
- RQ4Is a smaller pretraining corpus (about 326k descriptions) sufficient to approach state-of-the-art on regression tasks?
Key findings
- GPT-MolBERTa achieves competitive results on MoleculeNet benchmarks, approaching state-of-the-art in regression tasks.
- On classification tasks, GPT-MolBERTa performances are comparable to baselines using string representations and align with some graph-based models.
- Regression results show notable gains: FreeSolv and ESOL see substantial RMSE improvements over top baselines (e.g., 5.88% and 11.32% respectively against MolBERT).
- Pretraining provides clear benefits over training from scratch for both classification and regression tasks.
- Attention visualizations show the model focuses on informative textual cues (e.g., SMILES, atom types, functional groups) enabling interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.