arXiv:2611.09069cs.CVNov 2026

Manuscript Offprint

arXiv:2611.09069

UniRGBA: Unifying RGB and Alpha in Pretrained Video Diffusion Models

Lei Xu, Zhuo Li, Yongyi Jin, Aoyu Wang

Abstract

Recent advances in video diffusion models have achieved remarkable photorealistic RGB synthesis, yet generating videos with a native alpha channel remains an open challenge. Existing approaches often rely on matting-style data and non-native RGBA designs, causing them to specialize in real-object scenes and to degrade severely on visual-effect content whose semi-transparency is spatially non-local and non-elliptical. We present UniRGBA, a unified framework whose key insight is that RGBA generation does not require a dedicated alpha encoder or complex latent-space restructuring—a minimal, targeted extension of the existing RGB pathway is sufficient. UniRGBA-VAE extends a causal video VAE to 4-channel RGBA via zero-initialized channel expansion, symmetric selective layer unfreezing (~5% trainable), and a six-term progressive reconstruction loss anchored by a KL reference loss that prevents latent drift, followed by a two-stage schedule that introduces a lightweight GAN objective. We then apply standard DoRA to the pretrained DiT, reusing the unified 4-channel latent without any alpha-specific architectural changes. On a visual-effect RGBA benchmark, UniRGBA substantially outperforms Wan-Alpha on RGBA reconstruction while preserving RGB fidelity. For generation, UniRGBA outperforms Wan-Alpha on RGBA text-to-video tasks and matches or surpasses the original pretrained Wan2.1 backbone on RGB-only metrics, demonstrating that native alpha support can be integrated without compromising the underlying RGB prior or the model's architectural versatility.

1 Introduction

Video generation has witnessed remarkable progress with the advent of large-scale diffusion-based models [8, 20, 9, 2, 21, 6, 24, 37]. Modern video diffusion transformers [16] built on powerful visual-language representations [18] have elevated generation quality dramatically. State-of-the-art systems such as Wan2.1 [24], CogVideoX [29], HunyuanVideo [12], and Seedance [5] can synthesize photorealistic videos from text or image prompts with stunning temporal coherence. However, virtually all existing video generation models operate exclusively in RGB space, producing fully opaque videos without transparency information.

Alpha channels are indispensable in professional video production workflows. Transparent video elements—such as particle effects, fire, smoke, glass reflections, animated stickers, and virtual gifts—must be composited onto arbitrary backgrounds in real time. Without native alpha, practitioners must resort to either generating RGB video followed by a separate video matting step [13, 14], or training specialized RGBA models from scratch, which forfeits the rich visual knowledge embedded in large-scale pretrained RGB models. While early efforts like LayerDiffuse [33] and Qwen-Image-Layer [30] tackle transparency in still images, recent works such as TransPixeler [26], Wan-Alpha [4],

Preprint.

AlphaVAE [28], and LayerFlow [10] have attempted to extend pretrained models to handle RGBA or layered generation. These pioneering works, however, exhibit two critical limitations.

First, they rely on matting-style data, leading to failure on visual-effect scenes. Existing generators are typically trained on datasets where alpha channels are extracted by segmenting solid real-world objects from RGB footage. Consequently, these models implicitly assume the foreground is an opaque, well-defined silhouette. They struggle on visual-effect scenes—such as fireworks, particles, flames, and smoke—which dominate real production use cases. In these scenes, semi-transparency is spatially non-local and continuous. Applying matting-biased models to such content frequently causes severe color bleeding and chromatic distortion.

Second, they employ non-native RGBA designs that impose heavy overhead and disrupt pretrained RGB priors. TransPixeler [26] appends a separate stream of alpha tokens along the temporal axis, effectively doubling the sequence length processed by the Diffusion Transformer (DiT). Wan-Alpha [4] attempts to learn shiftable RGB-A distributions via a bidirectional diffusion loss that restructures the Variational Autoencoder (VAE) latent space. It further injects a Gaussian ellipse mask into diffusion noise sampling for transparency guidance. This design enforces a strong object-centric prior—assuming transparency is roughly elliptical and localized—which fundamentally conflicts with the full-frame nature of visual effects. More importantly, restructuring the latent space misaligns it with the underlying pretrained RGB generator, causing catastrophic forgetting of the original RGB priors and making it difficult to integrate with existing RGB workflows.

