English

Guiding a diffusion model using sliding windows

Computer Vision and Pattern Recognition 2025-09-01 v3 Artificial Intelligence Machine Learning

Abstract

Guidance is a widely used technique for diffusion models to enhance sample quality. Technically, guidance is realised by using an auxiliary model that generalises more broadly than the primary model. Using a 2D toy example, we first show that it is highly beneficial when the auxiliary model exhibits similar but stronger generalisation errors than the primary model. Based on this insight, we introduce \emph{masked sliding window guidance (M-SWG)}, a novel, training-free method. M-SWG upweights long-range spatial dependencies by guiding the primary model with itself by selectively restricting its receptive field. M-SWG requires neither access to model weights from previous iterations, additional training, nor class conditioning. M-SWG achieves a superior Inception score (IS) compared to previous state-of-the-art training-free approaches, without introducing sample oversaturation. In conjunction with existing guidance methods, M-SWG reaches state-of-the-art Frechet DINOv2 distance on ImageNet using EDM2-XXL and DiT-XL. The code is available at https://github.com/HHU-MMBS/swg_bmvc2025_official.

Keywords

Cite

@article{arxiv.2411.10257,
  title  = {Guiding a diffusion model using sliding windows},
  author = {Nikolas Adaloglou and Tim Kaiser and Damir Iagudin and Markus Kollmann},
  journal= {arXiv preprint arXiv:2411.10257},
  year   = {2025}
}

Comments

Accepted at BMVC 2025. 30 pages, 16 figures in total, including appendix

R2 v1 2026-06-28T20:01:23.155Z