MechParser: A Vision-Language Framework for Parsing Chemical Reaction Mechanism Diagrams
Chen et al. in Multimodal
Can a vision model read reaction arrows as chemistry?
MechParser: A Vision-Language Framework for Parsing Chemical Reaction Mechanism Diagrams
The product hides the electron-flow sequence
Reaction-image parsers extract reactants and products, not the ordered curved-arrow electron flow connecting one step to the next.
MechParser reads each arrow against an atom-indexed scaffold and records bond and atom-state edits in an ordered string.
Two views separate arrow reading from atom lookup

SAM3 removes arrows from a copy; MolNexTR performs optical chemical structure recognition on it. The original sits beside an indexed redraw for MechParser-VL's arrow prediction, then deterministic code writes cumulative SM-SMARTS.
Each arrow edits the previous molecular state
Bond symbols ^, ; and _ mark triple, double and single bonds; a separate marker means cleavage, while δ marks formation. α marks donor valence up; γ marks acceptor valence down. Edits accumulate.
- Si
- Scaffold after arrow i
- Si−1
- Cumulative state before arrow i
- ai
- The next ordered arrow
Training progresses from synthetic arrows to real drawings
- 1
Single-arrow pretraining
200,000 synthetic single-arrow diagrams teach endpoints and output format with the vision tower frozen.
- 2
Multi-arrow training
100,000 synthetic diagrams with 2–3 arrows train ordered reasoning with the vision tower unfrozen.
- 3
Bridge to real drawings
Mixed-domain fine-tuning combines 3,000 synthetic samples with 620 expert-annotated real diagrams.
- 4
Reward-based refinement
Group Relative Policy Optimization refines on 420 real diagrams with chemistry-aware and format rewards; 151 of 1,191 annotated diagrams are held out for Real-Eval.
The full 4B recipe beats an 8B flat-SFT control
Real-Eval table, seed 1; Qwen3-VL family, LoRA, data/splits shared. Flat SFT lacks curriculum/RL. EA-EM: exact arrows in valid orders.
On Real-Eval, task training sharpens arrow grounding
Strongest tested zero-shot VLM: 51.7% EA-EM (95% diagram-bootstrap CI [43.7, 59.7]).
Task-trained: 80.1% EA-EM (95% diagram-bootstrap CI [73.8, 86.4]) with the same prompt and oracle scaffold.
EA-EM matches arrow identity, direction and count exactly, while allowing valid orders.
Does a separate reference panel help?
Five-seed mean: 74.17% EA-EM; standard deviation 2.09.
Mean: 79.07%, standard deviation 1.79; paired gain 4.90 points (95% CI [2.26, 7.54]), positive in all five seeds.
GRPO is held fixed; the paired interval excludes zero.
Arrow removal protects every downstream stage
Real-Eval (151 diagrams; seed 1): raw vs SAM3-cleaned input to OCSR, then downstream SM-SMARTS scores. Table: arrow-removal ablation.
What this result does not establish
Single-panel crops
It starts from a cropped, printed scheme; PDF figure detection and linking multiple panels are not evaluated.
Transcription, not validation
Synthetic arrows are geometrically generated, not chemically checked; the model reads diagrams rather than judging mechanism correctness.
Source shift
The 151-diagram test shares all four sources with training; leave-one-source-out runs scored 3.97 EA-EM points below matched controls on average.
Why it matters
- The full pipeline reaches 76.2% EA-EM on 151 held-out Real-Eval diagrams.
- A practical parser should keep the original arrows and provide a separate clean, atom-indexed view for molecule recognition.
- Can mapped panels be linked reliably enough to build literature-scale mechanism data?
1 like 11 slides, 3 min
1 day ago