paper-with-me

Papers

Guiding a Diffusion Model by Swapping Its Tokens

2026-04-09 · Weijia Zhang, Yuehao Liu, Shanyan Guan, Wu Ran, Yanhao Ge, Wei Li, Chao Ma arxiv

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 constrained manner, our approach selectively exchanges and recomposes token latents, allowing finer control over perturbation and its influence on generated samples. Experiments on MS-COCO 2014, MS-COCO 2017, and ImageNet datasets demonstrate that the proposed Self-Swap Guidance (SSG), when applied to popular diffusion models, outperforms previous condition-free methods in image fidelity and prompt alignment under different set-ups. Its fine-grained perturbation granularity also improves robustness, reducing side-effects across a wider range of perturbation strengths. Overall, SSG extends CFG to a broader scope of applications including both conditional and unconditional generation, and can be readily inserted into any diffusion model as a plug-in to gain immediate improvements.

📄 PDF Abstract BibTeX arXiv:2604.08048

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

DiffSwap++: 3D Latent-Controlled Diffusion for Identity-Preserving Face Swapping

2025-11-04 · Weston Bondurant, Arkaprava Sinha, Hieu Le, Srijan Das 외 arxiv

Diffusion-based approaches have recently achieved strong results in face swapping, offering improved visual quality over traditional GAN-based methods. However, even state-of-the-art models often suffer from fine-grained…

Face Swapping

Composable Visual Tokenizers with Generator-Free Diagnostics of Learnability

2026-02-03 · Bingchen Zhao, Qiushan Guo, Ye Wang, Yixuan Huang 외 arxiv

We introduce CompTok, a training framework for learning visual tokenizers whose tokens are enhanced for compositionality. CompTok uses a token-conditioned diffusion decoder. By employing an InfoGAN-style objective, where…

HS-Diffusion: Semantic-Mixing Diffusion for Head Swapping

2022-12-13 · Qinghe Wang, Lijie Liu, Miao Hua, Pengfei Zhu 외

Image-based head swapping task aims to stitch a source head to another source body flawlessly. This seldom-studied task faces two major challenges: 1) Preserving the head and body from various sources while generating a …

High-Fidelity Diffusion Face Swapping with ID-Constrained Facial Conditioning

2025-03-28 · Dailan He, Xiahong Wang, Shulun Wang, Guanglu Song 외

Face swapping aims to seamlessly transfer a source facial identity onto a target while preserving target attributes such as pose and expression. Diffusion models, known for their superior generative capabilities, have re…

AttributeFace Swapping

DiffSwap: High-Fidelity and Controllable Face Swapping via 3D-Aware Masked Diffusion

2023-01-01 · CVPR 2023 1 · Wenliang Zhao, Yongming Rao, Weikang Shi, Zuyan Liu 외

In this paper, we propose DiffSwap, a diffusion model based framework for high-fidelity and controllable face swapping. Unlike previous work that relies on carefully designed network architectures and loss functions …

Face Swapping