TFG-Flow: Training-free Guidance in Multimodal Generative Flow
Haowei Lin, Shanda Li, Haotian Ye, Yiming Yang, Stefano Ermon, Yitao Liang, Jianzhu Ma
TL;DR
TFG-Flow introduces a training-free guidance framework for multimodal flow models to steer generation towards target molecular properties without additional training. By combining discrete and continuous guidance within a flow-matching paradigm, it preserves flow marginals, ensures alignment with a time-independent predictor $f_c$, and maintains conditional independence of trajectories given data, with theoretical guarantees on guided velocity and rate matrices. The approach demonstrates strong empirical gains across QM9 quantum properties, structure fingerprints, and pocket-targeted drug design, outperforming many training-free baselines and narrowing gaps with conditional methods, especially when leveraging pre-trained predictors like UniMol. This work advances scalable, plug-and-play molecular design, enabling flexible target specification and efficient exploration of chemical space, with broad implications for drug discovery and multimodal generative modeling.
Abstract
Given an unconditional generative model and a predictor for a target property (e.g., a classifier), the goal of training-free guidance is to generate samples with desirable target properties without additional training. As a highly efficient technique for steering generative models toward flexible outcomes, training-free guidance has gained increasing attention in diffusion models. However, existing methods only handle data in continuous spaces, while many scientific applications involve both continuous and discrete data (referred to as multimodality). Another emerging trend is the growing use of the simple and general flow matching framework in building generative foundation models, where guided generation remains under-explored. To address this, we introduce TFG-Flow, a novel training-free guidance method for multimodal generative flow. TFG-Flow addresses the curse-of-dimensionality while maintaining the property of unbiased sampling in guiding discrete variables. We validate TFG-Flow on four molecular design tasks and show that TFG-Flow has great potential in drug design by generating molecules with desired properties.
