oMeBench: Towards Robust Benchmarking of LLMs in Organic Mechanism Elucidation and Reasoning

Ruiling Xu, Yifan Zhang, Qingyun Wang, Carl Edwards, Heng JiarXiv 2025 · DOI

Abstract

In organic chemistry, understanding a reaction requires more than just predicting the final product; it necessitates a step-by-step grasp of the mechanism—the sequence of elementary steps and intermediates that define the chemical "algorithm." While Large Language Models (LLMs) have shown promise in product prediction, their ability to reason through these complex pathways has lacked a robust benchmark. We introduce oMeBench, the first large-scale, expert-curated benchmark for organic mechanism elucidation. Our evaluation reveals a significant "perceptual gap" where models struggle with logical consistency in multi-step reactions, though fine-tuning on our generated "Silver" dataset can boost performance by 50%.

Introduction

Organic chemistry is fundamentally about the "how" and "why" of molecular transformations. A reaction mechanism describes the movement of electrons and the formation of short-lived intermediates. For AI to be truly useful in drug discovery and materials science, it must move beyond simple pattern matching of reactants to products and instead master mechanistic reasoning.

The task of organic mechanism elucidation: from reactants to step-by-step intermediates.

Existing benchmarks often rely on "atom-mapping," a format difficult for both humans and LLMs to interpret. oMeBench addresses this by providing a human-readable, logic-heavy framework to test the limits of chemical AI, focusing on the causal "chain of thought" required to navigate from starting materials to products.

The oMeBench Dataset

The researchers developed a multi-tiered dataset to facilitate both evaluation and training:

  • oMe-Gold: 196 high-quality, expert-verified reactions curated from authoritative chemistry textbooks.
  • oMe-Template: 167 generalized mechanistic templates abstracted from the Gold data, representing core reaction types like the Aldol reaction.
  • oMe-Silver: A large-scale dataset of 10,619 steps. This was generated by using LLMs to suggest chemically plausible R-group substitutions on the templates, which were then filtered for validity. This dataset is primarily used for supervised fine-tuning (SFT).
The data curation pipeline and examples of Gold, Template, and Silver datasets.

Evaluation Framework: oMeS

Standard string matching is inadequate for chemistry because valid mechanisms can be described in multiple ways. To solve this, the authors proposed oMeS, a framework that uses the Needleman-Wunsch algorithm to dynamically align a model's predicted steps with the ground truth. The scoring system evaluates three dimensions:

  1. Validity: Is the generated SMILES string a chemically possible molecule?
  2. Logicality: Did the model correctly identify the reaction type (e.g., nucleophilic addition)?
  3. Structural Similarity: Partial credit is awarded based on Tanimoto similarity and Morgan fingerprints for "near-miss" intermediates.

Key Insights and Results

The "Perceptual Gap" and the 5-Step Wall

LLMs often suffer from a disconnect between symbolic representation and chemical logic. A model might predict a correct final product but "hallucinate" an impossible intermediate. Furthermore, performance drops significantly as mechanisms exceed five steps, suggesting that current models struggle to maintain long-range causal reasoning.

General Reasoning vs. Specialized Knowledge

Surprisingly, general-purpose frontier models like GPT-4o and Gemini-Pro-2.5 often outperformed models specifically pre-trained on chemistry (e.g., ChemDFM). This indicates that general reasoning capabilities are currently more critical for solving complex mechanisms than specialized chemical knowledge without underlying logic.

The Power of Fine-Tuning

While In-Context Learning (ICL) provides some benefit, Supervised Fine-Tuning (SFT) on the Silver dataset proved most effective. A fine-tuned 4B parameter model (Qwen-3-SFT) outperformed much larger proprietary models like Claude-Sonnet-4, achieving a 50% improvement over leading closed-source baselines.

Limitations and Future Work

The current benchmark relies on text-based SMILES strings, which do not capture 3D spatial constraints or stereochemistry. Additionally, the dataset lacks modern reaction classes such as photoredox or transition-metal catalysis. Future iterations of oMeBench aim to incorporate graph-based or geometry-aware similarity measures to further bridge the gap between AI and human chemical expertise.

Summary updated

BibTeX
@misc{xu2025omebench,
  author = {Ruiling Xu and Yifan Zhang and Qingyun Wang and Carl Edwards and Heng Ji},
  title = {{oMeBench: Towards Robust Benchmarking of LLMs in Organic Mechanism Elucidation and Reasoning}},
  year = {2025},
  eprint = {2510.07731},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.07731},
}
Figure