Motivated by these limitations, we propose UniRGBA, a unified framework that supports RGBA natively—treating alpha simply as a fourth channel of the existing latent representation—through a minimal, targeted extension of the pretrained RGB generator. Our goal is to enable high-quality generation of complex visual-effect scenes without compromising the strong RGB fidelity the base model already possesses. Under this paradigm, our architectural intervention is concentrated almost entirely on the VAE, allowing the DiT backbone to remain structurally unchanged.

Specifically, we introduce UniRGBA-VAE, which directly extends the Wan2.1 3D causal VAE to 4-channel RGBA. Instead of shifting the latent distribution or adding auxiliary encoding pathways, we zero-initialize the newly added channel weights in the first and last convolutional layers. This provides a lossless warm start from the pretrained RGB VAE. By employing a symmetric layer unfreezing strategy, we fine-tune only the outermost 2+22 + 2 encoder/decoder layers ( ∼5%\sim 5\% of parameters), allowing the model to focus on alpha reconstruction while preserving deep RGB semantic representations.

To ensure the newly learned representations do not drift from the original RGB priors, we propose a KL-Anchored Progressive Training strategy. We introduce a KL reference loss ( Lkl_ref\mathcal{L}_{kl\_ref}) that softly anchors the fine-tuned posterior to the frozen original RGB posterior. The VAE is trained using a six-term progressive reconstruction objective under a two-stage schedule. The first stage focuses on stabilizing the joint RGB-A manifold, while the second stage adds a lightweight GAN loss to the composited outputs to sharpen fine-grained details typical of visual effects (e.g., thin smoke wisps and particle edges).

Because UniRGBA-VAE preserves the structure and distribution of the original latent space, we can perform Standard DoRA DiT Adaptation directly on the unified 4-channel latents. We insert standard, off-the-shelf DoRA modules into the pretrained Wan2.1 DiT without any alpha-specific architectural changes (e.g., no extra alpha tokens or shifted noise schedules). This design supports RGBA text-to-video generation directly and also admits an image-to-video (I2V) extension by injecting reference-image conditions in the same unified latent space; due to the lack of standardized RGBA I2V benchmarks and reproducible baselines, we leave I2V evaluation to qualitative supplementary visualizations.

Extensive evaluations on visual-effect RGBA data demonstrate the effectiveness of this minimal intervention. UniRGBA-VAE substantially outperforms Wan-Alpha on RGBA reconstruction while strictly preserving RGB fidelity. For generation, our full pipeline outperforms Wan-Alpha on RGBA text-to-video tasks, and on RGB-only generation, it achieves quality on par with—and on several metrics surpassing—the original pretrained Wan2.1 backbone. This confirms that native alpha support can be achieved efficiently without sacrificing pretrained RGB capabilities.

Our main contributions are summarized as follows:

  • We propose UniRGBA, a unified and minimal framework for native RGBA video generation. By treating alpha as a fourth channel and employing a KL-anchored progressive training strategy on the VAE, we preserve the pretrained RGB latent manifold to a large extent. This alignment enables RGBA Text-to-Video (T2V) generation using standard, off-the-shelf DoRA DiT adapters without requiring bespoke alpha architectures.

  • State-of-the-Art Reconstruction Performance: UniRGBA-VAE establishes a new state-of-the-art for RGBA video reconstruction on challenging visual-effect content. It substantially outperforms existing baselines like Wan-Alpha across both RGB and alpha metrics, delivering highly accurate transparency details without suffering from the severe color bleeding and chromatic drift caused by latent distribution shifting.

  • State-of-the-Art Generation Performance: Extensive evaluations demonstrate that our full pipeline significantly outperforms current RGBA generation baselines like Wan-Alpha on T2V tasks. More importantly, unlike prior methods that suffer from catastrophic forgetting, UniRGBA strictly preserves the backbone's original capabilities, achieving RGB-only generation quality on par with—and on several metrics surpassing—the original pretrained Wan2.1 model.

References (35)