FlashDecoder: Real-Time Latent-to-Pixel Streaming Decoder with Transformers

Minguk Kang\(^{1,2}\) Suha Kwak\(^{2}\)
\(^{1}\)Pika Labs \(^{2}\)POSTECH


Abstract

Real-time video generation demands fast decoding as much as fast denoising, yet current latent video diffusion models rely on 3D convolutional decoders that are slow and memory-intensive at high resolutions or for long video. We introduce FlashDecoder, a fast, memory-efficient pure-Transformer video decoder that decodes latents to pixels frame by frame. At each step, the current frame attends only to a fixed-size window of past frames through a rolling KV cache. The fixed temporal window keeps decoding fast and memory bounded regardless of video length, enabling constant-latency streaming. Because frames are processed sequentially, temporal causality is enforced without explicit attention masks, enabling training at resolutions up to 1080p and matching the reconstruction quality of convolutional decoders. On the Wan2.1 and Wan2.2 latent spaces, FlashDecoder matches each convolutional decoder in reconstruction quality (e.g., 41.55 vs. dB PSNR at 1080p) while decoding \(3.6{\times}\)\(4.7{\times}\) faster with up to \(11{\times}\) less memory on a single H100 GPU. With architecture-aware inference optimizations, the speedup widens to \(12{\times}\).

Figure 1: VAE decoding is a major bottleneck for real-time video generation. Measured with our MotionStream [1] implementation at 720p. The Wan2.2 [2] decoder consumes 64.6% of total inference time, limiting generation to 10.4 FPS. FlashDecoder reduces this share to 16.4%, more than doubling end-to-end throughput to 24.8 FPS.

1 Introduction↩︎

Latent diffusion models [3] have become the dominant framework for image [4][6] and video generation [2], [7][10]. An encoder [11], [12] compresses pixels into a low-dimensional latent space where diffusion models [13][15] generate content, and a decoder then reconstructs the final output pixels. By operating in latent space rather than pixel space, this design reduces computational costs by orders of magnitude, enabling scaling to billions of parameters with Diffusion Transformers (DiT) [5], [16]. However, most progress has focused on accelerating the generation stage, while the decoder that maps latents back to pixels has remained largely convolutional and comparatively underexplored.

Originally, the main inference bottleneck was iterative denoising. Since then, more efficient architectures [8], [17][19], higher-compression VAEs [2], [20][23], and few-step distillation [24][32] have largely removed this bottleneck. But real-time streaming also requires causal frame-by-frame generation. Recent causal video generators [1], [33][37] are closing in on interactive frame rates. With latent generation nearing real-time speed, the bottleneck has shifted to the decoder: VAE decoding consumes over 64.6% of total inference time with the Wan2.2 decoder [2] at 720p (Figure 1).

Existing video decoders are predominantly 3D causal convolutional networks [2], [8], [38][41]. They reconstruct well but are slow and memory-intensive, making real-time streaming impractical. High-resolution decoding further requires spatial-temporal tiling, which multiplies decoder evaluations and latency. Transformer-based [42] decoders have been explored as alternatives, but face a trade-off between streaming and quality. Causal variants [43], [44] require explicit causal masks that prevent efficient FlashAttention [45] usage at high resolutions, limiting reconstruction fidelity. Bidirectional variants [46], [47] achieve better quality by attending across all frames, but cannot stream because each frame requires access to future frames.

The limitations of both convolutional and Transformer decoders suggest four desired properties for a real-time video decoder: (1) frame-by-frame decoding without padding or blending, (2) reconstruction quality competitive with convolutional decoders, (3) fast inference with consistent per-frame latency and bounded memory, and (4) high-resolution and long-duration decoding without spatial-temporal tiling. Transformers can in principle provide all four: sequential processing enables frame-by-frame decoding, self-attention captures spatial-temporal dependencies for high-quality reconstruction, and windowed attention bounds memory and computation per frame, ensuring consistent latency without tiling. However, no existing Transformer-based decoder satisfies all four properties.

We introduce FlashDecoder, a pure-Transformer latent-to-pixel decoder that satisfies all four properties. FlashDecoder processes one latent frame at a time with a fixed-size rolling KV cache. The fixed temporal window keeps per-frame computation and memory bounded regardless of video length, enabling constant-latency streaming without spatial-temporal tiling. Prior causal Transformer decoders train with explicit causal masks but switch to KV caching at inference. FlashDecoder instead uses the same temporal-order processing for both training and inference, removing the need for attention masks entirely. This makes high-resolution training feasible, matching the reconstruction quality of convolutional decoders. Evaluated on the Wan2.1 and Wan2.2 [2] latent spaces, FlashDecoder matches each convolutional decoder in reconstruction quality (e.g., 41.55 vs. PSNR at 1080p on Wan2.2) while providing \(3.6{\times}\)\(4.7{\times}\) higher throughput and up to \(11{\times}\) lower memory on a single H100 GPU. With architecture-aware inference optimizations, the throughput gap widens to up to \(12{\times}\).

Figure 2: Qualitative comparison of 720p reconstruction results. We compare reconstructed frames from video decoders with 4\times temporal and 16\times spatial compression: (a) Wan2.2-TAEHV [48], (b) AToken [47], (c) Wan2.2 [2], (d) our FlashDecoder-XL-Opt, and (e) ground truth. (a) fails to synthesize fine details such as wall textures, while (b) produces blurry reconstructions. (c) and (d) yield visually comparable outputs, yet (d) achieves over 9{\times} higher throughput (151.0 vs. FPS). Additional comparisons are provided in the supplementary material.

2 Related Work↩︎

2.1 Autoencoders for Visual Generation↩︎

Latent diffusion models [3] rely on learned autoencoders to compress inputs into a low-dimensional latent space. For images, autoencoders have evolved from Stable Diffusion VAE [3] to more efficient designs such as FLUX VAE [6] and DC-AE [20], improving compression ratios and reconstruction quality, with most designs primarily based on convolutions. For video, these spatial autoencoders have been extended to spatiotemporal variants that compress both spatial and temporal dimensions [2], [7], [8], [10], [22], [38][41], [46], [49], [50]. Dedicated video VAE works such as MagViT-v2 [51], CV-VAE [52], WF-VAE [53], VidTok [54], and VideoVAE+ [55] have further advanced reconstruction fidelity through improved architectures, loss formulations, and temporal modeling. Despite this progress, spatiotemporal decoding remains computationally expensive, particularly at high resolutions. Lightweight alternatives such as TurboVAED [56] and TAEHV [48] trade fidelity for speed, and all of the above video decoders remain convolutional.

A separate line of work has begun moving away from convolutional decoders entirely. Representation Autoencoders such as RAE [57], [58] and LV-RAE [59] pair frozen pretrained encoders (e.g., DINOv2 [60] and SigLIP 2 [61]) with Transformer decoders, achieving faster convergence and stronger generation quality than convolutional VAEs for image generation. This trend has yet to reach video, where a streaming-capable Transformer decoder would be needed.

2.2 Transformer-based Video Decoders↩︎

For video, Transformer-based decoders have been explored across discrete tokenization models [43], [62], hybrid discrete-continuous VAEs [44], [47], and fully continuous latent VAEs [46], [63]. These designs face a fundamental trade-off in how they handle temporal attention. Causal attention, as in OmniTokenizer [44], enables streaming through KV caching but requires explicit causal masks during training, making memory-efficient high-resolution training difficult and limiting reconstruction quality. Per-frame latency also grows as temporal context accumulates. Bidirectional attention, as in AToken [47] and the MAGI-1 VAE decoder [46], improves quality by attending across all frames but cannot support streaming decoding due to global temporal dependencies. FlashDecoder takes the causal approach but removes its key limitations: causality is enforced by processing order rather than masks, and a fixed-size window bounds memory regardless of video length, unifying training and inference under the same streaming mechanism.

3 Method↩︎

