Electron flow matching for generative reaction mechanism prediction obeying conservation laws

Joonyoung F. Joung, Mun Hong Fong, Nicholas Casetti, Jordan P. Liles, Ne S. Dassanayake +1 more
2/18/2025
cs.LG

No official code found. Best implementation: FongMunHong/FlowER (147 stars, MIT, last commit 2026-01-23).

Abstract

Central to our understanding of chemical reactivity is the principle of mass conservation, which is fundamental for ensuring physical consistency, balancing equations, and guiding reaction design. However, data-driven computational models for tasks such as reaction product prediction rarely abide by this most basic constraint. In this work, we recast the problem of reaction prediction as a problem of electron redistribution using the modern deep generative framework of flow matching. Our model, FlowER, overcomes limitations inherent in previous approaches by enforcing exact mass conservation, thereby resolving hallucinatory failure modes, recovering mechanistic reaction sequences for unseen substrate scaffolds, and generalizing effectively to out-of-domain reaction classes with extremely data-efficient fine-tuning. FlowER additionally enables estimation of thermodynamic or kinetic feasibility and manifests a degree of chemical intuition in reaction prediction tasks. This inherently interpretable framework represents a significant step in bridging the gap between predictive accuracy and mechanistic understanding in data-driven reaction outcome prediction.

View on arXivView PDF

Code Implementations(1)

FongMunHong/FlowERCommunity100%
MIT

Flow Matching for Electron Redistribution

14737Shell, PythonFeb 11, 20259 months agoMIT

Similar Papers

Cite this paper

@article{joung2025electron,
  title  = {Electron flow matching for generative reaction mechanism prediction obeying conservation laws},
  author = {Joonyoung F. Joung and Mun Hong Fong and Nicholas Casetti and Jordan P. Liles and Ne S. Dassanayake and Connor W. Coley},
  year   = {2025},
  eprint = {2502.12979},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.12979v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.12979.svg)](https://codeofpaper.com/paper/2502.12979)

Discussion