Skip to main content
QUICK REVIEW

[Paper Review] Language models in molecular discovery

Nikita Janakarajan, Tim Erdmann|arXiv (Cornell University)|Sep 28, 2023
Machine Learning in Materials ScienceMaterials Science5 citations
TL;DR

This paper reviews the application of language models—particularly transformer-based architectures—in accelerating molecular discovery, focusing on de novo drug design, property prediction, and reaction chemistry. It demonstrates how integrating large language models with cheminformatics tools via chatbot interfaces enables non-experts to perform complex chemical tasks through natural language, significantly lowering barriers to AI-driven molecular design.

ABSTRACT

The success of language models, especially transformer-based architectures, has trickled into other domains giving rise to "scientific language models" that operate on small molecules, proteins or polymers. In chemistry, language models contribute to accelerating the molecule discovery cycle as evidenced by promising recent findings in early-stage drug discovery. Here, we review the role of language models in molecular discovery, underlining their strength in de novo drug design, property prediction and reaction chemistry. We highlight valuable open-source software assets thus lowering the entry barrier to the field of scientific language modeling. Last, we sketch a vision for future molecular design that combines a chatbot interface with access to computational chemistry tools. Our contribution serves as a valuable resource for researchers, chemists, and AI enthusiasts interested in understanding how language models can and will be used to accelerate chemical discovery.

Motivation & Objective

  • To review the role of language models in accelerating molecular discovery across drug design, property prediction, and reaction chemistry.
  • To highlight open-source software tools that lower the entry barrier for researchers and chemists in scientific language modeling.
  • To propose a vision for future molecular design that integrates chatbot interfaces with computational chemistry tools for interactive, AI-assisted discovery.
  • To demonstrate the practical integration of LLMs with cheminformatics pipelines for natural language-driven molecular generation and analysis.

Proposed method

  • Utilizes transformer-based language models fine-tuned on molecular representations such as SMILES, SELFIES, and InChI for sequence modeling.
  • Employs prompt-based fine-tuning to adapt LLMs for multi-task scientific reasoning, including molecule generation and property prediction.
  • Integrates pre-trained LLMs with external cheminformatics tools (e.g., PubChem, RDKit, GT4SD) via API calls to enable programmatic execution of chemical tasks.
  • Employs retrieval-augmented generation (RAG) and tool-augmented prompting to enhance reasoning and accuracy in molecular tasks.
  • Develops and demonstrates a chatbot interface (e.g., ChemChat) that interprets natural language queries and orchestrates tool calls for molecule identification, logP calculation, QED scoring, and property-driven generation.
  • Uses regression transformers and substructure-constrained generation to produce molecules with desired properties, such as increased logP values.

Experimental results

Research questions

  • RQ1How can language models be effectively applied to accelerate early-stage drug discovery in chemistry?
  • RQ2To what extent can LLMs bridge natural language queries with complex cheminformatics workflows without requiring programming expertise?
  • RQ3What is the performance of LLMs when integrated with external tools like GT4SD or PubChem for molecular property prediction and generation?
  • RQ4How does the integration of LLMs with cheminformatics tools improve the usability and accessibility of AI-driven molecular design?
  • RQ5Can LLM-powered chatbots reliably perform multi-step chemical reasoning tasks such as molecule identification, property calculation, and generative design?

Key findings

  • Language models fine-tuned on molecular sequences (e.g., SMILES) can learn structured representations that enable property-driven exploration of chemical space.
  • The Multitask Text and Chemistry T5 model, with only 250M parameters, outperformed larger models like ChatGPT and Galactica in a re-discovery task of a common herbicide.
  • Chatbot interfaces like ChemChat successfully execute complex workflows—such as molecule identification, logP and QED calculation—by orchestrating calls to external tools like PubChem and GT4SD.
  • Property-driven molecule generation via the Regression Transformer model produced three theobromine analogs with a target logP of -0.5, demonstrating precise, constraint-based design.
  • The integration of LLMs with cheminformatics tools enables non-programmers to perform advanced chemical tasks through natural language, significantly reducing the technical barrier to entry.
  • The fusion of LLMs with existing software (e.g., RDKit, GT4SD) enables asynchronous computation and structured response formatting, including visualizations and interactive data outputs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.