Proceedings

Doubly Stochastic Graph-based Non-autoregressive Reaction Prediction

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 4064-4072.

https://doi.org/10.24963/ijcai.2023/452

Abstract

Organic reaction prediction is a critical task in drug discovery. Recently, researchers have achieved non-autoregressive reaction prediction by modeling the redistribution of electrons, resulting in state-of-the-art top-1 accuracy, and enabling parallel sampling. However, the current non-autoregressive decoder does not satisfy two essential rules of electron redistribution modeling simultaneously: the electron-counting rule and the symmetry rule. This violation of the physical constraints of chemical reactions impairs model performance. In this work, we propose a new framework called ReactionSink that combines two doubly stochastic self-attention mappings to obtain electron redistribution predictions that follow both constraints. We further extend our solution to a general multi-head attention mechanism with augmented constraints. To achieve this, we apply Sinkhorn's algorithm to iteratively update self-attention mappings, which imposes doubly conservative constraints as additional informative priors on electron redistribution modeling. We theoretically demonstrate that our ReactionSink can simultaneously satisfy both rules, which the current decoder mechanism cannot do. Empirical results show that our approach consistently improves the predictive performance of non-autoregressive models and does not bring an unbearable additional computational cost.

  1. [Adams and Zemel, 2011] Ryan Prescott Adams and Richard S. Zemel. Ranking via sinkhorn propagation. CoRR, abs/1106.1925, 2011.
  2. [Bi et al., 2021] Hangrui Bi, Hengyi Wang, Chence Shi, Connor W. Coley, Jian Tang, and Hongyu Guo. Non- autoregressive electron redistribution modeling for reac- tion prediction. In Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Ma- chine Learning Research, pages 904-913. PMLR, 2021.
  3. [Bradshaw et al., 2019] John Bradshaw, Matt J. Kusner, Brooks Paige, Marwin H. S. Segler, and José Miguel Hernández-Lobato. A generative model for electron paths. In 7th International Conference on Learning Representa- tions, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019.
  4. [Cuturi, 2013] Marco Cuturi. Sinkhorn distances: Light- speed computation of optimal transport. In Advances in Neural Information Processing Systems 26: 27th An- nual Conference on Neural Information Processing Sys- tems 2013. Proceedings of a meeting held December 5- 8, 2013, Lake Tahoe, Nevada, United States, pages 2292- 2300, 2013.
  5. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understand- ing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171-4186. Association for Computational Linguistics, 2019.
  6. [Do et al., 2019] Kien Do, Truyen Tran, and Svetha Venkatesh. Graph transformation policy network for chemical reaction prediction. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 750-760. ACM, 2019.
  7. [Dral, 2020] Pavlo Dral. Quantum chemistry in the age of machine learning. Journal of Physical Chemistry Letters, 11:2336-2347, 03 2020.
  8. [Irwin et al., 2022] Ross Irwin, Spyridon Dimitriadis, Ji- azhen He, and Esben Jannik Bjerrum. Chemformer: a pre-trained transformer for computational chemistry. Ma- chine Learning: Science and Technology, 3(1):015022, jan 2022.
  9. [Jin et al., 2017] Wengong Jin, Connor W. Coley, Regina Barzilay, and Tommi S. Jaakkola. Predicting organic re- action outcomes with weisfeiler-lehman network. In Ad- vances in Neural Information Processing Systems 30: An- nual Conference on Neural Information Processing Sys- tems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 2607-2616, 2017.
  10. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd Inter- national Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015.
  11. [Kovacs et al., 2021] David Kovacs, William McCorkindale, and Alpha Lee. Quantitative interpretation explains ma- chine learning models for chemical reaction prediction and uncovers bias. Nature Communications, 12, 03 2021.
  12. [Lam et al., 2020] Yu-hong Lam, Yuriy Abramov, Ravi S. Ananthula, Jennifer M. Elward, Lori R. Hilden, Sten O. Nilsson Lill, Per-Ola Norrby, Antonio Ramirez, Edward C. Sherer, Jason Mustakis, and Gerald J. Tanoury. Applica- tions of quantum chemistry in pharmaceutical process de- velopment: Current state and opportunities. Organic Pro- cess Research & Development, 24(8):1496-1507, 2020.
  13. [Lowe, 2012] Daniel Mark Lowe. Extraction of chemical structures and reactions from the literature. Apollo -Uni- versity of Cambridge Repository, 2012.
  14. [Lu and Zhang, 2022] Jieyu Lu and Yingkai Zhang. Uni- fied deep learning model for multitask reaction predictions with explanation. J. Chem. Inf. Model., 62(6):1376-1387, 2022.
  15. [Marshall and Coifman, 2019] Nicholas F Marshall and Ronald R Coifman. Manifold learning with bi-stochastic kernels. IMA Journal of Applied Mathematics, 84(3):455- 482, 2019.
  16. [Mena et al., 2018] Gonzalo E. Mena, David Belanger, Scott W. Linderman, and Jasper Snoek. Learning la- tent permutations with gumbel-sinkhorn networks. In 6th International Conference on Learning Representa- tions, ICLR 2018, Vancouver, BC, Canada, April 30 -May 3, 2018, Conference Track Proceedings. OpenReview.net, 2018.
  17. [Mialon et al., 2021] Grégoire Mialon, Dexiong Chen, Alexandre d'Aspremont, and Julien Mairal. A trainable optimal transport embedding for feature aggregation and its relationship to attention. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021.
  18. [Milanfar, 2013] Peyman Milanfar. Symmetrizing smooth- ing filters. SIAM J. Imaging Sci., 6(1):263-284, 2013.
  19. [Niculae et al., 2018] Vlad Niculae, André F. T. Martins, Mathieu Blondel, and Claire Cardie. Sparsemap: Dif- ferentiable sparse structured inference. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmässan, Stockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learn- ing Research, pages 3796-3805. PMLR, 2018.
  20. [Peyré and Cuturi, 2019] Gabriel Peyré and Marco Cuturi. Computational optimal transport: With applications to data science. Foundations and Trends® in Machine Learn- ing, 11(5-6):355-607, 2019.
  21. [Qian et al., 2020] Wesley Wei Qian, Nathan T. Russell, Claire L. W. Simons, Yunan Luo, Martin D. Burke, and Jian Peng. Integrating deep neural networks and sym- bolic inference for organic reactivity prediction. Chem- Rxiv, 2020.
  22. [Raucci et al., 2022] Umberto Raucci, Valerio Rizzi, and Michele Parrinello. Discover, sample, and refine: Explor- ing chemistry with enhanced sampling techniques. The Journal of Physical Chemistry Letters, 13:1424-1430, 02 2022.
  23. [Sacha et al., 2020] Mikolaj Sacha, Mikolaj Blaz, Piotr Byrski, Pawel Wlodarczyk-Pruszynski, and Stanislaw Jas- trzebski. Molecule edit graph attention network: Model- ing chemical reactions as sequences of graph edits. CoRR, abs/2006.15426, 2020.
  24. [Sander et al., 2022] Michael E. Sander, Pierre Ablin, Math- ieu Blondel, and Gabriel Peyré. Sinkformers: Transform- ers with doubly stochastic attention. In International Con- ference on Artificial Intelligence and Statistics, AISTATS 2022, 28-30 March 2022, Virtual Event, volume 151 of Proceedings of Machine Learning Research, pages 3515- 3530. PMLR, 2022.
  25. [Schwaller et al., 2019] Philippe Schwaller, Teodoro Laino, Théophile Gaudin, Peter Bolgar, Christopher A. Hunter, Costas Bekas, and Alpha A. Lee. Molecular transformer: A model for uncertainty-calibrated chemical reaction pre- diction. ACS Central Science, 5(9), 2019.
  26. [Segler and Waller, 2016a] Marwin H. S. Segler and Mark P. Waller. Modelling chemical reasoning to predict reac- tions. Chemistry-A European Journal, 23(25):6118-6128, 2016a.
  27. [Segler and Waller, 2017] Marwin H. S. Segler and Mark P. Waller. Neural-symbolic machine learning for retrosyn- thesis and reaction prediction. Chemistry -A European Journal, 23(25):5966-5971, 2017.
  28. [Sinkhorn, 1966] Richard Sinkhorn. A relationship between arbitrary positive matrices and stochastic matrices. Cana- dian Journal of Mathematics, 18:303-306, 1966.
  29. [Sohn et al., 2015] Kihyuk Sohn, Honglak Lee, and Xinchen Yan. Learning structured output representation using deep conditional generative models. In Advances in Neural In- formation Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, pages 3483-3491, 2015.
  30. [Sutskever et al., 2014] Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In Advances in Neural Information Process- ing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pages 3104-3112, 2014.
  31. [Tay et al., 2020] Yi Tay, Dara Bahri, Liu Yang, Donald Met- zler, and Da-Cheng Juan. Sparse sinkhorn attention. In Proceedings of the 37th International Conference on Ma- chine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 9438-9447. PMLR, 2020.
  32. [Tetko et al., 2020] Igor Tetko, Pavel Karpov, Ruud Deursen, and Guillaume Godin. State-of-the-art aug- mented nlp transformer models for direct and single-step retrosynthesis. Nature Communications, 11, 11 2020.
  33. [Tu and Coley, 2021] Zhengkai Tu and Connor W. Co- ley. Permutation invariant graph-to-sequence model for template-free retrosynthesis and reaction prediction. CoRR, abs/2110.09681, 2021.
  34. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Sys- tems 30: Annual Conference on Neural Information Pro- cessing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008, 2017.
  35. [Weininger, 1988] David Weininger. Smiles, a chemical lan- guage and information system. 1. introduction to method- ology and encoding rules. J. Chem. Inf. Comput. Sci., 28(1):31-36, 1988.
  36. [Wormell and Reich, 2021] Caroline L. Wormell and Sebas- tian Reich. Spectral convergence of diffusion maps: Im- proved error bounds and an alternative normalization. SIAM J. Numer. Anal., 59(3):1687-1734, 2021.
  37. [Zhao et al., 2022] Ming Zhao, Lei Fang, Li Tan, Yves Lep- age, and Jian-Guang Lou. Leveraging reaction-aware substructures for retrosynthesis and reaction prediction. CoRR, abs/2204.05919, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards