LGAIQMJul 12, 2024

Accelerating the inference of string generation-based chemical reaction models for industrial applications

arXiv:2407.09685v27 citationsh-index: 27
AI Analysis

This addresses a bottleneck for industrial applications in computer-aided synthesis planning, but it is incremental as it optimizes an existing method.

The paper tackled the problem of slow inference speed in template-free SMILES-to-SMILES translation models for chemical reaction prediction and retrosynthesis, achieving over 3X faster inference with no loss in accuracy.

Template-free SMILES-to-SMILES translation models for reaction prediction and single-step retrosynthesis are of interest for industrial applications in computer-aided synthesis planning systems due to their state-of-the-art accuracy. However, they suffer from slow inference speed. We present a method to accelerate inference in autoregressive SMILES generators through speculative decoding by copying query string subsequences into target strings in the right places. We apply our method to the molecular transformer implemented in Pytorch Lightning and achieve over 3X faster inference in reaction prediction and single-step retrosynthesis, with no loss in accuracy.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes