OCSU: Optical Chemical Structure Understanding for Molecule-centric Scientific Discovery
Siqi Fan, Yuguang Xie, Bowen Cai, Ailin Xie, Gaochao Liu, Mu Qiao, Jie Xing, Zaiqing Nie
TL;DR
OCSU addresses the challenge of translating chemical structure diagrams into readable strings at multiple levels, enabling both chemist-friendly and machine-friendly outputs. It explores two paradigms—OCSR-based DoubleCheck and end-to-end OCSR-free Mol-VL—grounded by Vis-CheBI20, a large-scale dataset for four OCSU tasks plus functional-group recognition. Experiments show that the two approaches provide strong baseline performance, with DoubleCheck improving atom-level recognition and Mol-VL delivering strong end-to-end captioning, highlighting complementary strengths. This work advances molecule-centric discovery by enabling multi-level diagram understanding and integrating with downstream AI tools and LLMs, while releasing data and code to accelerate further research.
Abstract
Understanding the chemical structure from a graphical representation of a molecule is a challenging image caption task that would greatly benefit molecule-centric scientific discovery. Variations in molecular images and caption subtasks pose a significant challenge in both image representation learning and task modeling. Yet, existing methods only focus on a specific caption task that translates a molecular image into its graph structure, i.e., OCSR. In this paper, we propose the Optical Chemical Structure Understanding (OCSU) task, which extends low-level recognition to multilevel understanding and aims to translate chemical structure diagrams into readable strings for both machine and chemist. To facilitate the development of OCSU technology, we explore both OCSR-based and OCSR-free paradigms. We propose DoubleCheck to enhance OCSR performance via attentive feature enhancement for local ambiguous atoms. It can be cascaded with existing SMILES-based molecule understanding methods to achieve OCSU. Meanwhile, Mol-VL is a vision-language model end-to-end optimized for OCSU. We also construct Vis-CheBI20, the first large-scale OCSU dataset. Through comprehensive experiments, we demonstrate the proposed approaches excel at providing chemist-readable caption for chemical structure diagrams, which provide solid baselines for further research. Our code, model, and data are open-sourced at https://github.com/PharMolix/OCSU.
