RefDecoder: Enhancing Visual Generation with Conditional Video Decoding
Abstract
Video generation powers a vast array of downstream applications. However, latent diffusion models, the de facto standard, typically employ heavily conditioned denoising networks while leaving their decoders unconditional. We observe that this architectural asymmetry leads to significant detail loss and inconsistencies with the input image. To address this limitation, we argue that conditioning should extend to the decoder to preserve structural integrity. We introduce RefDecoder, a reference-conditioned video VAE decoder that injects high-fidelity reference image information directly into the decoding process through reference attention. Specifically, a lightweight image encoder maps the reference frame into detail-rich, high-dimensional tokens, which are jointly processed with denoised video latent tokens at each decoder upsampling stage. We demonstrate consistent improvements across distinct decoder backbones, including Wan 2.1 and VideoVAE+, achieving PSNR gains of up to 2.1 dB over unconditional baselines on the Inter4K, WebVid, and Large Motion reconstruction benchmarks. Notably, RefDecoder can be directly integrated into existing video generation systems without additional fine-tuning, yielding improvements in subject consistency, background consistency, and overall quality on the VBench I2V benchmark. Beyond image-to-video generation, RefDecoder generalizes to a broad range of visual generation tasks, including style transfer and video editing refinement.