VeSMA: GPU-native library for retrosynthetic expansion and beyond

Template­based computer­aided synthesis planning generates candidate precursors by applying retrosynthetic reaction templates to target molecules. Applying these templates across large collections of molecules is computationally demanding, as each application requires both identifying matching molecular patterns and construct­ ing the resulting precursors. Here we present VeSMA, a reaction­template application library with dedicated NVIDIA CUDA, Apple Metal, and CPU backends accessible through a unified interface. To our knowledge, VeSMA is the first implementation to execute the complete reaction­template application pipeline on GPUs, rather than accelerating only template selection or substructure matching. VeSMA enumerates distinct template matches, applies the corresponding graph transformations, constructs precursor molecules, and updates the number of hydrogen atoms and recalculates aromaticity. We evaluate VeSMA using the PaRoutes collection of published multi­ step retrosynthetic routes and reaction templates derived from USPTO patents, testing agreement across backends and with established reaction engines, as well as its use in successive retrosynthetic steps. Across nearly 770 000 confirmed molecule–template pairs, VeSMA and RDChiral produce identical precursor outcome sets for 98.3% of pairs when stereochemistry is excluded from the comparison. We further measure reaction­ application throughput and demonstrate integration into an exhaustive depth­two expansion. VeSMA is released as a library for integration into retrosynthetic planning workflows, benchmarking, and further development.

Authors

Institutions

Publication Details

Journal
ChemRxiv
Published
2026-11-25
DOI
https://doi.org/10.26434/chemrxiv.15012766/v1
Primary Topic
Computational Drug Discovery Methods
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

VeSMA: GPU-native library for retrosynthetic expansion and beyond

Anna Reymer, Alexey Voronov
ChemRxiv
Computational Drug Discovery Methods
preprint

VeSMA: GPU-native library for retrosynthetic expansion and beyond

Anna Reymer, Alexey Voronov
preprint en

Abstract

Template­based computer­aided synthesis planning generates candidate precursors by applying retrosynthetic reaction templates to target molecules. Applying these templates across large collections of molecules is computationally demanding, as each application requires both identifying matching molecular patterns and construct­ ing the resulting precursors. Here we present VeSMA, a reaction­template application library with dedicated NVIDIA CUDA, Apple Metal, and CPU backends accessible through a unified interface. To our knowledge, VeSMA is the first implementation to execute the complete reaction­template application pipeline on GPUs, rather than accelerating only template selection or substructure matching. VeSMA enumerates distinct template matches, applies the corresponding graph transformations, constructs precursor molecules, and updates the number of hydrogen atoms and recalculates aromaticity. We evaluate VeSMA using the PaRoutes collection of published multi­ step retrosynthetic routes and reaction templates derived from USPTO patents, testing agreement across backends and with established reaction engines, as well as its use in successive retrosynthetic steps. Across nearly 770 000 confirmed molecule–template pairs, VeSMA and RDChiral produce identical precursor outcome sets for 98.3% of pairs when stereochemistry is excluded from the comparison. We further measure reaction­ application throughput and demonstrate integration into an exhaustive depth­two expansion. VeSMA is released as a library for integration into retrosynthetic planning workflows, benchmarking, and further development.

ChemRxiv
Institut pour l'avancée des biosciences (FR), Université Grenoble Alpes (FR)
Computational Drug Discovery Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon