Coupled Guidance for Flow Matching
Organizations: Huawei
Abstract
Guidance methods are essential tools for steering the generation process in diffusion models, improving the generalizability of stochastic robotic controllers and enabling high-quality controlled image synthesis. Despite strong parallels between flow-matching and diffusion, integrating guidance into flow-matching models remains quite challenging. Recent work has proposed general guidance frameworks for flow-matching, however, they are direct adaptations of diffusion guidance methods and can prove unstable. In this work, we conduct a theoretical analysis of guidance in flow-matching and show that a naive translation of diffusion-based guidance to flow-matching breaks the coupling distribution used during training, resulting in weaker control over sampling accuracy. Building on this insight, we propose Coupled Guidance, a flow-matching-specific guidance mechanism derived from a geometric perspective that leverages the coupling structure inherent to flow-matching training. To validate the effectiveness of our approach, we conduct extensive experimentation on a custom robotic collision avoidance task using ManiSkill3, four robotic dexterous manipulation tasks from the Adroit benchmark, and three image generation tasks, namely inpainting, super-resolution, and deblurring, using the ImageNet-128 and CelebA-HQ-256 datasets. Our findings show that our framework improves sample quality and guidance stability across all tasks, without imposing any additional overhead.
Figures & tables
| -1 | 0 | 1 | |
|---|---|---|---|
| 0 | 73 | 21 | 17 |
| 1 | 81 | 77 | 36 |
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
| Naive | Coupled | ||||
|---|---|---|---|---|---|
| Task | Metric | PiGDM | PiGDM+ | PiGDM | PiGDM+ |
| Inpainting | FID | 54.3 | 7.5 | 20.7 | 7.5 |
| LPIPS | 0.184 | 0.041 | 0.100 | 0.041 | |
| PSNR | 20.5 | 29.3 | 30.1 | 29.1 | |
| SSIM | 0.873 | 0.953 | 0.927 | 0.953 | |
| Deblurring | FID | 54.0 | 22.7 | 33.0 | 22.7 |
| Naive | Coupled | ||||
|---|---|---|---|---|---|
| Task | Metric | GDM | GDM+ | GDM | GDM+ |
| Inpainting | FID | 13.0 | 10.5 | 8.8 | 11.3 |
| LPIPS | 0.106 | 0.086 | 0.092 | 0.088 | |
| PSNR | 20.4 | 20.5 | 23.4 | 20.6 | |
| SSIM | 0.907 | 0.911 | 0.908 | 0.909 | |
| Deblurring | FID | 58.6 | 1.6 | 16.6 | 1.2 |
Flow Matching
Flow matching learns continuous-time vector fields that transport simple noise distributions into data for efficient generative modeling.
See all 663 papers