TL;DR
InstantViR introduces a ground-truth-free framework that distills a slow, bidirectional video diffusion model into a fast, causal autoregressive solver for video restoration tasks. By eliminating iterative sampling and optimizing the latent space with an efficient VAE, it achieves over 100× speedups, delivering high-quality, temporally consistent video reconstruction at over 35 FPS.
What Problem Does This Paper Address?
Video inverse problems—such as inpainting missing pixels, removing blur, or performing super-resolution—are highly ill-posed because a single degraded video can map to many plausible clean videos. While diffusion models provide excellent priors for reconstructing natural videos, using them in real-time streaming scenarios (like AR/VR, telepresence, or live broadcasting) is notoriously difficult.
Existing approaches suffer from a stark trade-off:
- Image-native solvers process videos frame-by-frame and use ad-hoc temporal regularizers. This ignores complex spatiotemporal dynamics, leading to severe visual flicker and temporal inconsistency.
- Video-native solvers offer strong temporal priors but rely on hundreds of iterative posterior sampling steps. Furthermore, their Diffusion Transformer (DiT) backbones use non-causal bidirectional attention, meaning they require the entire video sequence (including future frames) upfront. This makes them far too slow and high-latency for live, streaming applications.
Methods
InstantViR bridges this gap by transforming a slow, iterative video diffusion prior into a fast, single-step causal solver through three core innovations:
- Amortized Inference via Prior-Driven Distillation: Instead of running a slow optimization process at test time, the authors distill a powerful bidirectional video diffusion model (the teacher, Wan2.1) into a single-step feed-forward network (the student). This distillation is entirely ground-truth-free; it trains the student using only degraded measurements, aligning its outputs with the teacher's prior while enforcing a physics-based data fidelity loss.
- Causal Autoregressive Architecture: To make the solver compatible with streaming, the bidirectional attention mechanism is replaced with a block-causal design. The video is processed in temporal blocks of $T$ frames. Within a block, tokens use intra-block bidirectional attention to capture local context. Across blocks, tokens use inter-block causal attention paired with standard key-value (KV) caching, ensuring the model never looks into the future.
- Teacher-Space Regularized LeanVAE: In one-step latent diffusion, the heavy VAE decoder often becomes the primary computational bottleneck. The authors swap the original VAE for an ultra-efficient alternative called LeanVAE. To resolve the latent distribution shift between the two different VAE spaces, they introduce a teacher-space regularization scheme that maps the new latent space back into the teacher's original latent space during training.
Datasets
- Training: The model is trained in a self-supervised manner on Open-Sora-v1.1 using 6,000 video clips. No text labels or paired clean/noisy data are required, as degradations are applied on-the-fly.
- Evaluation: Performance is validated on a held-out set of 500 Open-Sora videos and the standard REDS30 dataset, which is specifically used to test the model's zero-shot generalization capabilities on unseen video distributions.
Key Insights and Ideas
- Implicit Priors are Enough: You don't need massive paired datasets (e.g., millions of video pairs) to train a high-fidelity video restorer. A frozen teacher's score function combined with a known physical degradation operator provides a sufficient self-supervised signal for distillation.
- The VAE is a Hidden Bottleneck: Reducing diffusion to a single step shifts the computational bottleneck to the VAE decoder. However, simply swapping the VAE breaks the distilled prior due to latent distribution mismatch. Explicitly regularizing the new latent space back into the teacher's space is essential.
- Streaming-Friendly Diffusion: Causality and diffusion-level quality are not mutually exclusive. Breaking the sequence into localized bidirectional blocks with autoregressive historical caching allows for streaming deployment without sacrificing temporal coherence.
Key Results
- 100× Speedup: InstantViR runs at over 35 FPS on NVIDIA A100/A800 GPUs at $832 \times 480$ resolution, drastically outperforming sampling-based baselines like SVI which operate at less than 1 FPS.
- Superior Temporal Consistency: Across random inpainting, Gaussian deblurring, and 4× super-resolution, InstantViR achieves the lowest Fréchet Video Distance (FVD), demonstrating a significant reduction in temporal jitter and flicker compared to image-native baselines.
- Text-Guided Control: Because the underlying prior is text-conditional, the framework naturally supports language-guided restoration and editing. Users can provide prompts (e.g., "wear glasses" or "close eyes") to semantically control how masked or degraded areas are reconstructed.
Limitations and Future Work
The authors note that their ultra-fast variant utilizing LeanVAE (InstantViR$^\dagger$) slightly lags behind the version using the original heavy VAE in terms of raw reconstruction quality. This indicates that latent distribution shift remains a challenging hurdle.
To close this gap, future work will explore jointly fine-tuning the lightweight VAE alongside the solver. Additionally, the authors plan to scale the framework to larger unlabeled video corpora and adapt it to other real-time domains, such as medical video enhancement.
Summary updated