Dynamic Importance in Diffusion U-Net for Enhanced Image Synthesis

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Xi, He, Ziqi, Zhou, Yang
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912359833927680
author Wang, Xi
He, Ziqi
Zhou, Yang
author_facet Wang, Xi
He, Ziqi
Zhou, Yang
contents Traditional diffusion models typically employ a U-Net architecture. Previous studies have unveiled the roles of attention blocks in the U-Net. However, they overlook the dynamic evolution of their importance during the inference process, which hinders their further exploitation to improve image applications. In this study, we first theoretically proved that, re-weighting the outputs of the Transformer blocks within the U-Net is a "free lunch" for improving the signal-to-noise ratio during the sampling process. Next, we proposed Importance Probe to uncover and quantify the dynamic shifts in importance of the Transformer blocks throughout the denoising process. Finally, we design an adaptive importance-based re-weighting schedule tailored to specific image generation and editing tasks. Experimental results demonstrate that, our approach significantly improves the efficiency of the inference process, and enhances the aesthetic quality of the samples with identity consistency. Our method can be seamlessly integrated into any U-Net-based architecture. Code: https://github.com/Hytidel/UNetReweighting
format Preprint
id arxiv_https___arxiv_org_abs_2504_03471
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dynamic Importance in Diffusion U-Net for Enhanced Image Synthesis
Wang, Xi
He, Ziqi
Zhou, Yang
Computer Vision and Pattern Recognition
Traditional diffusion models typically employ a U-Net architecture. Previous studies have unveiled the roles of attention blocks in the U-Net. However, they overlook the dynamic evolution of their importance during the inference process, which hinders their further exploitation to improve image applications. In this study, we first theoretically proved that, re-weighting the outputs of the Transformer blocks within the U-Net is a "free lunch" for improving the signal-to-noise ratio during the sampling process. Next, we proposed Importance Probe to uncover and quantify the dynamic shifts in importance of the Transformer blocks throughout the denoising process. Finally, we design an adaptive importance-based re-weighting schedule tailored to specific image generation and editing tasks. Experimental results demonstrate that, our approach significantly improves the efficiency of the inference process, and enhances the aesthetic quality of the samples with identity consistency. Our method can be seamlessly integrated into any U-Net-based architecture. Code: https://github.com/Hytidel/UNetReweighting
title Dynamic Importance in Diffusion U-Net for Enhanced Image Synthesis
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.03471