Temporal-Consistent Video Restoration with Pre-trained Diffusion Models

Hengkang Wang, Yang Liu, Huidong Liu, Chien-Chih Wang, Yanhui Guo, Hongdong Li, Bryan Wang, Ju Sun

Abstract

Video restoration (VR) aims to recover high-quality videos from degraded ones. Although recent zero-shot VR methods using pre-trained diffusion models (DMs) show good promise, they suffer from approximation errors during reverse diffusion and insufficient temporal consistency. Moreover, dealing with 3D video data, VR is inherently computationally intensive. In this paper, we advocate viewing the reverse process in DMs as a function and present a novel Maximum a Posterior (MAP) framework that directly parameterizes video frames in the seed space of DMs, eliminating approximation errors. We also introduce strategies to promote bilevel temporal consistency: semantic consistency by leveraging clustering structures in the seed space, and pixel-level consistency by progressive warping with optical flow refinements. Extensive experiments on multiple virtual reality tasks demonstrate superior visual quality and temporal consistency achieved by our method compared to the state-of-the-art.

Introduction

Video Restoration (VR) is a critical task in computer vision, encompassing super-resolution, deblurring, and inpainting. The primary challenge lies in maintaining high spatial fidelity while ensuring temporal consistency across frames. Recent "zero-shot" approaches have leveraged pre-trained image Diffusion Models (DMs) to avoid the need for large-scale paired datasets. However, these methods typically face three major issues: accumulated approximation errors from interleaving restoration and diffusion steps, temporal inconsistency due to the lack of motion priors in image-based DMs, and high computational costs associated with processing 3D video volumes.

Methodology

We propose a novel framework that optimizes the restoration process within the "seed space" of the diffusion model, rather than the pixel space.

Seed Space Optimization

By treating the entire reverse diffusion process as a differentiable function $R$, we can optimize the initial noise seed $Z$ directly. This MAP-based approach ensures that the generated video frames align with the low-quality observations without the error accumulation seen in traditional step-wise methods.

Bilevel Temporal Consistency

To ensure smooth transitions between frames, we introduce a bilevel consistency strategy:

  • Semantic Consistency: We discovered that noise seeds for frames within a single video sequence naturally cluster in the latent space. We exploit this by representing seeds as a shared base component plus a low-rank per-frame residual.
  • Pixel-level Consistency: We utilize progressive warping with optical flow (via RAFT) to enforce alignment between consecutive frames at the pixel level.
Visualization of the clustering phenomenon in seed space, where frames from the same video sequence map to nearby points, facilitating semantic consistency.

Computational Efficiency

To address the intensive nature of video processing, we employ an optimized DDIM sampler with only 4 steps. Furthermore, we apply the Multivariate Mean Value Theorem (MVT) to simplify the backpropagation process, allowing for efficient updates of frame residuals without full-chain differentiation.

Experimental Evaluation

The method was benchmarked on the DAVIS and REDS datasets across various restoration tasks.

Qualitative comparison of the proposed method across four tasks: (a) Super-resolution, (b) Inpainting, (c) Temporal deconvolution, and (d) Combined deconvolution and deblurring.

Our framework achieved significant improvements over state-of-the-art zero-shot methods:

  • Quantitative Gains: We observed PSNR increases of 1–1.3dB in super-resolution and 6–8dB in complex deconvolution tasks.
  • Temporal Stability: Warping Error (WE) was reduced by up to 4.2 in complex tasks, indicating a substantial reduction in visual flickering.
  • Robustness: The approach proved effective against diverse degradations, including motion blur, where traditional mathematical priors often struggle.

Conclusion

This work demonstrates that parameterizing video restoration in the seed space of diffusion models effectively mitigates approximation errors and enhances temporal consistency. The discovery of seed-space clustering provides a powerful new prior for video-based generative tasks. Future research will focus on scaling this framework to longer sequences and integrating it with emerging video-native diffusion architectures.

Summary updated

BibTeX
@inproceedings{wang2026temporal,
  author = {Hengkang Wang and Yang Liu and Huidong Liu and Chien-Chih Wang and Yanhui Guo and Hongdong Li and Bryan Wang and Ju Sun},
  title = {{Temporal-Consistent Video Restoration with Pre-trained Diffusion Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i12.37943},
}
Figure