Skip to content
The Internet Compass

Machine Learning in Materials Science

Leveraging large language models for predictive chemistry

Kevin Maik Jablonka, Philippe Schwaller, Andres Ortega‐Guerrero, Berend Smit

Machine Learning in Materials ScienceComputational Drug Discovery MethodsTopic Modeling
Published February 6, 2024Read PDF ↗View on arXiv ↗

Abstract

Abstract Machine learning has transformed many fields and has recently found applications in chemistry and materials science. The small datasets commonly found in chemistry sparked the development of sophisticated machine learning approaches that incorporate chemical knowledge for each application and, therefore, require specialized expertise to develop. Here we show that GPT-3, a large language model trained on vast amounts of text extracted from the Internet, can easily be adapted to solve various tasks in chemistry and materials science by fine-tuning it to answer chemical questions in natural language with the correct answer. We compared this approach with dedicated machine learning models for many applications spanning the properties of molecules and materials to the yield of chemical reactions. Surprisingly, our fine-tuned version of GPT-3 can perform comparably to or even outperform conventional machine learning techniques, in particular in the low-data limit. In addition, we can perform inverse design by simply inverting the questions. The ease of use and high performance, especially for small datasets, can impact the fundamental approach to using machine learning in the chemical and material sciences. In addition to a literature search, querying a pre-trained large language model might become a routine way to bootstrap a project by leveraging the collective knowledge encoded in these foundation models, or to provide a baseline for predictive tasks.

Sourced from arXiv · Updated September 2, 2026

Thank you to arXiv for use of its open access interoperability.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is "Leveraging large language models for predictive chemistry" about?

Abstract Machine learning has transformed many fields and has recently found applications in chemistry and materials science. The small datasets commonly found in chemistry sparked the development of sophisticated machine learning approaches that incorporate chemical knowledge fo

Who wrote this paper?

Kevin Maik Jablonka, Philippe Schwaller, Andres Ortega‐Guerrero, Berend Smit

Where can I read the full paper?

The full text is available as a PDF on arXiv (linked above), published February 6, 2024.

Does this paper have a DOI?

Yes: https://doi.org/10.1038/s42256-023-00788-1.