Skip to main content
QUICK REVIEW

[Paper Review] Regression with Large Language Models for Materials and Molecular Property Prediction

Ryan Jacobs, Maciej P. Polak|arXiv (Cornell University)|Sep 9, 2024
Machine Learning in Materials ScienceMaterials Science8 citations
TL;DR

The paper shows that fine-tuned LLaMA 3 can perform regression on molecular and materials properties using only composition-based input, achieving competitive results with traditional models on QM9 and 28 materials properties, though generally lagging behind state-of-the-art methods that use more granular molecular representations.

ABSTRACT

We demonstrate the ability of large language models (LLMs) to perform material and molecular property regression tasks, a significant deviation from the conventional LLM use case. We benchmark the Large Language Model Meta AI (LLaMA) 3 on several molecular properties in the QM9 dataset and 24 materials properties. Only composition-based input strings are used as the model input and we fine tune on only the generative loss. We broadly find that LLaMA 3, when fine-tuned using the SMILES representation of molecules, provides useful regression results which can rival standard materials property prediction models like random forest or fully connected neural networks on the QM9 dataset. Not surprisingly, LLaMA 3 errors are 5-10x higher than those of the state-of-the-art models that were trained using far more granular representation of molecules (e.g., atom types and their coordinates) for the same task. Interestingly, LLaMA 3 provides improved predictions compared to GPT-3.5 and GPT-4o. This work highlights the versatility of LLMs, suggesting that LLM-like generative models can potentially transcend their traditional applications to tackle complex physical phenomena, thus paving the way for future research and applications in chemistry, materials science and other scientific domains.

Motivation & Objective

  • Demonstrate the ability of large language models to perform material and molecular property regression.
  • Benchmark LLaMA 3 on QM9 and a set of 28 materials properties using composition-based inputs.
  • Assess how LLaMA 3 compares to traditional models and prior LLMs in regression tasks for chemistry and materials science.

Proposed method

  • Use LLaMA 3, fine-tuned with generative loss only, on input strings representing compositions or SMILES for molecules.
  • Evaluate regression performance on QM9 molecular properties using SMILES-based fine-tuning.
  • Evaluate regression performance on 28 materials properties using composition-based descriptors.
  • Compare LLaMA 3 results to random forest, fully connected neural networks, and state-of-the-art models that use granular molecular representations.

Experimental results

Research questions

  • RQ1Can LLMs be repurposed to perform regression tasks for molecular and materials properties using composition-based inputs?
  • RQ2How does LLaMA 3 perform on QM9 properties compared to traditional regression models?
  • RQ3How does LLaMA 3 perform on a broader set of 28 materials properties relative to baseline models?
  • RQ4Do LLM-based regressors improve relative to GPT-3.5 and GPT-4o on these tasks?

Key findings

  • LLaMA 3 with SMILES-based fine-tuning provides useful regression results comparable to random forest or fully connected networks on QM9.
  • LLaMA 3 errors are 5–10x higher than state-of-the-art models that use more granular representations (e.g., atom types and coordinates) for the same task.
  • On the 28 materials properties, LLaMA 3 provides comparable but slightly worse accuracy relative to random forest and elemental descriptors when using only compound descriptions.
  • LLaMA 3 shows improved predictions compared to GPT-3.5 and GPT-4o.
  • The work suggests LLM-like generative models can tackle complex physical phenomena in chemistry and materials science.

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.