arXiv:2609.05807cs.CVSep 2026

Manuscript Offprint

arXiv:2609.05807

MolParser-Mobile: Ultrafast OCSR System for Large-Scale Chemical Literature Mining

Xi Fang, Haocheng Lu, Han Lyu, Chengxiang Luo, Linfeng Zhang, Guolin Ke

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Optical Chemical Structure Recognition (OCSR) is a fundamental component of chemical literature mining, enabling molecular database construction, reaction extraction, and AI-driven scientific discovery. Despite substantial progress in recognition accuracy with recent deep learning-based methods, inference throughput remains a critical bottleneck that limits web-scale deployment. To address this challenge, we propose MolParser-Mobile, an AutoML-optimized lightweight end-to-end OCSR framework. MolParser-Mobile contains only 9.98M parameters, while reaching a throughput of 1,520 molecules per second on a single NVIDIA RTX 4090D GPU. Despite its compact design, it maintains competitive and, on several benchmarks, superior recognition accuracy.

ModelParamsThroughputUniParserBenchBioVista
Gemma4-31B31BOOM0.0730.118
Qwen3.5-397B397BOOM0.2720.347
MolParser216M39.80.8000.703
MolParser-Mobile9.98M ↑95.4%^{\uparrow 95.4\%}1,520 ↑38×^{\uparrow 38 \times}0.823 ↑0.023^{\uparrow 0.023}0.801 ↑0.098^{\uparrow 0.098}

Throughput is measured on a single NVIDIA RTX 4090D 24GB GPU.

1 Introduction

Recent advances in AI scientists, drug discovery, reaction prediction, molecular foundation models, knowledge graph construction, and patent mining have created an unprecedented demand for structured molecular data extracted from scientific literature. As one of the fundamental technologies for converting molecular structure images into machine-readable representations, Optical Chemical Structure Recognition (OCSR) has become a critical component of large-scale chemical knowledge mining [1, 2]. With the rapid growth of open-access publications and patents, modern applications routinely require parsing millions or even billions of molecular images.

Recent advances in OCSR, exemplified by atom-bond-based systems [3, 4] and end-to-end approaches [1, 5, 6], have substantially advanced the accuracy of molecular image recognition. Despite these advances, existing methods remain fundamentally constrained by inference efficiency. Most prior studies have focused on enhancing model expressiveness and recognition accuracy, leaving the scalability challenge largely unresolved. Traditional OCSR systems typically require seconds per molecule, while even highly optimized end-to-end approaches such as MolParser achieve throughput only at the scale of tens of molecules per second. As a result, OCSR has become a major computational bottleneck in large-scale chemical knowledge extraction. For example, recognizing one billion molecular images at one molecule per second would consume more than 11,000 GPU-days, highlighting the urgent need for substantially more efficient OCSR solutions capable of supporting web-scale molecular data mining.

For practical chemical literature mining, inference throughput has become as important as recognition accuracy. A deployable OCSR system must simultaneously achieve high throughput, lightweight deployment, competitive recognition performance, and robustness across diverse real-world document layouts. However, satisfying these requirements cannot be achieved by merely compressing existing architectures. Efficient OCSR requires a holistic redesign of the recognition pipeline, including accurate and efficient molecule localization, large-scale real-world training data, and architecture optimization tailored specifically for high-throughput inference.

To address these challenges, we redesign the entire OCSR pipeline and propose MolParser-Mobile, an ultrafast OCSR framework for large-scale chemical literature mining. Our framework consists of three complementary components. First, we develop MolDetv2, a significantly improved molecule detector together with MolDet-Bench, a dedicated benchmark for molecule localization in scientific documents. Second, we construct MolGallery, a 10-million-sample real-world molecular image dataset automatically extracted from large-scale chemical literature using a multi-model consistency-based pseudo-labeling strategy. Finally, leveraging these resources, we introduce MolParser-Mobile, an AutoML-optimized lightweight encoder-decoder model trained on over 18 million molecular images.

MolParser-Mobile contains only 9.98M parameters, representing a 95.4% reduction in model size compared with MolParser 1.0, while achieving 1,520 molecules per second on a single NVIDIA RTX 4090D GPU-over 38× faster than the original model. Despite its compact architecture, MolParser-Mobile achieves competitive and, on several benchmarks, superior recognition accuracy. At this throughput, one billion molecular images can be parsed within approximately one day using only eight consumer-grade GPUs, enabling practical web-scale molecular extraction for modern chemical literature mining.