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.
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.
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