Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MolParser: End-to-end Visual Recognition of Molecule Structures in the Wild

About

In recent decades, chemistry publications and patents have increased rapidly. A significant portion of key information is embedded in molecular structure figures, complicating large-scale literature searches and limiting the application of large language models in fields such as biology, chemistry, and pharmaceuticals. The automatic extraction of precise chemical structures is of critical importance. However, the presence of numerous Markush structures in real-world documents, along with variations in molecular image quality, drawing styles, and noise, significantly limits the performance of existing optical chemical structure recognition (OCSR) methods. We present MolParser, a novel end-to-end OCSR method that efficiently and accurately recognizes chemical structures from real-world documents, including difficult Markush structure. We use a extended SMILES encoding rule to annotate our training dataset. Under this rule, we build MolParser-7M, the largest annotated molecular image dataset to our knowledge. While utilizing a large amount of synthetic data, we employed active learning methods to incorporate substantial in-the-wild data, specifically samples cropped from real patents and scientific literature, into the training process. We trained an end-to-end molecular image captioning model, MolParser, using a curriculum learning approach. MolParser significantly outperforms classical and learning-based methods across most scenarios, with potential for broader downstream applications. The dataset is publicly available in huggingface.

Xi Fang, Jiankun Wang, Xiaochen Cai, Shangqian Chen, Shuwen Yang, Haoyi Tao, Nan Wang, Lin Yao, Linfeng Zhang, Guolin Ke• 2024

Related benchmarks

TaskDatasetResultRank
Optical Chemical Structure Recognition (OCSR)BioVista Benchmark (test)
Full Score66.9
6
Molecule DetectionBioVista Benchmark
mAP@5096.1
5
Molecule DetectionUni-Parser Benchmark
mAP@500.983
3
Optical Chemical Structure Recognition (OCSR)Uni-Parser Benchmark (test)
Acc (Full)95.3
3
Showing 4 of 4 rows

Other info

Follow for update