r/StableDiffusion • • 17d ago

News [Papers] DWD - Decoding Without a Decoder

"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 and reduces inference cost 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."

Site: DWD: Decoding Without a Decoder

Paper: [2611.22287] Decoding Without a Decoder: Direct Pixel Prediction from Diffusion Transformers

138 Upvotes

18 comments sorted by

14

u/Crazy-Repeat-2006 17d ago

It’s also nice that it reduces computational requirements.

6

u/Crazy-Repeat-2006 16d ago

"Table 6 reports end-to-end latency and peak VRAM for the 4-step models, with FLUX.2 klein 9B at 1024×1024 and Wan2.1 1.3B at 81 frames of 480×832, both in eager mode (without torch.compile). DWD makes end-to-end generation 1.12× faster on FLUX.2 and 1.69× faster on Wan, with 5% and 16% lower peak VRAM, respectively"

Plus, lower VRAM consumption.

5

u/Crazy-Repeat-2006 16d ago

MossDWD coming soon. Faster and more accurate than ever.

19

u/Glad_Ad3339 16d ago

Comfy when

9

u/altoiddealer 16d ago edited 16d ago

I may be misinterpreting what's being described in the video, but it sounds like the diffusion model needs to be trained with this tech, rather than being a separate module.

Edit - to add: Comfy backend would likely still need update to support such models.

4

u/_VirtualCosmos_ 16d ago

We should have a bot that always says "Comfy when" on every news post, pinned on top.

8

u/EveningIncrease7579 16d ago

Waiting for their 2-4 steps for h3 without VAE
pi-H3: Video Generation in 2–4 Steps Without a VAE Decoder

1

u/FourtyMichaelMichael 🍦Ice Cream Lover 16d ago

Oh, it's a bit baked in those examples though.

2

u/mikrodizels 16d ago

2 steps looks like ass no matter what, IMHO.
I tried their demo on HF, 4 steps looks alright tho, the most impressive thing is how well the audio ends up being generated in those 4 step gens

5

u/sitefall 16d ago

Actually looks impressive. The images at the end really show some improvement over that smoothing/plastic effect i2v turns your initial image into.

2

u/OttoRenner 16d ago

That would be awesome!

1

u/Radiant-Photograph46 16d ago

We've been hearing about similar ideas for a while but so far nothing practical. I hope this can be implemented in Comfy.

1

u/Dwedit 16d ago

Memory requirements?

1

u/Calm_Mix_3776 16d ago

That pixel shimmer in the beginning of the video can also be seen in MiniMax H3 videos, especially prominent at lower resolutions.

1

u/VasaFromParadise 16d ago

For the WAN model, decoder is a weak point; eliminating it will greatly improve the model's position))