Discrete Guidance Matching: Exact Guidance for Discrete Flow Matching

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wan, Zhengyan, Ouyang, Yidong, Xie, Liyan, Fang, Fang, Zha, Hongyuan, Cheng, Guang
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908964529111040
author Wan, Zhengyan
Ouyang, Yidong
Xie, Liyan
Fang, Fang
Zha, Hongyuan
Cheng, Guang
author_facet Wan, Zhengyan
Ouyang, Yidong
Xie, Liyan
Fang, Fang
Zha, Hongyuan
Cheng, Guang
contents Guidance provides a simple and effective framework for posterior sampling by steering the generation process towards the desired distribution. When modeling discrete data, existing approaches mostly focus on guidance with the first-order approximation to improve the sampling efficiency. However, such an approximation is inappropriate in discrete state spaces since the approximation error could be large. A novel guidance framework for discrete data is proposed to address this problem: we derive the exact transition rate for the desired distribution given a learned discrete flow matching model, leading to guidance that only requires a single forward pass in each sampling step, significantly improving efficiency. This unified novel framework is general enough, encompassing existing guidance methods as special cases, and it can also be seamlessly applied to the masked diffusion model. We demonstrate the effectiveness of our proposed guidance on energy-guided simulations and preference alignment on text-to-image generation and multimodal understanding tasks. The code is available at https://github.com/WanZhengyan/Discrete-Guidance-Matching.
format Preprint
id arxiv_https___arxiv_org_abs_2509_21912
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Discrete Guidance Matching: Exact Guidance for Discrete Flow Matching
Wan, Zhengyan
Ouyang, Yidong
Xie, Liyan
Fang, Fang
Zha, Hongyuan
Cheng, Guang
Machine Learning
Guidance provides a simple and effective framework for posterior sampling by steering the generation process towards the desired distribution. When modeling discrete data, existing approaches mostly focus on guidance with the first-order approximation to improve the sampling efficiency. However, such an approximation is inappropriate in discrete state spaces since the approximation error could be large. A novel guidance framework for discrete data is proposed to address this problem: we derive the exact transition rate for the desired distribution given a learned discrete flow matching model, leading to guidance that only requires a single forward pass in each sampling step, significantly improving efficiency. This unified novel framework is general enough, encompassing existing guidance methods as special cases, and it can also be seamlessly applied to the masked diffusion model. We demonstrate the effectiveness of our proposed guidance on energy-guided simulations and preference alignment on text-to-image generation and multimodal understanding tasks. The code is available at https://github.com/WanZhengyan/Discrete-Guidance-Matching.
title Discrete Guidance Matching: Exact Guidance for Discrete Flow Matching
topic Machine Learning
url https://arxiv.org/abs/2509.21912