Published January 28, 2021 | Version v0.1
Software Open

rxn4chemistry/OpenNMT-py: Noise Reduction in Chemical Datasets

Description

Existing deep learning models applied to reaction prediction in organic chemistry can reach high levels of accuracy (> 90% for Natural Language Processing-based ones). With no chemical knowledge embedded than the information learnt from reaction data, the quality of the data sets plays a crucial role in the performance of the prediction models. While human curation is prohibitively expensive, the need for unaided approaches to remove chemically incorrect entries from existing data sets is essential to improve artificial intelligence models' performance in synthetic chemistry tasks. Here we propose a machine learning-based, unassisted approach to remove chemically wrong entries from chemical reaction collections. We applied this method to the collection of chemical reactions Pistachio and to an open data set, both extracted from USPTO (United States Patent Office) patents. Our results show an improved prediction quality for models trained on the cleaned and balanced data sets. For the retrosynthetic models, the round-trip accuracy metric grows by 13 percentage points and the value of the cumulative Jensen Shannon divergence decreases by 30% compared to its original record. The coverage remains high with 97%, and the value of the class-diversity is not affected by the cleaning. The proposed strategy is the first unassisted rule-free technique to address automatic noise reduction in chemical data sets.

This is the first version of the python code used to implement the forgetting experiment. Preprint at https://chemrxiv.org/articles/preprint/Unassisted_Noise-Reduction_of_Chemical_Reactions_Data_Sets/12395120/1

Files

rxn4chemistry/OpenNMT-py-v0.1.zip

Files (17.5 MB)

Name Size Download all
md5:6295dd0512bb3654375260b1b3ee9a90
17.5 MB Preview Download

Additional details

Related works