Unbiasing Retrosynthesis Language Models with Disconnection Prompts

Amol Thakkar, Alain C. Vaucher, Andrea Byekwaso, Philippe Schwaller, Alessandra Toniato, Teodoro Laino

Abstract

Data-driven approaches to retrosynthesis have thus far been limited in user interaction, in the diversity of their predictions, and the recommendation of unintuitive disconnection strategies. Herein, we extend the notions of prompt- based inference in natural language processing to the task of chemical language modeling. We show that by using a prompt describing the disconnection site in a molecule, we can steer the model to propose a wider set of precursors, overcoming training data biases in retrosynthetic recommendations and achiev- ing a 39 % performance improvement over the baseline. For the first time, the use of a disconnection prompt empowers chemists by giving them back greater control over the disconnection predictions, resulting in more diverse and creative recommendations. In addition, in place of a human-in-the-loop strategy, we propose a schema for automatic identification of disconnection sites, followed by prediction of reactant sets, achieving a 100 % improvement in class diversity as compared to the baseline. The approach is effective in mitigating prediction biases deriving from training data. In turn, this provides a larger variety of usable building blocks, which improves the end-user digital experience. We demonstrate its application to different chemistry domains, from traditional to enzymatic reactions, in which substrate specificity is key.
BibTeX
@inproceedings{thakkar2023unbiasing,
  author = {Amol Thakkar and Alain C. Vaucher and Andrea Byekwaso and Philippe Schwaller and Alessandra Toniato and Teodoro Laino},
  title = {{Unbiasing Retrosynthesis Language Models with Disconnection Prompts}},
  booktitle = {ACS},
  year = {2023},
  doi = {10.1021/acscentsci.3c00372},
}

Loading related content...

Figure