🤖 AI Summary
Chemical reaction data are predominantly unavailable in machine-readable formats, severely hindering AI applications in organic chemistry; automated parsing of reaction images has long been impeded by scarce annotated data and inadequate model architectures. This paper introduces RxnIM, the first multimodal large language model specifically designed for chemical reaction understanding. It innovatively integrates chemically aware tokenization, a reaction-graph-specific synthetic data generation framework, and instruction-based fine-tuning. Built upon a ViT visual encoder and a multimodal large language model (MLLM) architecture, RxnIM enables end-to-end, joint structural parsing of reaction images and textual condition information. On multiple benchmark datasets, it achieves an average F1 score of 88%, outperforming the prior state of the art by 5 percentage points. The project open-sources the model weights, training code, synthetic and real-world datasets, and an interactive web application—establishing a foundational data infrastructure for AI-driven chemistry research.
📝 Abstract
Artificial intelligence (AI) has demonstrated significant promise in advancing organic chemistry research; however, its effectiveness depends on the availability of high-quality chemical reaction data. Currently, most published chemical reactions are not available in machine-readable form, limiting the broader application of AI in this field. The extraction of published chemical reactions into structured databases still relies heavily on manual curation, and robust automatic parsing of chemical reaction images into machine-readable data remains a significant challenge. To address this, we introduce the Reaction Image Multimodal large language model (RxnIM), the first multimodal large language model specifically designed to parse chemical reaction images into machine-readable reaction data. RxnIM not only extracts key chemical components from reaction images but also interprets the textual content that describes reaction conditions. Together with specially designed large-scale dataset generation method to support model training, our approach achieves excellent performance, with an average F1 score of 88% on various benchmarks, surpassing literature methods by 5%. This represents a crucial step toward the automatic construction of large databases of machine-readable reaction data parsed from images in the chemistry literature, providing essential data resources for AI research in chemistry. The source code, model checkpoints, and datasets developed in this work are released under permissive licenses. An instance of the RxnIM web application can be accessed at https://huggingface.co/spaces/CYF200127/RxnIM.