Adaptive Classifier-Free Guidance via Dynamic Low-Confidence Masking

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Li, Pengxiang, Yan, Shilin, Tsai, Joey, Zhang, Renrui, An, Ruichuan, Guo, Ziyu, Gao, Xiaowei
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908380309749760
author Li, Pengxiang
Yan, Shilin
Tsai, Joey
Zhang, Renrui
An, Ruichuan
Guo, Ziyu
Gao, Xiaowei
author_facet Li, Pengxiang
Yan, Shilin
Tsai, Joey
Zhang, Renrui
An, Ruichuan
Guo, Ziyu
Gao, Xiaowei
contents Classifier-Free Guidance (CFG) significantly enhances controllability in generative models by interpolating conditional and unconditional predictions. However, standard CFG often employs a static unconditional input, which can be suboptimal for iterative generation processes where model uncertainty varies dynamically. We introduce Adaptive Classifier-Free Guidance (A-CFG), a novel method that tailors the unconditional input by leveraging the model's instantaneous predictive confidence. At each step of an iterative (masked) diffusion language model, A-CFG identifies tokens in the currently generated sequence for which the model exhibits low confidence. These tokens are temporarily re-masked to create a dynamic, localized unconditional input. This focuses CFG's corrective influence precisely on areas of ambiguity, leading to more effective guidance. We integrate A-CFG into a state-of-the-art masked diffusion language model and demonstrate its efficacy. Experiments on diverse language generation benchmarks show that A-CFG yields substantial improvements over standard CFG, achieving, for instance, a 3.9 point gain on GPQA. Our work highlights the benefit of dynamically adapting guidance mechanisms to model uncertainty in iterative generation.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20199
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Classifier-Free Guidance via Dynamic Low-Confidence Masking
Li, Pengxiang
Yan, Shilin
Tsai, Joey
Zhang, Renrui
An, Ruichuan
Guo, Ziyu
Gao, Xiaowei
Computation and Language
Classifier-Free Guidance (CFG) significantly enhances controllability in generative models by interpolating conditional and unconditional predictions. However, standard CFG often employs a static unconditional input, which can be suboptimal for iterative generation processes where model uncertainty varies dynamically. We introduce Adaptive Classifier-Free Guidance (A-CFG), a novel method that tailors the unconditional input by leveraging the model's instantaneous predictive confidence. At each step of an iterative (masked) diffusion language model, A-CFG identifies tokens in the currently generated sequence for which the model exhibits low confidence. These tokens are temporarily re-masked to create a dynamic, localized unconditional input. This focuses CFG's corrective influence precisely on areas of ambiguity, leading to more effective guidance. We integrate A-CFG into a state-of-the-art masked diffusion language model and demonstrate its efficacy. Experiments on diverse language generation benchmarks show that A-CFG yields substantial improvements over standard CFG, achieving, for instance, a 3.9 point gain on GPQA. Our work highlights the benefit of dynamically adapting guidance mechanisms to model uncertainty in iterative generation.
title Adaptive Classifier-Free Guidance via Dynamic Low-Confidence Masking
topic Computation and Language
url https://arxiv.org/abs/2505.20199