Figure 3: FlashDecoder pipeline. FlashDecoder is a pure-Transformer decoder that converts video latents to pixels in a frame-by-frame manner. Each latent frame \mathbf{z}_t is linearly projected, processed by a Transformer backbone with a fixed-size rolling KV cache that stores the most recent W_{\text{frm}} frames (temporal window size), temporally upsampled by factor r_{\text{t}} via channel expansion and refinement layers, and spatially upsampled via MLP and PixelShuffle. Shown here with W_{\text{frm}}{=}2 and r_{\text{t}}{=}4, streaming 3 latent frames into 9 output frames. (a) Attention pattern: each frame’s L_{\text{frm}}{=}H'{\times}W' spatial tokens attend bidirectionally to each other and causally to the previous W_{\text{frm}}{-}1 frames. \mathbf{z}_0 is decoded alone; \mathbf{z}_1 attends to [\mathbf{z}_0, \mathbf{z}_1]; \mathbf{z}_2 attends to [\mathbf{z}_1, \mathbf{z}_2] after evicting \mathbf{z}_0. (b) Streaming inference: each incoming latent frame \mathbf{z}_t is projected and processed through the Transformer with the rolling KV cache, then upsampled to pixel frames. The bounded cache ensures constant per-frame latency and memory regardless of video length.

Figure 3 illustrates the overall pipeline. We first describe the latent diffusion framework (Sec. 3.1), then detail the Transformer backbone (Sec. 3.2), the streaming mechanism with rolling KV cache (Sec. 3.3), the temporal-first upsampling strategy (Sec. 3.4), and training objectives (Sec. 3.5).

3.1 Preliminaries: Latent Diffusion Model↩︎

FlashDecoder operates within the Latent Diffusion Model (LDM) framework [3]. A pretrained encoder \(\mathcal{E}\) maps a video \(\mathbf{x}\in\mathbb{R}^{B\times C\times T\times H\times W}\) to a latent tensor \(\mathbf{z}=\mathcal{E}(\mathbf{x})\in\mathbb{R}^{B\times C'\times T'\times H'\times W'}\), where \((C', T', H', W')\) are the compressed channel, temporal, and spatial dimensions. The diffusion process operates on \(\mathbf{z}\), and a decoder \(\mathcal{D}\) reconstructs pixels via \(\hat{\mathbf{x}}=\mathcal{D}(\mathbf{z})\). FlashDecoder is agnostic to the choice of encoder; we train decoders on both the Wan2.1 and Wan2.2 [2] latent spaces and use Wan2.2 as the primary example throughout.

3.2 Transformer Backbone Design↩︎

3.2.0.1 Base Architecture.

The decoder is a Transformer [42] with stacked self-attention and feedforward layers. We use Grouped-Query Attention (GQA) [64], which shares key-value heads across query groups to reduce KV cache memory during streaming. For stable training, we apply RMSNorm [65] before each sublayer and normalize keys and values within attention (KV-norm) [66]. Spatiotemporal position is encoded with 3D Rotary Positional Embeddings (3D-RoPE) [67], applied separately to the temporal (\(T'\)) and spatial (\(H' \times W'\)) dimensions.

3.2.0.2 Latent Projection.

Each latent frame \(\mathbf{z}_t\) is flattened into \(L_{\text{frm}} = H'W'\) spatial tokens in raster order, and a linear layer maps the latent channels \(C'\) to model dimension \(D\): \[\mathbf{P}=\mathrm{Linear}_{C'\rightarrow D}(\mathbf{z})\in\mathbb{R}^{B\times L\times D}, \label{eq:projection}\tag{1}\] where \(L = T' \cdot L_{\text{frm}}\) is the total sequence length.

3.3 Streaming with Rolling KV Cache↩︎

FlashDecoder processes video latents one frame at a time while maintaining a sliding-window KV cache of fixed size \(W_{\text{frm}}\) frames. We set \(W_{\text{frm}}{=}2\) throughout, so each latent frame attends only to itself and the immediately preceding latent frame; the effect of this choice is ablated in Sec. 4.4. Because future frames have not yet been fed to the model, temporal causality is enforced by construction without explicit attention masks.

3.3.0.1 Frame-by-Frame Processing.

Given \(T'\) latent frames \(\{\mathbf{z}_0, \ldots, \mathbf{z}_{T'-1}\}\), we process them sequentially. At each timestep \(t\): (1) the latent frame \(\mathbf{z}_t\) is projected into \(L_{\text{frm}}\) tokens via Eq. 1 ; (2) new key-value pairs \((\mathbf{K}_{t}^{\text{new}}, \mathbf{V}_{t}^{\text{new}})\) are computed with 3D-RoPE at temporal offset \(t \cdot L_{\text{frm}}\), appended to the cache, and the oldest frame is evicted if the cache exceeds \(W_{\text{frm}}\) frames; (3) current queries \(\mathbf{Q}_{t}^{\text{new}}\) attend to the full cache. The resulting cache shape is: \[\mathbf{K}_{t},\mathbf{V}_{t} \in \mathbb{R}^{B\times G\times (W_{\text{frm}}L_{\text{frm}})\times D_h}, \label{eq:kv95cache}\tag{2}\] where \(G\) is the number of KV groups in GQA and \(D_h\) is the head dimension.

3.3.0.2 Attention Pattern.

The resulting pattern is a sliding window: within each frame, tokens attend to all \(L_{\text{frm}}\) spatial positions (bidirectional); along the temporal axis, attention is restricted to the most recent \(W_{\text{frm}}\) frames (causal).

3.3.0.3 Training–Inference Consistency.

A distinctive property of FlashDecoder is that training and inference follow an identical streaming protocol: the model never sees more than \(W_{\text{frm}}\) frames at once during either phase. Conventional approaches load all \(T'\) frames into a single forward pass, which requires a full-sequence causal mask that FlexAttention [68] must materialize, causing out-of-memory failures at 480p, 720p, and 1080p on an H100 80 GB GPU. FlashDecoder instead performs \(T'\) sequential forward passes, each attending to at most \(W_{\text{frm}} \cdot L_{\text{frm}}\) tokens with standard FlashAttention [45] at per-step memory cost \(O(W_{\text{frm}} \cdot L_{\text{frm}})\).

3.3.0.4 Complexity Analysis.

The attention cost per latent frame is \(\mathcal{O}(N W_{\text{frm}} L_{\text{frm}}^2 D_h)\), linear in the temporal window \(W_{\text{frm}}\) and head count \(N\), but quadratic in spatial tokens \(L_{\text{frm}}\). The KV cache memory per layer is \(\mathcal{O}(B\,G\,W_{\text{frm}}\,L_{\text{frm}}\,D_h)\), benefiting from GQA’s reduced group count (\(G \ll N\)). After temporal upsampling (Sec. 3.4), refinement layers operate on \(r_{\text{t}} \cdot L_{\text{frm}}\) tokens per frame with cache capacity \(r_{\text{t}} W_{\text{frm}} L_{\text{frm}}\), preserving the same scaling properties.

3.4 Temporal-First Upsampling Strategy↩︎

Progressive spatio-temporal upsampling is computationally prohibitive for Transformers. Spatial upsampling by factor \(r_{\text{s}}\) increases tokens per frame by \(r_{\text{s}}^2\), resulting in \(O(r_{\text{s}}^4)\) attention cost (\(65{,}536{\times}\) for \(r_{\text{s}}{=}16\)). Temporal upsampling by factor \(r_{\text{t}}\) incurs only \(O(r_{\text{t}}^2)\) cost (\(16{\times}\) for \(r_{\text{t}}{=}4\)), a \(4{,}096{\times}\) difference. We therefore adopt a temporal-first strategy: temporal upsampling via Transformer layers, followed by spatial upsampling via MLP and PixelShuffle [69].

3.4.0.1 Step 1: Temporal Upsampling.

Starting from the backbone output \(\mathbf{Y}\!\in\!\mathbb{R}^{B\times L\times D}\) (where \(L = T' H' W'\)), a linear layer expands channels by temporal factor \(r_{\text{t}}\): \[\mathbf{P}^{\text{temp}} = \mathrm{Linear}_{D \rightarrow D \cdot r_{\text{t}}}(\mathbf{Y}) \in \mathbb{R}^{B\times L\times (D \cdot r_{\text{t}})}. \label{eq:temporal95upsample}\tag{3}\] Reinterpreting expanded channels as new temporal indices yields \(\mathbf{P}^{\text{full}}\in\mathbb{R}^{B\times (T' r_{\text{t}} H' W')\times D}\).

3.4.0.2 Step 2: Temporal Refinement.

Two Transformer blocks process \(\mathbf{P}^{\text{full}}\) using the same streaming mechanism from Sec. 3.3, with expanded window size \(W_{\text{frm}}^{\text{full}} = r_{\text{t}}\cdot W_{\text{frm}}\) to preserve effective temporal context.

