Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

On the Guidance of Flow Matching

About

Flow matching has shown state-of-the-art performance in various generative tasks, ranging from image generation to decision-making, where generation under energy guidance (abbreviated as guidance in the following) is pivotal. However, the guidance of flow matching is more general than and thus substantially different from that of its predecessor, diffusion models. Therefore, the challenge in guidance for general flow matching remains largely underexplored. In this paper, we propose the first framework of general guidance for flow matching. From this framework, we derive a family of guidance techniques that can be applied to general flow matching. These include a new training-free asymptotically exact guidance, novel training losses for training-based guidance, and two classes of approximate guidance that cover classical gradient guidance methods as special cases. We theoretically investigate these different methods to give a practical guideline for choosing suitable methods in different scenarios. Experiments on synthetic datasets, image inverse problems, and offline reinforcement learning demonstrate the effectiveness of our proposed guidance methods and verify the correctness of our flow matching guidance framework. Code to reproduce the experiments can be found at https://github.com/AI4Science-WestlakeU/flow_guidance.

Ruiqi Feng, Chenglei Yu, Wenhao Deng, Peiyan Hu, Tailin Wu• 2025

Related benchmarks

TaskDatasetResultRank
Guided Flow MatchingSynthetic Dataset 10k samples 2-dimensional Mixture of Gaussians
Posterior Coverage94
20
Dexterous ManipulationD4RL Adroit Relocate (offline)
Safety Score0.15
9
Robotic ManipulationManiSkill2 StackCube (static obstacles)
Violations1.2
8
Robotic ManipulationManiSkill2 StackCube (hybrid composition)
Violation1.8
8
LocomotionHopper Med-Expert
Computation Time (sec)0.01
7
Locomotionhopper medium
Computation Time (sec)0.01
7
LocomotionWalker2D Med-Expert
Computation Time (sec)0.01
7
Locomotionwalker2d medium
Computation Time (sec)0.01
7
Locomotion Planninghopper medium
Safety0.39
7
ManipulationKUKA Block Stacking
Computation Time (sec)0.47
7
Showing 10 of 30 rows

Other info

Follow for update