Token Perturbation Guidance for Diffusion Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rajabi, Javad, Mehraban, Soroush, Sadat, Seyedmorteza, Taati, Babak
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912688487006208
author Rajabi, Javad
Mehraban, Soroush
Sadat, Seyedmorteza
Taati, Babak
author_facet Rajabi, Javad
Mehraban, Soroush
Sadat, Seyedmorteza
Taati, Babak
contents Classifier-free guidance (CFG) has become an essential component of modern diffusion models to enhance both generation quality and alignment with input conditions. However, CFG requires specific training procedures and is limited to conditional generation. To address these limitations, we propose Token Perturbation Guidance (TPG), a novel method that applies perturbation matrices directly to intermediate token representations within the diffusion network. TPG employs a norm-preserving shuffling operation to provide effective and stable guidance signals that improve generation quality without architectural changes. As a result, TPG is training-free and agnostic to input conditions, making it readily applicable to both conditional and unconditional generation. We further analyze the guidance term provided by TPG and show that its effect on sampling more closely resembles CFG compared to existing training-free guidance techniques. Extensive experiments on SDXL and Stable Diffusion 2.1 show that TPG achieves nearly a 2$\times$ improvement in FID for unconditional generation over the SDXL baseline, while closely matching CFG in prompt alignment. These results establish TPG as a general, condition-agnostic guidance method that brings CFG-like benefits to a broader class of diffusion models.
format Preprint
id arxiv_https___arxiv_org_abs_2506_10036
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Token Perturbation Guidance for Diffusion Models
Rajabi, Javad
Mehraban, Soroush
Sadat, Seyedmorteza
Taati, Babak
Graphics
Computation and Language
Classifier-free guidance (CFG) has become an essential component of modern diffusion models to enhance both generation quality and alignment with input conditions. However, CFG requires specific training procedures and is limited to conditional generation. To address these limitations, we propose Token Perturbation Guidance (TPG), a novel method that applies perturbation matrices directly to intermediate token representations within the diffusion network. TPG employs a norm-preserving shuffling operation to provide effective and stable guidance signals that improve generation quality without architectural changes. As a result, TPG is training-free and agnostic to input conditions, making it readily applicable to both conditional and unconditional generation. We further analyze the guidance term provided by TPG and show that its effect on sampling more closely resembles CFG compared to existing training-free guidance techniques. Extensive experiments on SDXL and Stable Diffusion 2.1 show that TPG achieves nearly a 2$\times$ improvement in FID for unconditional generation over the SDXL baseline, while closely matching CFG in prompt alignment. These results establish TPG as a general, condition-agnostic guidance method that brings CFG-like benefits to a broader class of diffusion models.
title Token Perturbation Guidance for Diffusion Models
topic Graphics
Computation and Language
url https://arxiv.org/abs/2506.10036