PAIR: Depiction-Invariant Representation Learning for Optical Chemical Structure Recognition
Some benchmark signal exists in the extracted evidence, but it is not structured strongly enough yet for a confident benchmark decision.
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
Optical chemical structure recognition (OCSR) must recover the same molecular structure from drawings that vary widely in style, layout, and image quality. Several leading methods address this task through explicit atom and bond prediction, supervising the structure recovered from each image. We explore a complementary form of structural supervision: encouraging representations of different depictions of the same molecule to agree, so that recognition depends less on appearance and more on shared molecular identity. We propose Paired-view Alignment for Invariant Recognition (PAIR), a framework that learns representations insensitive to variations in molecular depiction while preserving distinctions between chemical structures. PAIR achieves this through shared learnable queries and cross-view contrastive learning on paired real and rendered molecular images. To complement the query-based representations, residual fusion preserves fine-grained spatial evidence for accurate SMILES decoding. Evaluated on six OCSR benchmarks with three diverse backbones, PAIR consistently improves recognition performance, with PAIR-2B achieving a mean exact molecular accuracy of 85.92\%. Specifically, on the task of Markush structure recognition, PAIR-2B surpasses the current state-of-the-art OCSR model by 10 percentage points. Further analyses demonstrate improved cross-view alignment and retrieval, while ablation studies support the contributions of the proposed components. These results confirm that learning depiction invariance provides effective structural supervision that complements molecular reconstruction for robust OCSR.
Results and benchmarks
Optical chemical structure recognition (OCSR) must recover the same molecular structure from drawings that vary widely in style, layout, and image quality.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
Retrieval / indexing
Methods
Retrieval-augmented generation
Domains
Computer vision, Information Retrieval
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.