r/StableDiffusion • u/adeukis • 12d ago
News Latent diffusion needs no decoder😵 New paper: DWD, a linear head on DiT predicts pixels directly • Same or better quality on every tested latent model, less flicker in Wan video
https://x.com/HanshengCh/status/2123084314837766500?a=vJLaQV8GeOHanxic1Ig&s=20
63
Upvotes
15
u/_kaidu_ 12d ago
They still use a VAE. Only in the final output step they predict pixels directly. Saying they decode without a decoder is a bit questionable; they simply use the DiT as decoder.
Is this crazy and revolutionary? No. The VAE itself us usually implemented as a Vision Transformer (similar to DiT). It's not that surprising that you can finetune a DiT to do what the VAE is doing.
Does this has any advantages? In my opinion rather not. They claim the image quality is better. Dunno if that is true. Besides that for training and generation they still use VAE so they don't really benefit from pixels
4
u/Kqyxzoj 12d ago
And for those that don't use twatter:
"Latent diffusion models rely on a decoder to map denoised latents to pixels, adding complexity and inference cost. We introduce Decoding Without a Decoder (DWD), which lets a finetuned diffusion transformer produce final pixels directly through a linear head. Unlike previous methods, where the denoising output leads to final pixels, DWD separates the two roles: the original denoising head continues to drive sampling, then the new DWD head predicts the pixels at the final step. We extend pretrained latent models with DWD efficiently by finetuning only the last few transformer blocks, training the DWD head with pixel quality losses while anchoring the denoising head to the pretrained model to preserve the sample trajectory. Across latent image and video generators, DWD removes the decoder while maintaining or even improving pixel quality. On Wan video generation, it visibly reduces detail distortion and flickering, lowering warping error by 23%. Remarkably, the same separation also improves pixel diffusion models that do not even use a decoder: a final-step DWD head produces substantially better texture detail in text-to-image generation, and improves ImageNet FID from 1.55 to 1.43, a new state of the art among pixel flow models."
1
u/ShutUpYoureWrong_ 12d ago
I may be completely talking out of my ass here about their implementation, but don't prediction methods like these rapidly lose cohesion? It's no wonder they're comparing results to WAN with its 5s limitation, and/or applying it to image models. It's probably going to be limited completely to that.
Still, really cool approach. Looking forward to seeing how it develops further.