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
Robotic ManipulationManiSkill2 StackCube (static obstacles)
Violations1.2
8
Robotic ManipulationManiSkill2 StackCube (hybrid composition)
Violation1.8
8
Obstacle AvoidancePush-T static obstacles
Success Rate (%)56
6
Robotic PlanningMaze2D static obstacles (100 samples)
Safety39
6
Robotic PlanningMaze2D static goal (100 samples)
Safety41
6
Robotic PlanningMaze2D dynamic obstacles (100 samples)
Safety Score39
6
Robotic PlanningMaze2D hybrid composition (100 samples)
Safety Score34
6
Robotic PushingPush-T Intercept 1.0 (test)
Success Rate0.76
5
Robot ManipulationRobomimic Simulation Lift canonical (test)
Success Rate72
5
Showing 10 of 17 rows

Other info

Follow for update