cs.AIAug 27, 2026

Mechanistic Reaction Prediction via Discrete Flow Matching on Graph-Structured Electron Occupation

Authors: Nguyen Xuan-Vu, Octavian Susanu, Daniel Armstrong, Philippe Schwaller

Organizations: École Polytechnique Fédérale de Lausanne (EPFL) · National Centre of Competence in Research (NCCR) Catalysis

Abstract

Chemical reactions are fundamentally transformations in electron space, yet most machine learning approaches model them either through de novo generation of product molecules or through heuristic graph edits that operate directly on molecular topology. We introduce MAELLE (MechAnistic Edit fLow-matching on eLectron rEarrangements), which instead models reactions as discrete flow matching over electron occupation vectors. Concretely, we formulate the reactant-to-product mapping as a Continuous-time Markov Chain (CTMC) over the graph-structured integer-valued electron occupation space defined on all bonding, non-bonding, and hydrogen sites. To construct the interpolants between the reactants and products, we generalize the discrete flow matching mixture path to an edit-based formulation, where the electron moves are interpolated using Optimal Transport, yielding a mechanism-like set of moves without elementary step annotations. MAELLE achieves competitive performance on the USPTO-480K benchmark compared with leading reaction prediction models. Beyond in-distribution learning, we evaluate robustness across two out-of-distribution settings - structural complexity and reaction type - and find that MAELLE maintains strong performance where existing methods degrade. Finally, because the learned flow operates over the full electron redistribution, MAELLE naturally recovers mechanistic trajectories that align with known chemistry and can predict side products of a reaction.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning Transferable Reaction Mechanisms from Visual Chemical Knowledge

    Sep 27, 2026Yujian Yuan, Jiaxin Xu, Xin Cai +4Visual Representation LearningTransfer Learning

  2. Learning Mechanistic Reasoning for Chemical Reactions with Large Language Models

    Jul 14, 2026Xingyu Dang, Haocheng Tang, Junmei Wang +1LLM Reasoning

  3. Neural Petri flows for chemical reactions

    Oct 6, 2026Jose Eduardo Escrig Molina, Daniel ProbstAI-Assisted Scientific ResearchChemical Reaction Prediction