Can Large Language Models Understand Molecules?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sadeghi, Shaghayegh, Bui, Alan, Forooghi, Ali, Lu, Jianguo, Ngom, Alioune
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917671613759488
author Sadeghi, Shaghayegh
Bui, Alan
Forooghi, Ali
Lu, Jianguo
Ngom, Alioune
author_facet Sadeghi, Shaghayegh
Bui, Alan
Forooghi, Ali
Lu, Jianguo
Ngom, Alioune
contents Purpose: Large Language Models (LLMs) like GPT (Generative Pre-trained Transformer) from OpenAI and LLaMA (Large Language Model Meta AI) from Meta AI are increasingly recognized for their potential in the field of cheminformatics, particularly in understanding Simplified Molecular Input Line Entry System (SMILES), a standard method for representing chemical structures. These LLMs also have the ability to decode SMILES strings into vector representations. Method: We investigate the performance of GPT and LLaMA compared to pre-trained models on SMILES in embedding SMILES strings on downstream tasks, focusing on two key applications: molecular property prediction and drug-drug interaction prediction. Results: We find that SMILES embeddings generated using LLaMA outperform those from GPT in both molecular property and DDI prediction tasks. Notably, LLaMA-based SMILES embeddings show results comparable to pre-trained models on SMILES in molecular prediction tasks and outperform the pre-trained models for the DDI prediction tasks. Conclusion: The performance of LLMs in generating SMILES embeddings shows great potential for further investigation of these models for molecular embedding. We hope our study bridges the gap between LLMs and molecular embedding, motivating additional research into the potential of LLMs in the molecular representation field. GitHub: https://github.com/sshaghayeghs/LLaMA-VS-GPT
format Preprint
id arxiv_https___arxiv_org_abs_2402_00024
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can Large Language Models Understand Molecules?
Sadeghi, Shaghayegh
Bui, Alan
Forooghi, Ali
Lu, Jianguo
Ngom, Alioune
Biomolecules
Artificial Intelligence
Computation and Language
Machine Learning
Purpose: Large Language Models (LLMs) like GPT (Generative Pre-trained Transformer) from OpenAI and LLaMA (Large Language Model Meta AI) from Meta AI are increasingly recognized for their potential in the field of cheminformatics, particularly in understanding Simplified Molecular Input Line Entry System (SMILES), a standard method for representing chemical structures. These LLMs also have the ability to decode SMILES strings into vector representations. Method: We investigate the performance of GPT and LLaMA compared to pre-trained models on SMILES in embedding SMILES strings on downstream tasks, focusing on two key applications: molecular property prediction and drug-drug interaction prediction. Results: We find that SMILES embeddings generated using LLaMA outperform those from GPT in both molecular property and DDI prediction tasks. Notably, LLaMA-based SMILES embeddings show results comparable to pre-trained models on SMILES in molecular prediction tasks and outperform the pre-trained models for the DDI prediction tasks. Conclusion: The performance of LLMs in generating SMILES embeddings shows great potential for further investigation of these models for molecular embedding. We hope our study bridges the gap between LLMs and molecular embedding, motivating additional research into the potential of LLMs in the molecular representation field. GitHub: https://github.com/sshaghayeghs/LLaMA-VS-GPT
title Can Large Language Models Understand Molecules?
topic Biomolecules
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2402.00024