LVRE: A Local Visual Reasoning and Editing Agent for Optical Chemical Structure Recognition
Bowen Lin, Lei Fan
Abstract
Optical chemical structure recognition (OCSR) demands strict all-or-nothing graph fidelity, where a single misidentified bond order or formal charge makes the predicted graph differ from the reference structure. While vision-language models (VLMs) can reinspect ambiguous visual regions, unconstrained full-graph regeneration often introduces regressive errors into previously correct substructures. We present LVRE, a training-free visual agent that refines molecular graphs via targeted visual inspection and reversible transactional editing. Rather than regenerating the entire graph sequence, LVRE examines a high-resolution crop alongside the global diagram and local graph neighborhood, proposing modifications to named graph records that a deterministic controller checks. A controller executes each proposed modification as an isolated transaction, and a visual review module arbitrates which edits to commit or roll back. Across four foundation VLMs, LVRE improves graph accuracy by 8.0-8.5 percentage points over single-pass recognition and by 3.0-3.3 points over fixed local review. In a paired evaluation of 1,000 diagrams using Gemini 3.8 Flash, LVRE achieves 100 successful repairs while introducing only 15 regressive errors, in contrast to global reflection which yields 65 repairs against 30 introduced errors. On this paired set, LVRE introduces half as many errors on initially correct predictions as global reflection.
Create a lesson
Related papers
Reframe: Observation-Aligned Multi-Teacher On-Policy Distillation for Agentic Visual Reasoning
Shared title terminology · Haozhi Yuan, Handong Li, Yifan Zhang et al.
Cecilia: Towards Layout-Inclusive Optical Music Recognition
Shared title terminology · Congren Dai, Zhancheng Guo, Xiaobing Li et al.
Can Reasoning and Image Description Enhance Yes/No Visual Mathematical Understanding?
Shared title terminology · Guangcheng Song, Weichuan Wang, Linqi Song
Latent Fusion: Channel Stacking for Structure-Preserving Image Editing
Shared title terminology · Mohit Dulani
Acting by Intent, Reacting by Sight: Visual Conditioned Reflexes for Real-Time VLM Agents
Shared title terminology · Qiancheng Zhou, Wenhua Zhang
Watching Itself Watch: Self-Auditing Visual Reliance for Video Reasoning
Shared title terminology · Rohan Dugad, Mi Luo, Kristen Grauman