A framework for evaluating the chemical knowledge and reasoning abilities of large language models against the expertise of chemists

A.h. Mirza, Nawaf Alampara, Sreekanth Kunchapu, Martiño Ríos-García, Benedict Emoekabu, Aswanth Krishnan, T. Gupta, Mara Schilling-Wilhelmi, Macjonathan Okereke, Anagha Aneesh, Mehrdad Asgari, J. Eberhardt, Amir Mohammad Elahi, Hani M. Elbeheiry, M.v. Gil, Christina Glaubitz, Maximilian Greiner, Caroline T. Holick, Tim Hoffmann, Ashraf S. Ibrahim, Lea C. Klepsch, Yannik Köster, Fabian Alexander Kreth, Jakob Meyer, Santiago Miret, Jan Matthias Peschel, Michael Ringleb, Nicole C. Roesner, J. Schreiber, Ulrich S. Schubert, Leanne M. Stafast, A. D. Dinga Wonanke, Michael Pieler, Philippe Schwaller, Kevin Maik JablonkaNature Chemistry 2025

Abstract

Large language models (LLMs) have gained widespread interest owing to their ability to process human language and perform tasks on which they have not been explicitly trained. However, we possess only a limited systematic understanding of the chemical capabilities of LLMs, which would be required to improve models and mitigate potential harm. Here we introduce ChemBench, an automated framework for evaluating the chemical knowledge and reasoning abilities of state-of-the-art LLMs against the expertise of chemists. We curated more than 2,700 question-answer pairs, evaluated leading open- and closed-source LLMs and found that the best models, on average, outperformed the best human chemists in our study. However, the models struggle with some basic tasks and provide overconfident predictions. These findings reveal LLMs' impressive chemical capabilities while emphasizing the need for further research to improve their safety and usefulness. They also suggest adapting chemistry education and show the value of benchmarking frameworks for evaluating LLMs in specific domains.

Introduction

As Large Language Models (LLMs) are increasingly integrated into laboratory workflows—acting as "copilots" for synthesis planning or property prediction—a critical question remains: Do these models actually understand chemistry, or are they merely "stochastic parrots" regurgitating training data? Existing benchmarks often focus on narrow tasks, failing to capture the multi-step reasoning and intuition required of a professional chemist. To address this, researchers developed ChemBench, a rigorous framework to evaluate models across organic, inorganic, physical, and analytical chemistry, as well as safety and toxicity.

Methodology

The ChemBench framework utilizes an automated evaluation system with several key technical features:

  • Semantic Annotation: Specialized tags (e.g., [START_SMILES]) and LaTeX are used to help models process chemical structures and equations.
  • Human Baseline: Nineteen human experts (primarily PhD students and postdocs) provided a "gold standard" by answering a subset of questions, occasionally using tools like web search.
  • Calibration and Safety: Researchers prompted models for confidence scores (1–5) to measure calibration and included "canary strings" to prevent future data leakage into training sets.

Dataset Composition

The study introduces two primary datasets: the full ChemBench (2,788 question–answer pairs) and ChemBench-Mini (236 advanced questions). These questions cover a wide array of topics, from toxicity and safety to organic and physical chemistry, requiring a mix of raw knowledge, calculation, and complex reasoning.

Figure 5: Distribution of chemical topics and required skills across the ChemBench dataset, highlighting the prevalence of toxicity/safety and organic chemistry tasks.

Key Results and Insights

The most striking finding is the performance of OpenAI’s o1-preview, which achieved a score of ~0.75 on ChemBench-Mini, significantly outperforming the highest-scoring human expert (~0.45) and the average human score (~0.30). Open-weight models like Llama 3.1-405B also showed competitive performance, rivaling leading proprietary systems.

Figure 6: Performance comparison of leading LLMs against human benchmarks, showing several models exceeding the highest human score in the study.

Despite these high scores, several critical weaknesses were identified:

  • Spatial Blindness: Models struggle with tasks requiring a 3D mental model, such as counting NMR signals, likely because they process molecules as 1D SMILES strings.
  • The Overconfidence Trap: Models are poorly calibrated; GPT-4, for example, often reported maximum confidence on incorrect answers.
  • Safety Filter Limitations: Built-in safety guardrails frequently caused models to refuse legitimate scientific questions regarding toxic substances, hindering their utility in toxicology research.

Limitations and Future Work

The authors suggest that moving beyond 1D SMILES to 2D or 3D molecular representations may be necessary for models to master structural reasoning. Furthermore, models currently lack the "chemical intuition" of experienced medicinal chemists. Future work will focus on tighter integration with specialized chemical tools and databases, as well as refining safety evaluations to allow for verified scientific use without compromising global security.

Summary updated

BibTeX
@inproceedings{mirza2025framework,
  author = {A.H. Mirza and Nawaf Alampara and Sreekanth Kunchapu and Martiño Ríos-García and Benedict Emoekabu and Aswanth Krishnan and T. Gupta and Mara Schilling-Wilhelmi and Macjonathan Okereke and Anagha Aneesh and Mehrdad Asgari and J. Eberhardt and Amir Mohammad Elahi and Hani M. Elbeheiry and M.V. Gil and Christina Glaubitz and Maximilian Greiner and Caroline T. Holick and Tim Hoffmann and Ashraf S. Ibrahim and Lea C. Klepsch and Yannik Köster and Fabian Alexander Kreth and Jakob Meyer and Santiago Miret and Jan Matthias Peschel and Michael Ringleb and Nicole C. Roesner and J. Schreiber and Ulrich S. Schubert and Leanne M. Stafast and A. D. Dinga Wonanke and Michael Pieler and Philippe Schwaller and Kevin Maik Jablonka},
  title = {{A framework for evaluating the chemical knowledge and reasoning abilities of large language models against the expertise of chemists}},
  booktitle = {Nature Chemistry},
  year = {2025},
  doi = {10.1038/s41557-025-01815-x},
}
Figure