A new method called Feynman–Kac steering lets researchers guide a pretrained flow-matching model toward energy- or reward-weighted outcomes without retraining it.
Researchers have adapted Feynman-Kac steering, a particle-based technique first used for diffusion models, to Conditional Flow Matching (CFM), a fast generative modelling approach. The paper, published in Digital Discovery, shows this method can steer CFM output during inference toward energy- or reward-tilted distributions. The authors tested it on synthetic high-dimensional tasks and on generating transition states of chemical reactions consistent with reactant and product stereochemistry, and on steering a pretrained model toward low forces on the g-xTB potential energy surface.
The method works by running many candidate generation paths in parallel and reweighting or resampling them during inference, according to an energy or reward signal, while keeping the model's underlying probability path intact, so no retraining of the original CFM model is needed.
The authors note that steering toward transition states sometimes exposes cases where stereodescriptors cannot be assigned unambiguously, meaning the geometric constraints connecting reactant and product are not always well defined. They flag this as an outcome of applying the method, not a solved problem.
For practitioners and students working with generative models in chemistry, the takeaway is that inference-time steering can adapt an existing CFM model to new, more constrained generation tasks without the cost of retraining, though outputs near ambiguous stereochemical cases should be checked carefully. Code to reproduce the study is available open-source, as stated in the paper.