3.4.0.3 Step 3: Spatial Upsampling.

A 2-layer MLP projects features from \(D\) to \(C\cdot r_{\text{s}}^{2}\) channels, followed by PixelShuffle [69] to produce the final output \(\hat{\mathbf{x}}\in\!\mathbb{R}^{B\times C\times (T' r_{\text{t}})\times (H'r_{\text{s}})\times (W'r_{\text{s}})}\).

3.5 Training Objectives↩︎

The decoder \(\mathcal{D}\) is trained with a combination of pixel-wise, perceptual, and adversarial losses: \[\mathcal{L}_{\text{total}} = \lambda_{\text{L1}} \mathcal{L}_{\text{L1}} + \lambda_{\text{LPIPS}} \mathcal{L}_{\text{LPIPS}} + \lambda_{\text{adv}} \mathcal{L}_{\text{adv}}, \label{eq:loss}\tag{4}\] where \(\mathcal{L}_{\text{L1}}\) is the pixel-wise L1 loss between the reconstructed video \(\hat{\mathbf{x}}\) and ground truth \(\mathbf{x}\), \(\mathcal{L}_{\text{LPIPS}}\) [70] measures perceptual similarity in a pretrained feature space, and \(\mathcal{L}_{\text{adv}}\) [71] is computed using a 3D patch-based discriminator [72], [73]. L1 ensures pixel-level fidelity, LPIPS encourages perceptually realistic outputs, and the adversarial term produces sharp high-frequency details. Hyperparameter values are provided in the supplementary material. Algorithm 4 summarizes the full streaming pipeline.

Figure 4: Streaming Video Decoding from Latent

4 Experiments↩︎

Unless stated otherwise, all experiments use FlashDecoder trained on the Wan2.2 latent space (4\(\times\)​16\(\times\)​16). All training is conducted on a single node with 8 NVIDIA H100 GPUs.

Table 1: Component ablation.We incrementally add architectural and training components to a blockwise causal vanilla Transformer decoder.SW-CA: Sliding-Window Causal Attention;GQA: Grouped-Query Attention [64];TR: Temporal Refinement;SU: Spatial Upsampling;Scale-up: model scale-up from 56.8M to 769.3M parameters;Streaming: streaming training with a rolling KV cache;Adv: adversarial training.All evaluations are performed on 480p videos with 17 frames for efficient ablation.
Components PSNR\(\uparrow\) LPIPS\(\downarrow\) rFVD\(\downarrow\) FPS\(\uparrow\)
Baseline 30.30 0.16 117.77 331.4\(\rightarrow\)16.6
(a)+ SW-CA 30.20 0.15 136.08 333.8
(b)+ GQA 30.13 0.14 121.87 340.7
(c)+ TR 31.05 0.13 86.94 260.3
(d)+ SU 31.49 0.12 96.19 262.1
(e)+ Scale-up 32.56 0.09 44.74 166.0
(f)+ Streaming 37.52 0.05 12.29 166.0
(g)+ Adv 37.08 0.05 10.77 166.0

3pt

@lcccccccccccccccccc@ [-0.5ex]Method & [-0.5ex] & & & & &
(lr)3-7 (lr)9-13 (lr)15-19 & & PSNR & LPIPS & rFVD & FPS & Mem & & PSNR & LPIPS & rFVD & FPS & Mem & & PSNR & LPIPS & rFVD & FPS & Mem

OmniTokenizer\(^{*\dagger}\) [44] & 26.9 & 17.25 & 0.20 & 60.40 & 2333.6 & 0.3 & & – & – & – & – & – & & – & – & – & – & –
HunyuanVideo\(^{\dagger}\) [40] & 146.1 & 37.84 & 0.05 & 7.67 & 11.1 & 7.2 & & 38.65 & 0.05 & 10.25 & 4.8 & 7.3 & & 41.93 & 0.05 & 7.74 & 2.1 & 7.6
Wan2.1\(^{\dagger}\) [2] & 73.3 & 36.63 & 0.04 & 9.91 & 36.0 & 7.3 & & 37.43 & 0.04 & 12.43 & 15.9 & 16.4 & & 40.36 & 0.05 & 9.94 & 6.9 & 36.8
Wan2.1-TAEHV\(^{\dagger}\) [48] & 9.8 & 32.65 & 0.11 & 33.37 & 663.3 & 5.7 & & 33.43 & 0.11 & 35.52 & 309.8 & 13.1 & & 36.80 & 0.11 & 33.37 & 135.1 & 23.7
MAGI-1 [46] & 306.5 & 35.08 & 0.14 & 42.24 & 43.8 & 2.3 & & 34.82 & 0.15 & 46.23 & 9.3 & 3.8 & & 37.02 & 0.17 & 60.52 & 2.0 & 7.1
FlashDecoder-XL\(^{\dagger}\) & 750.4 & 35.92 & 0.05 & 11.62 & 162.3 & 1.8 & & 37.46 & 0.05 & 12.13 & 76.1 & 2.4 & & 40.74 & 0.05 & 13.34 & 25.9 & 3.6
FlashDecoder-XL-Opt\(^{\dagger}\) & 750.4 & 35.72 & 0.05 & 12.42 & 449.0 & 1.2 & & 37.17 & 0.05 & 14.02 & 152.0 & 1.5 & & 40.44 & 0.05 & 14.12 & 43.0 & 2.3

Wan2.2\(^{\dagger}\) [2] & 555.0 & 37.47 & 0.04 & 7.97 & 36.6 & 9.6 & & 38.29 & 0.04 & 10.39 & 16.1 & 19.3 & & 41.49 & 0.04 & 8.16 & 7.1 & 41.0
Wan2.2-TAEHV\(^{\dagger}\) [48] & 9.9 & 30.16 & 0.21 & 88.54 & 2329.5 & 1.4 & & 30.68 & 0.21 & 88.32 & 1177.6 & 3.3 & & 33.55 & 0.21 & 88.49 & 524.9 & 7.4
AToken [47] & 415.1 & 35.71 & 0.08 & 19.44 & 65.3 & 0.7 & & 36.72 & 0.09 & 22.91 & 28.1 & 1.5 & & 40.18 & 0.09 & 25.67 & 10.1 & 3.3
FlashDecoder-XL\(^{\dagger}\) & 769.3 & 37.08 & 0.05 & 10.77 & 166.0 & 1.9 & & 38.38 & 0.05 & 12.75 & 76.3 & 2.4 & & 41.55 & 0.05 & 12.08 & 25.4 & 3.7
FlashDecoder-XL-Opt\(^{\dagger}\) & 769.3 & 37.02 & 0.05 & 11.22 & 441.0 & 1.1 & & 37.85 & 0.05 & 12.22 & 151.0 & 1.3 & & 40.84 & 0.05 & 13.02 & 43.0 & 1.6

4.1 Datasets and Evaluation Protocol↩︎

4.1.0.1 Training Data.

FlashDecoder is trained on joint image–video data in three stages. We use DataComp-small [74] (12.8M image–text pairs) and video data from Kinetics-600 [75] and an internal collection, with a 2:8 image-to-video sampling ratio. Stage 1 trains at 224\(\times\)​224 for fast convergence. Stage 2 transitions to 480p, 720p, and 1080p. Stage 3 adds adversarial training. Full details are provided in the supplementary material.

4.1.0.2 Evaluation Data.

We evaluate on the UltraVideo [76] dataset (clips_short_1.zip split), which provides 1,145 high-quality videos at 4K+ resolution covering diverse content from static scenes to fast motion. Each video is first resized to 720\(\times\)​1280 using PIL bicubic interpolation [77], [78], then center-cropped to the target resolution (480p, 720p, or 1080p), and 25-frame clips are extracted. Unless stated otherwise, all evaluations use 25-frame clips. We re-evaluate all baselines using their official implementations and checkpoints on a single H100 GPU.

4.1.0.3 Evaluation Metrics.

We report PSNR for pixel-level fidelity, LPIPS [70] for perceptual quality, and Content-Debiased FVD (rCD-FVD) [79] for temporal realism. Standard FVD [80] is known to be biased toward per-frame spatial quality rather than temporal consistency; rCD-FVD removes this content bias, providing a more faithful measure of temporal coherence. We refer to rCD-FVD as rFVD for simplicity. Throughput (FPS) is measured as decoded frames per second, and Mem denotes peak GPU memory in GB during decoding. FlashDecoder uses streaming mode while other methods use their native inference modes.

4.2 Effectiveness of Each Component↩︎

Table 1 ablates each component using FlashDecoder-S (Table 4). We evaluate on 480p with 17-frame clips for fast iteration. The baseline is a vanilla Transformer with full block causal attention (no windowing). Components are added incrementally: rows (a)–(d) train for 100K iterations at 224\(\times\)​224; rows (e)–(g) add scale-up, streaming training at 480p/720p, and adversarial training, respectively.

4.2.0.1 Baseline and Streaming Efficiency.

The baseline’s KV cache grows linearly with video length, collapsing throughput from 331.4 to 16.6 FPS. We additionally compare Sliding-Window Causal Attention (SW-CA), a separate reference that restricts attention to a fixed window during training. SW-CA restores stable throughput (333.8 FPS) but still requires mask materialization, causing out-of-memory failures at 480p and 720p. Both SW-CA and GQA increase rFVD over the baseline, indicating that limiting temporal context without dedicated temporal modeling hurts temporal coherence.

4.2.0.2 Architectural Components.

Among the added components, Temporal Refinement (TR) yields the largest single gain (rFVD: 121.87\(\rightarrow\)​86.94), confirming that raw channel expansion alone produces temporally inconsistent frames that benefit from dedicated refinement. Spatial Upsampling (SU) improves pixel fidelity (PSNR, LPIPS) but slightly increases rFVD, suggesting a trade-off between spatial detail and temporal smoothness. Model scaling provides consistent improvements across all metrics.

4.2.0.3 Streaming Training and Adversarial Loss.

The most significant jump occurs when streaming training is introduced (row e\(\rightarrow\)f). Streaming training enables high-resolution fine-tuning at 480p and 720p, directly improving reconstruction quality by closing the domain gap between 224\(\times\)​224 pretraining and the evaluation resolution. Adversarial training (row f\(\rightarrow\)g) trades a small PSNR decrease (37.52\(\rightarrow\)​37.08) for sharper outputs (rFVD: 12.29\(\rightarrow\)​10.77), a well-known characteristic of GAN-based losses [71].

4.3 Video Reconstruction Results↩︎

Table ¿tbl:tab:video95benchmark? compares FlashDecoder against state-of-the-art video decoders on UltraVideo at 480p, 720p, and 1080p, grouped by compression ratio (T\(\times\)H\(\times\)W). We train separate FlashDecoder-XL models for each compression group: one on the Wan2.1 encoder latent space (4\(\times\)​8\(\times\)​8) and one on the Wan2.2 encoder latent space (4\(\times\)​16\(\times\)​16).

4.3.0.1 Convolution-based Models.

In the 4\(\times\)​16\(\times\)​16 group, FlashDecoder-XL closely matches Wan2.2 [2] in PSNR and LPIPS across all three resolutions while streaming \(3.6{\times}\)\(4.7{\times}\) faster with up to \(11{\times}\) lower peak memory. The memory gap is most pronounced at 1080p: 3.7 GB versus 41.0 GB. In the 4\(\times\)​8\(\times\)​8 group, FlashDecoder-XL achieves reconstruction quality comparable to Wan2.1, though it falls behind HunyuanVideo [40]. While rFVD is moderately higher than convolutional baselines in both groups, we note that these are production-level decoders likely trained with significantly more compute and data than our single-node setup. Visualizations are shown in Figure 2 and the supplementary material.

4.3.0.2 Transformer-based Decoders.

Existing Transformer decoders face a quality–streaming trade-off: OmniTokenizer [44] supports streaming but at low quality, while MAGI-1 [46] and AToken [47] achieve better quality through bidirectional attention but cannot stream and degrade in throughput with video length. FlashDecoder-XL resolves this by achieving higher reconstruction quality than both MAGI-1 and AToken while streaming at \(2.5{\times}\)\(13{\times}\) higher throughput, without padding or blending.

Table 2: Generalization across VAE latent spaces. FlashDecoder-XL trained on different encoder latent spaces, evaluated at 720p with 25 frames. Mem denotes peak GPU memory in GB. FlashDecoder generalizes across latent spaces with comparable quality while achieving \({\sim}5{\times}\) higher throughput and up to \(8{\times}\) lower peak memory.
Encoder Decoder PSNR\(\uparrow\) LPIPS\(\downarrow\) rFVD\(\downarrow\) FPS\(\uparrow\) Mem\(\downarrow\)
Wan2.1 Wan2.1 37.43 0.04 12.43 15.9 16.4
Wan2.1 FlashDecoder-XL 37.46 0.05 12.13 76.1 2.4
Wan2.2 Wan2.2 38.29 0.04 10.39 16.1 19.3
Wan2.2 FlashDecoder-XL 38.38 0.05 12.75 76.3 2.4

3pt

Table 3: Effect of window size \(W_{\text{frm}}\). Evaluated at 720p with 25 frames using FlashDecoder-XL. Mem denotes peak GPU memory in GB. Performance is stable across window sizes; \(W_{\text{frm}}{=}2\) provides a good trade-off between quality and memory.
\(W_{\text{frm}}\) PSNR\(\uparrow\) LPIPS\(\downarrow\) rFVD\(\downarrow\) FPS\(\uparrow\) Mem\(\downarrow\)
2 38.38 0.05 12.75 76.3 2.4
3 38.13 0.05 12.71 67.8 2.5
4 38.49 0.05 12.87 60.6 2.6

3pt

4.3.0.3 Generalization Across Latent Spaces.

FlashDecoder is not tied to a specific encoder. Table 2 shows results when training on the Wan2.1 latent space, which uses \(8{\times}\) spatial compression instead of \(16{\times}\). Because \(8{\times}\) compression produces \(2{\times}\) more spatial tokens per dimension (\(4{\times}\) total), we apply PixelUnshuffle with factor 2 to the latent, folding the extra spatial dimensions into channels. This yields the same spatial token count \(L_{\text{frm}}\) as the \(16{\times}\) setting, so the Transformer backbone operates with minimal architecture changes. FlashDecoder-XL achieves comparable quality to Wan2.1 (37.46 vs. PSNR at 720p) with \(4.8{\times}\) higher throughput and \(6.8{\times}\) lower memory.

4.3.0.4 Long Video Decoding.

Because the KV cache window is fixed, FlashDecoder maintains constant memory regardless of video length. We assign RoPE positions relative to the current window rather than the absolute frame index, so positional encodings always stay within the range seen during training, enabling theoretically infinite-length decoding. Figure 5 shows per-frame PSNR on 720p videos exceeding 400 frames. FlashDecoder-XL maintains stable reconstruction quality throughout. Wan2.2 also supports streaming but consumes significantly more memory per frame.

Figure 5: Per-frame PSNR on long videos at 720p. Averaged over 40 videos (>​400 frames each) from UltraVideo. FlashDecoder maintains stable quality with constant memory regardless of video length.
Table 4: Model scaling. FlashDecoder variants trained for 150K iterations at 224\(\times\)224 (Stage 1 only) and evaluated on UltraVideo at 480p with 17 frames for fast iteration. Numbers are not directly comparable to Table [tbl:tab:video95benchmark], which uses the full three-stage training. Mem denotes peak GPU memory in GB.
Model Depth Width (\(D\)) Heads (\(N\)) KV Groups (\(G\))
(M) PSNR\(\uparrow\) rFVD\(\downarrow\) FPS\(\uparrow\) Mem\(\downarrow\)
FlashDecoder-S 12 512 8 2 56.8 30.90 89.23 254.5 0.3
FlashDecoder-B 16 768 12 3 161.7 31.15 72.36 205.2 0.6
FlashDecoder-L 20 1024 16 4 348.0 32.13 63.81 164.3 1.0
FlashDecoder-XL 20 1536 24 3 769.3 33.81 31.00 166.0 1.9

3pt

4.4 Window Size Ablation↩︎

Table 3 ablates the window size \(W_{\text{frm}}\). Performance is stable across \(W_{\text{frm}} \in \{2, 3, 4\}\), with \(W_{\text{frm}}{=}2\) providing the best trade-off: similar quality to \(W_{\text{frm}}{=}4\) with lower memory (2.4 vs. GB) and higher throughput (76.3 vs. FPS). This suggests that for latent decoding, attending to just one previous latent frame provides sufficient temporal context.

4.5 Scaling Analysis↩︎

Table 4 shows four FlashDecoder variants trained at 224\(\times\)​224 for 150K iterations and evaluated at 480p. All variants share the same architecture (GQA Transformer blocks with temporal refinement and PixelShuffle spatial upsampling) and differ in width (\(D\)), depth, number of heads (\(N\)), and KV groups (\(G\)). FlashDecoder-XL, the largest variant, uses \(D{=}1536\) with 20 backbone blocks, 2 temporal refinement blocks, 24 attention heads, and 3 KV groups (full configuration in supplementary material). Reconstruction quality improves steadily with model size: PSNR rises from 30.90 to 33.81 and rFVD drops from 89.23 to 31.00. Throughput decreases with scale (254.5 \(\rightarrow\) 166.0 FPS), yet even FlashDecoder-XL comfortably maintains real-time streaming performance at all resolutions.

4.6 Inference Optimization↩︎

FlashDecoder’s streaming architecture is particularly amenable to inference optimization because each frame-level forward pass has a fixed, data-independent compute graph. We apply four progressive optimizations, each building on the previous: (1) torch.compile fuses elementwise operations (RMSNorm, SiLU, residual additions) into single GPU kernels, reducing memory bandwidth pressure; (2) CUDA graph capture eliminates per-step Python dispatch and kernel launch overhead by replaying the entire forward pass as a single graph; (3) precomputed RoPE tables and a FlashAttention-3 custom operator remove dynamic allocations and graph breaks that would otherwise prevent end-to-end graph capture; (4) static-calibrated FP8 quantization of all MLP layers exploits H100 FP8 Tensor Cores for higher matmul throughput. The first three optimizations are lossless. FP8 quantization incurs a quality trade-off: PSNR drops by 0.06–0.71 dB and rFVD increases by up to 0.94 depending on resolution (Table ¿tbl:tab:video95benchmark?). These optimizations are complementary and stack multiplicatively. The resulting FlashDecoder-XL-Opt (Table ¿tbl:tab:video95benchmark?) achieves up to \(12{\times}\) higher throughput than Wan2.2 at 480p while using under 2 GB peak memory on the 4\(\times\)​16\(\times\)​16 latent space.

5 Conclusion↩︎

We introduced FlashDecoder, a pure-Transformer latent-to-pixel decoder that achieves real-time streaming by processing one frame at a time with a fixed-size rolling KV cache. Two findings stand out from our experiments. First, enforcing causality through temporal processing order rather than explicit masks removes the memory barrier to high-resolution training, enabling stable training up to 1080p. Second, this high-resolution training closes the reconstruction quality gap with convolutional decoders, a gap that has limited prior Transformer decoders. On both the Wan2.1 and Wan2.2 latent spaces, FlashDecoder-XL matches convolutional decoder reconstruction quality while delivering \(3.6{\times}\)\(4.7{\times}\) faster streaming throughput and up to \(11{\times}\) lower GPU memory. With architecture-aware inference optimizations, the throughput gap widens to \(12{\times}\), enabling real-time high-resolution decoding on a single GPU. A natural next step is to pair FlashDecoder with a streaming Transformer encoder and train the full VAE from scratch, potentially unlocking latent spaces better suited to Transformer-based generation and decoding.

Acknowledgments↩︎

Minguk Kang is a participating researcher at POSTECH and a full-time employee at Pika Labs. We thank Joonghyuk Shin for helpful discussions and assistance with MotionStream experiments, and Zhicheng Sun and Cade Li for valuable discussions. This work was supported by Samsung Electronics Co., Ltd.(Samsung AI Center) and the IITP grants (RS-2022-II220290, RS-2022-II220926, RS-2019-II191906) funded by the Korea government (MSIT).

This supplementary material provides training specifications (Section 6), inference protocols (Section 7), additional visual results (Section 8), and limitations and future directions (Section 9).

6 Training Specifications↩︎

6.1 Dataset Details↩︎

Image Data. We utilize DataComp-small [74], comprising 12.8M image-text pairs. During preprocessing, we apply probabilistic augmentation that randomly selects among random cropping (40%), center cropping (30%), or resizing (30%) to the target resolution. Images smaller than the target resolution are filtered to prevent upsampling artifacts.

Video Data. Our video corpus combines Kinetics-600 [75] and an internal high-resolution collection of approximately 200K clips. From each video, we sample 17 consecutive frames at native frame rate. Preprocessing employs a two-stage spatial transformation: frames are first resized so that the shorter side matches the target resolution (480p, 720p, or 1080p depending on the training stage) while preserving the original aspect ratio, then cropped to the target resolution using either center crop (60%) or random crop (40%). Videos below the target resolution are filtered out. All resizing uses anti-aliased PIL bicubic interpolation [77], [78].

6.2 Multi-Stage Training Protocol↩︎

FlashDecoder follows a sequential three-stage training protocol, with each stage building upon the previous one. Training hyperparameters are summarized in Table 5.

Stage 1: Low-Resolution Pre-training. This stage establishes fundamental reconstruction capabilities at reduced computational cost. We train on 224\(\times\)​224\(\times\)​17 video clips and 256\(\times\)​256 images with a 2:8 image-to-video sampling ratio to balance temporal coherence with spatial fidelity. Training proceeds for 200K iterations with batch size 16. The reconstruction objective combines L1 loss and perceptual loss [70] with weights of 1.0 and 0.1, respectively.

Stage 2: High-Resolution Training. We transition to higher resolutions to minimize the domain gap between training and inference. The model is trained on 480p clips (480\(\times\)​832\(\times\)​17), 720p clips (720\(\times\)​1280\(\times\)​17), 1080p clips (1080\(\times\)​1920\(\times\)​17), and 512\(\times\)​512 images. This diverse resolution mixture enables the model to handle varying spatial resolutions during inference. We reduce the learning rate by 10\(\times\) and train for 100K iterations with batch size 8. Loss weights are adjusted to 1.0 for L1 and 0.25 for perceptual loss. The perceptual loss is computed on random 224\(\times\)​224 crops to keep memory manageable at high resolutions.

Stage 3: Adversarial Post-training. To enhance fine-grained details, we introduce adversarial training using the same data configuration as Stage 2 but excluding 1080p clips due to the additional memory overhead of the discriminator. This stage enables the decoder to synthesize sharper high-frequency textures that reconstruction losses alone cannot capture. We extend VQGAN’s 2D PatchGAN discriminator [72], [81] to 3D for spatiotemporal processing, and train it with non-saturating logistic loss [71] and R1 regularization [82]. Both the perceptual and adversarial losses are computed on random 224\(\times\)​224 crops of the decoded output.

7 Inference Protocols↩︎

For fair comparison, we re-evaluate all baseline models using their official repository implementations and released checkpoints under identical settings on a single NVIDIA H100 GPU (80GB).

7.1 Throughput Measurement↩︎

To ensure fair comparison, we evaluate each model in its officially supported inference mode. Wan2.2-TAEHV [48], Wan2.2 [2], and FlashDecoder natively support streaming and are evaluated accordingly. Other VAEs (HunyuanVideo, AToken, MAGI-1) process entire clips in batch mode using their official implementations, as forcing them into a streaming setup would require chunking and blending that degrades their reconstruction quality. Throughput is measured in frames per second (FPS), calculated as total decoded frames divided by total decoding time.

Table 5: Hyperparameters for FlashDecoder-XL training on the Wan2.2 latent space. We report the training configurations for each stage. Stage 1 focuses on low-resolution pre-training, Stage 2 transitions to high-resolution training, and Stage 3 introduces adversarial post-training. For additional technical details, please refer to the original papers: LPIPS [70], R1 regularization [82], AdamW optimizer [83], and 3D PatchGAN [72], [73]. DDP denotes Distributed Data Parallel.
1-4 Hyperparameters Stage 1 Stage 2 Stage 3
1-4
1-4 Latent channels (\(C'\)) 48 48 48
Model dimension (\(D\)) 1536 1536 1536
\(\#\) of Transformer blocks 20 20 20
\(\#\) of Temporal refinement Transformer blocks 2 2 2
Attention heads (\(N\)) 24 24 24
KV groups (\(G\)) 3 3 3
MLP expansion 4.0 4.0 4.0
Temporal compression (\(r_{\text{t}}\)) 4 4 4
Spatial compression (\(r_{\text{s}}\)) 16 16 16
Window size (\(W_{\text{frm}}\)) 2 2 2
1-4
1-4 Video resolution 224\(\times\)224\(\times\)17 480p / 720p / 1080p \(\times\)17 480p / 720p \(\times\)17
Image resolution 256\(\times\)256 512\(\times\)512 512\(\times\)512
Sampling ratio 8:2 (video:image) 2:4:2:2 (480p:720p:1080p:image) 2:6:2 (480p:720p:image)
1-4
1-4 L1 loss weight (\(\lambda_{\text{L1}}\)) 1.0 1.0 1.0
Perceptual loss weight (\(\lambda_{\text{LPIPS}}\)) 0.1 0.25 0.25
Adversarial loss type - - Logistic
Adversarial loss weight (\(\lambda_{\text{adv}}\)) - - 1e-4
R1 regularization weight - - 0.1024
R1 interval - - 16
1-4
1-4 Optimizer AdamW AdamW AdamW
Batch size 16 8 8
Learning rate 1e-4 1e-5 1e-5
AdamW \(\beta_{1}\) 0.9 0.9 0.9
AdamW \(\beta_{2}\) 0.999 0.999 0.999
Weight decay 0.01 0.01 0.01
EMA - - 0.9999
EMA warmup step - - 2000
Precision bfloat16 bfloat16 bfloat16
1-4
1-4 Architecture - - 3D PatchGAN
\(\#\) of conv layers - - 5
Base channels - - 128
Learning rate - - 1e-5
AdamW \(\beta_{1}\) - - 0.0
AdamW \(\beta_{2}\) - - 0.9
Weight decay - - 0.01
Precision bfloat16 bfloat16 bfloat16
1-4
1-4 Training iterations 200K 100K 20K
Distributed training DDP DDP DDP
GPU type H100 80GB H100 80GB H100 80GB
\(\#\) GPUs 8 8 8
1-4

8 More Visual Results↩︎

Figures 68 show additional 720p reconstruction results from Wan2.2-TAEHV [48], AToken [47], Wan2.2 [2], and FlashDecoder-XL-Opt. Wan2.2-TAEHV struggles with fine details; AToken produces smoother but blurrier outputs. Both Wan2.2 and FlashDecoder-XL-Opt produce sharp results, with Wan2.2 showing slightly finer details in some cases. FlashDecoder-XL-Opt achieves over \(9{\times}\) higher throughput (151.0 vs. FPS).

9 Limitations and Future Directions↩︎

Decoder-only design. FlashDecoder replaces only the decoder while keeping the pretrained convolutional encoder fixed. The latent space therefore inherits the encoder’s characteristics, which favor spatial locality by design; what properties a Transformer-based encoder–decoder pair would learn remains unexplored. Designing a streaming Transformer encoder to pair with FlashDecoder and training the full VAE from scratch is a clear next step. Such an encoder–decoder pair would also eliminate the resolution gap between low-resolution VAE training (\(256{\times}256\)) and high-resolution diffusion training (720p, 1080p), since our streaming architecture scales to high resolutions. This is particularly relevant for recent end-to-end frameworks such as Unified Latents [84], which jointly train the VAE and diffusion model. Existing convolutional video VAEs are difficult to jointly train with a diffusion model at 480p or 720p due to their high memory consumption. FlashDecoder’s low memory footprint makes such joint training feasible. Training the VAE and diffusion model at the same resolution used during inference would ensure that the latent space has good diffusibility at that resolution, avoiding potential mismatches caused by training at a lower resolution.

rFVD gap. FlashDecoder-XL falls short of Wan2.2 [2] and HunyuanVideo [40] in rFVD [79], [80], despite comparable PSNR and LPIPS. We trained on a single 8-GPU node, whereas these production decoders likely used significantly more compute and data. Scaling up model capacity and adversarial training duration is expected to close this gap.

Integration with Representation Autoencoders. Recent work on Representation Autoencoders (RAE [57]) pairs frozen pretrained encoders (e.g., DINOv2 [60], SigLIP [61]) with Transformer decoders for image generation. Extending this paradigm to video with a streaming-capable decoder like FlashDecoder is a promising direction.

Figure 6: Qualitative comparison of 720p reconstruction results. We compare reconstructed frames from video decoders with 4\times temporal and 16\times spatial compression: (a) Wan2.2-TAEHV [48], (b) AToken [47], (c) Wan2.2 [2], (d) our FlashDecoder-XL-Opt, and (e) ground truth. (a) and (b) produce blurry reconstructions, while (c) and (d) yield visually comparable outputs, yet (d) achieves over 9{\times} higher throughput.
Figure 7: Qualitative comparison of 720p reconstruction results. We compare reconstructed frames from video decoders with 4\times temporal and 16\times spatial compression: (a) Wan2.2-TAEHV [48], (b) AToken [47], (c) Wan2.2 [2], (d) our FlashDecoder-XL-Opt, and (e) ground truth. (a) fails to decode fine details such as tree branches and foliage, while (b) produces blurry reconstructions. (c) and (d) yield sharper results, yet (d) achieves over 9{\times} higher throughput.
Figure 8: Qualitative comparison of 720p reconstruction results. We compare reconstructed frames from video decoders with 4\times temporal and 16\times spatial compression: (a) Wan2.2-TAEHV [48], (b) AToken [47], (c) Wan2.2 [2], (d) our FlashDecoder-XL-Opt, and (e) ground truth. (a) struggles to decode wall textures near the flowerpot, while (b) produces blurry details in the flowerpot region. (c) and (d) yield visually comparable outputs, with (c) appearing to synthesize marginally finer details, particularly around the flower petals. (d) achieves over 9{\times} higher throughput.

References↩︎

[1]
Joonghyuk Shin, Zhengqi Li, Richard Zhang, Jun-Yan Zhu, Jaesik Park, Eli Schechtman, and Xun Huang. Motionstream: Real-time video generation with interactive motion controls. arXiv preprint arXiv:2511.01266, 2025.
[2]
Team Wan, Ang Wang, Baole Ai, Bin Wen, Chaojie Mao, Chen-Wei Xie, Di Chen, Feiwu Yu, Haiming Zhao, Jianxiao Yang, Jianyuan Zeng, Jiayu Wang, Jingfeng Zhang, Jingren Zhou, Jinkai Wang, Jixuan Chen, Kai Zhu, Kang Zhao, Keyu Yan, Lianghua Huang, Mengyang Feng, Ningyi Zhang, Pandeng Li, Pingyu Wu, Ruihang Chu, Ruili Feng, Shiwei Zhang, Siyang Sun, Tao Fang, Tianxing Wang, Tianyi Gui, Tingyu Weng, Tong Shen, Wei Lin, Wei Wang, Wei Wang, Wenmeng Zhou, Wente Wang, Wenting Shen, Wenyuan Yu, Xianzhong Shi, Xiaoming Huang, Xin Xu, Yan Kou, Yangyu Lv, Yifei Li, Yijing Liu, Yiming Wang, Yingya Zhang, Yitong Huang, Yong Li, You Wu, Yu Liu, Yulin Pan, Yun Zheng, Yuntao Hong, Yupeng Shi, Yutong Feng, Zeyinzi Jiang, Zhen Han, Zhi-Fan Wu, and Ziyu Liu. Wan: Open and advanced large-scale video generative models. arXiv preprint arXiv:2503.20314, 2025.
[3]
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2022.
[4]
Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 2022.
[5]
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. Scaling rectified flow transformers for high-resolution image synthesis. In International Conference on Machine Learning (ICML), 2024.
[6]
Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Diagne, Tim Dockhorn, Jack English, Zion English, Patrick Esser, et al. Flux. 1 kontext: Flow matching for in-context image generation and editing in latent space. arXiv preprint arXiv:2506.15742, 2025.
[7]
OpenAI. Video generation models as world simulators. https://openai.com/research/video-generation-models-as-world-simulators, 2024.
[8]
Yu Gao, Haoyuan Guo, Tuyen Hoang, Weilin Huang, Lu Jiang, Fangyuan Kong, Huixia Li, Jiashi Li, Liang Li, Xiaojie Li, et al. Seedance 1.0: Exploring the boundaries of video generation models. arXiv preprint arXiv:2506.09113, 2025.
[9]
DeepMind. Veo: a text-to-video generation system. https://storage.googleapis.com/deepmind-media/veo/Veo-3-Tech-Report.pdf, 2024.
[10]
LTX Studio. Ltx-2: The complete ai creative engine for video production. https://ltx.studio/blog/ltx-2-the-complete-ai-creative-engine-for-video-production, 2025.
[11]
Geoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. science, 2006.
[12]
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
[13]
Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Conference on Neural Information Processing Systems (NeurIPS), 2020.
[14]
Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020.
[15]
Alex Nichol and Prafulla Dhariwal. . In International Conference on Machine Learning (ICML), 2021.
[16]
William Peebles and Saining Xie. Scalable diffusion models with transformers. In IEEE International Conference on Computer Vision (ICCV), 2023.
[17]
Jingfeng Yao, Cheng Wang, Wenyu Liu, and Xinggang Wang. Fasterdit: Towards faster diffusion transformers training without architecture modification. In Conference on Neural Information Processing Systems (NeurIPS), 2024.
[18]
Lianghui Zhu, Zilong Huang, Bencheng Liao, Jun Hao Liew, Hanshu Yan, Jiashi Feng, and Xinggang Wang. Dig: Scalable and efficient diffusion models with gated linear attention. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2025.
[19]
Enze Xie, Junsong Chen, Junyu Chen, Han Cai, Haotian Tang, Yujun Lin, Zhekai Zhang, Muyang Li, Ligeng Zhu, Yao Lu, et al. Sana: Efficient high-resolution image synthesis with linear diffusion transformers. arXiv preprint arXiv:2410.10629, 2024.
[20]
Junyu Chen, Han Cai, Junsong Chen, Enze Xie, Shang Yang, Haotian Tang, Muyang Li, and Song Han. Deep compression autoencoder for efficient high-resolution diffusion models. In International Conference on Learning Representations (ICLR), 2025.
[21]
Yoav HaCohen, Nisan Chiprut, Benny Brazowski, Daniel Shalem, Dudu Moshe, Eitan Richardson, Eran Levin, Guy Shiran, Nir Zabari, Ori Gordon, et al. Ltx-video: Realtime video latent diffusion. arXiv preprint arXiv:2501.00103, 2024.
[22]
Niket Agarwal, Arslan Ali, Maciej Bala, Yogesh Balaji, Erik Barker, Tiffany Cai, Prithvijit Chattopadhyay, Yongxin Chen, Yin Cui, Yifan Ding, et al. . arXiv preprint arXiv:2501.03575, 2025.
[23]
Jingfeng Yao, Bin Yang, and Xinggang Wang. Reconstruction vs. generation: Taming optimization dilemma in latent diffusion models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2025.
[24]
Tim Salimans and Jonathan Ho. . In International Conference on Learning Representations (ICLR), 2022.
[25]
Chenlin Meng, Robin Rombach, Ruiqi Gao, Diederik Kingma, Stefano Ermon, Jonathan Ho, and Tim Salimans. On distillation of guided diffusion models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2023.
[26]
Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. . In International Conference on Machine Learning (ICML), 2023.
[27]
Dongjun Kim, Chieh-Hsin Lai, Wei-Hsiang Liao, Naoki Murata, Yuhta Takida, Toshimitsu Uesaka, Yutong He, Yuki Mitsufuji, and Stefano Ermon. Consistency trajectory models: Learning probability flow ode trajectory of diffusion. arXiv preprint arXiv:2310.02279, 2023.
[28]
Minguk Kang, Richard Zhang, Connelly Barnes, Sylvain Paris, Suha Kwak, Jaesik Park, Eli Shechtman, Jun-Yan Zhu, and Taesung Park. Distilling diffusion models into conditional gans. In European Conference on Computer Vision (ECCV), 2024.
[29]
Axel Sauer, Frederic Boesel, Tim Dockhorn, Andreas Blattmann, Patrick Esser, and Robin Rombach. Fast high-resolution image synthesis with latent adversarial diffusion distillation. In SIGGRAPH Asia 2024 Conference Papers, 2024.
[30]
Tianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang, Eli Shechtman, Fredo Durand, and Bill Freeman. Improved distribution matching distillation for fast image synthesis. In Conference on Neural Information Processing Systems (NeurIPS), 2024.
[31]
Junsong Chen, Shuchen Xue, Yuyang Zhao, Jincheng Yu, Sayak Paul, Junyu Chen, Han Cai, Song Han, and Enze Xie. Sana-sprint: One-step diffusion with continuous-time consistency distillation. arXiv preprint arXiv:2503.09641, 2025.
[32]
Shanchuan Lin, Xin Xia, Yuxi Ren, Ceyuan Yang, Xuefeng Xiao, and Lu Jiang. Diffusion adversarial post-training for one-step video generation. In International Conference on Machine Learning (ICML), 2025.
[33]
Tianwei Yin, Qiang Zhang, Richard Zhang, William T Freeman, Fredo Durand, Eli Shechtman, and Xun Huang. From slow bidirectional to fast autoregressive video diffusion models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2025.
[34]
Xun Huang, Zhengqi Li, Guande He, Mingyuan Zhou, and Eli Shechtman. Self forcing: Bridging the train-test gap in autoregressive video diffusion. arXiv preprint arXiv:2506.08009, 2025.
[35]
Shanchuan Lin, Ceyuan Yang, Hao He, Jianwen Jiang, Yuxi Ren, Xin Xia, Yang Zhao, Xuefeng Xiao, and Lu Jiang. Autoregressive adversarial post-training for real-time interactive video generation. arXiv preprint arXiv:2506.09350, 2025.
[36]
Krea Team. Krea realtime 14b: Real-time, long-form ai video generation. Blog post, Krea AI, 2025.
[37]
Kunhao Liu, Wenbo Hu, Jiale Xu, Ying Shan, and Shijian Lu. Rolling forcing: Autoregressive long video diffusion in real time. arXiv preprint arXiv:2509.25161, 2025.
[38]
Bin Lin, Yunyang Ge, Xinhua Cheng, Zongjian Li, Bin Zhu, Shaodong Wang, Xianyi He, Yang Ye, Shenghai Yuan, Liuhan Chen, et al. Open-sora plan: Open-source large video generation model. arXiv preprint arXiv:2412.00131, 2024.
[39]
Zhuoyi Yang, Jiayan Teng, Wendi Zheng, Ming Ding, Shiyu Huang, Jiazheng Xu, Yuanming Yang, Wenyi Hong, Xiaohan Zhang, Guanyu Feng, Da Yin, Yuxuan.Zhang, Weihan Wang, Yean Cheng, Bin Xu, Xiaotao Gu, Yuxiao Dong, and Jie Tang. Cogvideox: Text-to-video diffusion models with an expert transformer. In International Conference on Learning Representations (ICLR), 2025.
[40]
Weijie Kong, Qi Tian, Zijian Zhang, Rox Min, Zuozhuo Dai, Jin Zhou, Jiangfeng Xiong, Xin Li, Bo Wu, Jianwei Zhang, et al. Hunyuanvideo: A systematic framework for large video generative models. arXiv preprint arXiv:2412.03603, 2024.
[41]
Yifu Zhang, Hao Yang, Yuqi Zhang, Yifei Hu, Fengda Zhu, Chuang Lin, Xiaofeng Mei, Yi Jiang, Bingyue Peng, and Zehuan Yuan. Waver: Wave your way to lifelike video generation. arXiv preprint arXiv:2508.15761, 2025.
[42]
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. . In Conference on Neural Information Processing Systems (NeurIPS), 2017.
[43]
Ruben Villegas, Mohammad Babaeizadeh, Pieter-Jan Kindermans, Hernan Moraldo, Han Zhang, Mohammad Taghi Saffar, Santiago Castro, Julius Kunze, and Dumitru Erhan. Phenaki: Variable length video generation from open domain textual descriptions. In International Conference on Learning Representations (ICLR), 2023.
[44]
Junke Wang, Yi Jiang, Zehuan Yuan, Bingyue Peng, Zuxuan Wu, and Yu-Gang Jiang. Omnitokenizer: A joint image-video tokenizer for visual generation. In Conference on Neural Information Processing Systems (NeurIPS), 2024.
[45]
Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. FlashAttention: Fast and memory-efficient exact attention with IO-awareness. In Conference on Neural Information Processing Systems (NeurIPS), 2022.
[46]
Hansi Teng, Hongyu Jia, Lei Sun, Lingzhi Li, Maolin Li, Mingqiu Tang, Shuai Han, Tianning Zhang, WQ Zhang, Weifeng Luo, et al. Magi-1: Autoregressive video generation at scale. arXiv preprint arXiv:2505.13211, 2025.
[47]
Jiasen Lu, Liangchen Song, Mingze Xu, Byeongjoo Ahn, Yanjun Wang, Chen Chen, Afshin Dehghan, and Yinfei Yang. Atoken: A unified tokenizer for vision. arXiv preprint arXiv:2509.14476, 2025.
[48]
Ollin Boer Bohan. Taehv: Tiny autoencoder for hunyuan video. https://github.com/madebyollin/taehv, 2025.
[49]
Zangwei Zheng, Xiangyu Peng, Tianji Yang, Chenhui Shen, Shenggui Li, Hongxin Liu, Yukun Zhou, Tianyi Li, and Yang You. Open-sora: Democratizing efficient video production for all. arXiv preprint arXiv:2412.20404, 2024.
[50]
Genmo Team. Mochi 1. https://github.com/genmoai/models, 2024.
[51]
Lijun Yu, Jose Lezama, Nitesh Bharadwaj Gundavarapu, Luca Versari, Kihyuk Sohn, David Minnen, Yong Cheng, Agrim Gupta, Xiuye Gu, Alexander G Hauptmann, Boqing Gong, Ming-Hsuan Yang, Irfan Essa, David A Ross, and Lu Jiang. Language model beats diffusion - tokenizer is key to visual generation. In International Conference on Learning Representations (ICLR), 2024.
[52]
Sijie Zhao, Yong Zhang, Xiaodong Cun, Shaoshu Yang, Muyao Niu, Xiaoyu Li, Wenbo Hu, and Ying Shan. Cv-vae: A compatible video vae for latent generative video models. In Conference on Neural Information Processing Systems (NeurIPS), 2024.
[53]
Zongjian Li, Bin Lin, Yang Ye, Liuhan Chen, Xinhua Cheng, Shenghai Yuan, and Li Yuan. Wf-vae: Enhancing video vae by wavelet-driven energy flow for latent video diffusion model. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2025.
[54]
Anni Tang, Tianyu He, Junliang Guo, Xinle Cheng, Li Song, and Jiang Bian. Vidtok: A versatile and open-source video tokenizer. arXiv preprint arXiv:2412.13061, 2024.
[55]
Yazhou Xing, Yang Fei, Yingqing He, Jingye Chen, Jiaxin Xie, Xiaowei Chi, and Qifeng Chen. Videovae+: Large motion video autoencoding with cross-modal video vae. In IEEE International Conference on Computer Vision (ICCV), 2025.
[56]
Ya Zou, Jingfeng Yao, Siyuan Yu, Shuai Zhang, Wenyu Liu, and Xinggang Wang. Turbo-vaed: Fast and stable transfer of video-vaes to mobile devices. arXiv preprint arXiv:2508.09136, 2025.
[57]
Boyang Zheng, Nanye Ma, Shengbang Tong, and Saining Xie. Diffusion transformers with representation autoencoders. In International Conference on Learning Representations (ICLR), 2026.
[58]
Shengbang Tong, Boyang Zheng, Ziteng Wang, Bingda Tang, Nanye Ma, Ellis Brown, Jihan Yang, Rob Fergus, Yann LeCun, and Saining Xie. Scaling text-to-image diffusion transformers with representation autoencoders. arXiv preprint arXiv:2601.16208, 2026.
[59]
Siyu Liu, Chujie Qin, Hubery Yin, Qixin Yan, Zheng-Peng Duan, Chen Li, Jing Lyu, Chun-Le Guo, and Chongyi Li. Improving reconstruction of representation autoencoder. arXiv preprint arXiv:2602.08620, 2026.
[60]
Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023.
[61]
Michael Tschannen, Alexey Gritsenko, Xiao Wang, Muhammad Ferjad Naeem, Ibrahim Alabdulmohsin, Nikhil Parthasarathy, Talfan Evans, Lucas Beyer, Ye Xia, Basil Mustafa, et al. Siglip 2: Multilingual vision-language encoders with improved semantic understanding, localization, and dense features. arXiv preprint arXiv:2502.14786, 2025.
[62]
Jiahui Yu, Xin Li, Jing Yu Koh, Han Zhang, Ruoming Pang, James Qin, Alexander Ku, Yuanzhong Xu, Jason Baldridge, and Yonghui Wu. Vector-quantized image modeling with improved VQGAN. In International Conference on Learning Representations (ICLR), 2022.
[63]
Philippe Hansen-Estruch, David Yan, Ching-Yao Chuang, Orr Zohar, Jialiang Wang, Tingbo Hou, Tao Xu, Sriram Vishwanath, Peter Vajda, and Xinlei Chen. Learnings from scaling visual tokenizers for reconstruction and generation. In International Conference on Machine Learning (ICML), 2025.
[64]
Joshua Ainslie, James Lee-Thorp, Michiel De Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. Gqa: Training generalized multi-query transformer models from multi-head checkpoints. arXiv preprint arXiv:2305.13245, 2023.
[65]
Biao Zhang and Rico Sennrich. Root mean square layer normalization. In Conference on Neural Information Processing Systems (NeurIPS), 2019.
[66]
Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, et al. Gemma: Open models based on gemini research and technology. arXiv preprint arXiv:2403.08295, 2024.
[67]
Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing, 2024.
[68]
Junyan Li, Delin Chen, Tianle Cai, Peihao Chen, Yining Hong, Zhenfang Chen, Yikang Shen, and Chuang Gan. Flexattention for efficient high-resolution vision-language models. In European Conference on Computer Vision (ECCV), 2024.
[69]
Wenzhe Shi, Jose Caballero, Ferenc Huszár, Johannes Totz, Andrew P Aitken, Rob Bishop, Daniel Rueckert, and Zehan Wang. Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
[70]
Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. . In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
[71]
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. . In Conference on Neural Information Processing Systems (NeurIPS), 2014.
[72]
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
[73]
Patrick Esser, Robin Rombach, and Bjorn Ommer. . In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2021.
[74]
Samir Yitzhak Gadre, Gabriel Ilharco, Alex Fang, Jonathan Hayase, Georgios Smyrnis, Thao Nguyen, Ryan Marten, Mitchell Wortsman, Dhruba Ghosh, Jieyu Zhang, et al. Datacomp: In search of the next generation of multimodal datasets. In Conference on Neural Information Processing Systems (NeurIPS), 2023.
[75]
Joao Carreira, Eric Noland, Andras Banki-Horvath, Chloe Hillier, and Andrew Zisserman. A short note about kinetics-600. arXiv preprint arXiv:1808.01340, 2018.
[76]
Zhucun Xue, Jiangning Zhang, Teng Hu, Haoyang He, Yinan Chen, Yuxuan Cai, Yabiao Wang, Chengjie Wang, Yong Liu, Xiangtai Li, and Dacheng Tao. Ultravideo: High-quality uhd video dataset with comprehensive captions. arXiv preprint arXiv:2506.13691, 2025.
[77]
P Umesh. Image processing in python. CSI Communications, 23 (2), 2012.
[78]
R. Keys. . IEEE Transactions on Acoustics, Speech, and Signal Processing, 1981.
[79]
Songwei Ge, Aniruddha Mahapatra, Gaurav Parmar, Jun-Yan Zhu, and Jia-Bin Huang. On the content bias in fréchet video distance. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
[80]
Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphaël Marinier, Marcin Michalski, and Sylvain Gelly. Fvd: A new metric for video generation. In DGS@ICLR, 2019.
[81]
Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. https://github.com/CompVis/taming-transformers, 2021.
[82]
Lars Mescheder, Sebastian Nowozin, and Andreas Geiger. In International Conference on Machine Learning (ICML), 2018.
[83]
Ilya Loshchilov and Frank Hutter. . In International Conference on Learning Representations (ICLR), 2019.
[84]
Jonathan Heek, Emiel Hoogeboom, Thomas Mensink, and Tim Salimans. Unified latents (ul): How to train your latents. arXiv preprint arXiv:2602.17270, 2026.