Sign inGet started
Paper · arXiv

Guiding a Diffusion Model by Swapping Its Tokens

Classifier-Free Guidance (CFG) is a widely used inference-time technique to boost the image quality of diffusion models. Yet, its reliance on text conditions prevents its use in unconditional generation. We propose a simple method to enable CFG-like guidance for both conditional and unconditional generation. The key idea is to generate a perturbed prediction via simple token swap operations, and use the direction between it and the clean prediction to steer sampling towards higher-fidelity distributions. In practice, we swap pairs of most semantically dissimilar token latents in either spatial or channel dimensions. Unlike existing methods that apply perturbation in a global or less const...

AuthorsWeijia Zhang, Yuehao Liu, Shanyan Guan et al.
Primary categorycs.CV
Published9 April 2026
Last updated at source9 April 2026
cs.CV
Embed this entry
<iframe src="https://silytics.si/embed/item/9c7dbdca-073a-44dc-b5d0-78662dcf400a" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.