Flow Matching with General Discrete Paths: A Kinetic-Optimal Perspective
Neta Shaul, Itai Gat, Marton Havasi, Daniel Severo, Anuroop Sriram, Peter Holderrieth, Brian Karrer, Yaron Lipman, Ricky T. Q. Chen
TL;DR
The paper broadens discrete-flow modelling by grounding discrete generation in continuous-time Markov chains and allowing arbitrary probability paths beyond masking. It develops kinetic-energy–based, closed-form velocity formulas that can generate any prescribed path, and introduces kinetic-optimal probability paths that recover mixture paths with domain-specific schedulers. A probability-preserving component and an ELBO for mixture paths enable stable training and clear optimization targets, with results demonstrating improvements over masking in text and competitive performance in materials and images. The work thus expands the design space for discrete diffusion-like models, enabling domain-informed paths and velocities to enhance iterative refinement in discrete data domains.
Abstract
The design space of discrete-space diffusion or flow generative models are significantly less well-understood than their continuous-space counterparts, with many works focusing only on a simple masked construction. In this work, we aim to take a holistic approach to the construction of discrete generative models based on continuous-time Markov chains, and for the first time, allow the use of arbitrary discrete probability paths, or colloquially, corruption processes. Through the lens of optimizing the symmetric kinetic energy, we propose velocity formulas that can be applied to any given probability path, completely decoupling the probability and velocity, and giving the user the freedom to specify any desirable probability path based on expert knowledge specific to the data domain. Furthermore, we find that a special construction of mixture probability paths optimizes the symmetric kinetic energy for the discrete case. We empirically validate the usefulness of this new design space across multiple modalities: text generation, inorganic material generation, and image generation. We find that we can outperform the mask construction even in text with kinetic-optimal mixture paths, while we can make use of domain-specific constructions of the probability path over the visual domain.
