arXiv:2608.22183cs.CVAug 2026

Manuscript Offprint

arXiv:2608.22183

VERDICT: Agreement Beats Pixel-Space Verification in Real-Document OCSR

Yani Guan, Dengpan Dong, Shuang Luo, Zi Wei, Joah Han, Dan Hannah, Yumin Zhang, Qichao Hu, Kang Xu

Abstract

Optical Chemical Structure Recognition (OCSR), which converts 2D molecular depictions in the published literature into SMILES, is increasingly important for constructing large-scale chemical training datasets. However, automation at that scale requires identifying which predictions are unreliable, a decision that must be made without ground truth. Three label-free reliability signals were compared: model confidence, re-rendering similarity and agreement among different recognizers. We evaluated 263 molecular depictions from ACS journals for which definitive ground truth was available. Pixel-space re-rendering performed little better than chance (AUROC 0.547, 95% CI [0.465, 0.629]), and an oracle-tuned threshold on that signal reduced correct labels per input image from 0.745 to 0.205. Agreement among four architecturally distinct recognizers instead reached an AUROC of 0.916 ([0.880, 0.952]). The two-of-four rule accepted 81.7% of the images at 88.8% precision, while the three-of-four rule accepted 52.1% at 98.5% precision. The same pattern held on CLEF-IP, UOB, and USPTO. This distinction is obscured on synthetic benchmarks, where re-rendered predictions naturally resemble their inputs. A chemical filter removed 2,193 false agreements on wildcards and R-group fragments. After filtering, the three-of-four rule rejected all 68 generic depictions. VERDICT was then applied to PMC Open Access and produced 6,146 structure labels for 4,833 molecules. Chemist adjudication of 400 released labels in two independent samples yielded precisions of 0.995 for the three-of-four tier and 0.958 for the two-of-four tier. VERDICT therefore enables the generation of validated labels for multimodal molecular databases linking structure images, machine-readable molecular representations, and information from source publications. In SES AI's Molecular Universe platform, VERDICT further serves as a reliable image-based interface for searching and retrieving molecular records.

1 Introduction

A substantial fraction of chemical multi-modal knowledge remains encoded in molecular structure figures within papers and patents, placing it out of reach of chemical model training. Optical Chemical Structure Recognition (OCSR) offers a way to convert 2D molecular depictions into machine-readable structures i.e. SMILES, but no ground truth exists for a figure taken from an arbitrary paper. Therefore, a reliable system around those models is required to decide on its own which of its predictions to keep to build a high quality multi-modal molecular resources.

At the model level, specialized recognizers continue to be developed, including DECIMER [Rajan et al., 2020, 2023], MolScribe [Qian et al., 2023b], and MolNexTR [Chen et al., 2024], all of which report exact-match accuracies above 0.9 on synthetic benchmarks. Recently, a rapidly growing line of chemistry-specific and general-purpose vision language models (VLMs) has followed, including reasoning-trace approaches that

∗^{*}These authors contributed equally to this work.

†^{\dagger}Corresponding author: yumin.zhang@ses.ai, qichao.hu@ses.ai, kang.xu@ses.ai emit an explicit graph-traversal derivation before the final string [Li et al., 2024, Fan et al., 2024b, Wang et al., 2025, Andonian et al., 2026]. Real documents, however, present depictions of unpredictable style and size, embedded in dense page context from which they must first be isolated, so the resulting crops are frequently far harder to read than benchmark images. The effect was measured in a companion study [Guan et al., 2026], where a fine-tuned VLM recognizer achieved an average exact-match accuracy of 0.940 across four rendered conditions but only 0.231 across four real-document sets. Reliability is therefore a requirement distinct from recognizer accuracy, and one that has to be met at the system level. Existing system-level work has addressed integration rather than validation: document-level pipelines assemble chemical records from molecular figures and surrounding text [Swain and Cole, 2016, Qian et al., 2023a, Fan et al., 2024a], which raises the cost of an incorrect structure without introducing any criterion for rejecting one. Among the recognizers themselves, MolScribe supplies a per-prediction confidence score [Qian et al., 2023b], but it is single-engine and has no counterpart in the others. For a reliable system, three ground-truth-free signals are available in principle: model confidence [Hendrycks and Gimpel, 2017, Guo et al., 2017], self-verification through re-rendering, and agreement among independent recognizers [Dietterich, 2000, Wang et al., 2023, Ratner et al., 2017]. Each carries a plausible failure mode. Confidence scores are unavailable or incomparable across many OCSR engines; re-rendering similarity may reflect depiction style rather than chemical correctness; and cross-model agreement can preserve errors shared among recognizers. These signals have not been systematically evaluated under a common protocol on real OCSR images, and existing real-image benchmarks remain limited in scale or dominated by patent-derived depictions [Piroi et al., 2011, Sadawi et al., 2012, Staker et al., 2019]. Consequently, the field lacks both a validated criterion for selective acceptance and a reliable strategy for constructing large-scale, journal-domain molecular corpora.

In this work, we present a reliable system designed to recognize when a difficult crop has defeated the recognizers. Its consensus mechanism accounts for variability in real depictions, including style, scale, and how cleanly a structure separates from the surrounding page. On 263 ACS depictions with verified ground truth, pixel-space round-trip verification is close to uninformative (AUROC 0.547, 95% CI [0.465, 0.629]), whereas agreement among four architecturally distinct recognizers is strongly discriminative (0.916, [0.880, 0.952]). The same ordering is reproduced on CLEF-IP, UOB, and USPTO. Pixel comparison measures depiction style, while agreement is assessed on molecular identity and is largely indifferent to it. VERDICT reconciles engine outputs using molecular identity rather than exact SMILES-string matching. A substance filter then removes false agreements in which multiple engines converge on wildcard- or R-group-containing fragments rather than complete molecules. It accepts 81.7% of images at 0.888 precision and 52.1% at 0.985, in a median 3.5 s per image. Therefore, VERDICT establishes which crops were read correctly and abstains on the rest. As an application, we ran this framework over PubMed Central (PMC) Open Access, where it yielded 6,146 structure labels for 4,833 distinct molecules, with chemist evaluation of 400 labels drawn in two independent samples demonstrating a precision of at least 0.958. This supports the construction of gold-standard datasets of real labeled depictions, helping to close the synthetic-to-real gap [Guan et al., 2026]. A validated gate can therefore produce such datasets from unlabeled literature, allowing the corpus generated by current recognizers to train future OCSR models. Besides, when incorporated into a knowledge base, the same labels link each structure to the publication, properties, and provenance recorded alongside it. Consequently, a molecule depicted in one paper can be connected to relevant information reported elsewhere.

References (29)