A Transformer Model for Retrosynthesis Pavel Karpov Guillaume Godin Igor Tetko 10.26434/chemrxiv.8058464.v1 https://chemrxiv.org/articles/A_Transformer_Model_for_Retrosynthesis/8058464 <div><div><div><p>We describe a Transformer model for a retrosynthetic reaction prediction task. The model is trained on 45 033 experimental reaction examples extracted from USA patents. It can successfully predict the reactants set for 42.7% of cases on the external test set. During the training procedure, we applied different learning rate schedules and snapshot learning. These techniques can prevent overfitting and thus can be a reason to get rid of internal validation dataset that is advantageous for deep models with millions of parameters. We thoroughly investigated different approaches to train Transformer models and found that snapshot learning with averaging weights on learning rates minima works best. While decoding the model output probabilities there is a strong influence of the temperature that improves at T=1.3 the accuracy of models up to 1-2%.</p></div></div></div> 2019-05-02 18:21:08 Retrosynthesis prediction Computer Aided Synthesis Planning Character-based models Transformer