Spatial Degradation-Aware and Temporal Consistent Diffusion Model for Compressed Video Super-Resolution

Hongyu An, Xinfeng Zhang, Shijie Zhao, Li ZhangarXiv 2025 · DOI

Abstract

Compressed video super-resolution (VSR) is a critical task for enhancing real-world digital content, which often suffers from complex artifacts introduced by lossy codecs. This paper presents the Spatial Degradation-Aware and Temporal Consistent (SDATC) diffusion model, a framework designed to restore high-fidelity details while maintaining inter-frame coherence. By decoupling artifact removal from texture generation through a Distortion Control Module (DCM) and employing a Compression-Aware Prompt Module (CAPM), SDATC adapts to varying degradation levels. Furthermore, a Spatio-Temporal Attention Module (STAM) ensures temporal stability. Experimental results on standard benchmarks demonstrate that SDATC significantly outperforms existing generative and non-generative VSR methods in perceptual quality.

Introduction

Most existing Video Super-Resolution (VSR) research operates under the assumption of "clean" low-resolution inputs, typically generated via simple bicubic downsampling. However, real-world videos are almost universally subjected to compression (e.g., H.264/AVC) to facilitate storage and transmission. These compression processes introduce non-linear artifacts such as blocking, ringing, and blurring.

Standard VSR methods often struggle in these scenarios, frequently misinterpreting compression noise as genuine texture and inadvertently amplifying it. While generative models, particularly Diffusion Models, have shown immense promise in creating hyper-realistic textures, they face two significant hurdles in video applications: sensitivity to input noise—which can lead to hallucinated artifacts—and temporal inconsistency, resulting in distracting visual flicker. The SDATC framework addresses these challenges by treating the restoration process as a collaborative effort between a "cleaner" (distortion control) and a "painter" (diffusion-based generation).

Visual comparison of the proposed SDATC against general SR frames, highlighting the reduction in artifacts and preservation of detail.

Methodology

The SDATC framework builds upon the Latent Diffusion Model (LDM) architecture, specifically utilizing Stable Diffusion v2.1 as a backbone, and introduces three core innovations to handle the complexities of compressed video:

1. Distortion Control Module (DCM)

To prevent the diffusion process from amplifying existing artifacts, the DCM acts as a pre-processing stage. Utilizing a Residual Swin Transformer, this module performs initial restoration on the low-quality (LQ) frames. By cleaning the input before it enters the latent space of the diffusion model, the DCM ensures that the subsequent generative steps focus on detail enhancement rather than artifact propagation.

2. Compression-Aware Prompt Module (CAPM)

Unlike standard diffusion models that use static text prompts, SDATC employs the CAPM to extract dynamic "degradation features" directly from the video. This module provides the sampling process with context regarding the severity of the compression. This adaptive guidance allows the model to modulate its generative "creativity"—applying more conservative restoration to heavily degraded frames and more detailed synthesis to cleaner ones.

3. Spatio-Temporal Attention Module (STAM)

Temporal consistency is achieved by integrating 3D convolutions and temporal attention blocks into the VAE decoder. To ensure that generated details remain spatially consistent across time, the framework utilizes optical flow (via the RAFT architecture) to align features in the latent space during the denoising steps. This prevents the "flickering" common in frame-by-frame diffusion applications.

Evolution of the diffusion-based VSR architecture from standard image SR to the proposed spatio-temporal consistent model.

Experiments and Results

The model was rigorously evaluated on standard VSR benchmarks, including REDS, Vid4, and UDM10, with varying levels of x264 compression (CRF 15, 25, and 35) to simulate real-world conditions.

  • Perceptual Performance: SDATC consistently achieved superior scores in perceptual metrics such as LPIPS, FID, and NIQE. On the REDS4 dataset at high compression (CRF 35), it significantly outperformed other state-of-the-art diffusion models like StableSR and MGLD-VSR.
  • User Preference: In subjective testing, participants preferred SDATC’s results over 70% of the time, noting its superior structural rationality and the clarity of reconstructed text and fine textures.
  • Efficiency: While diffusion models are computationally intensive, SDATC demonstrated improved efficiency. It achieved an inference time of approximately 11.6 seconds for a 320x180 frame, a substantial improvement over the 50.1 seconds required by comparable models like StableSR.

Conclusion

SDATC represents a significant step forward in making diffusion-based VSR practical for real-world, compressed video. By combining explicit distortion control with adaptive, compression-aware generation and spatio-temporal alignment, the model achieves a high degree of perceptual realism without the temporal instability typical of generative video methods. While a trade-off remains between pixel-perfect fidelity (PSNR) and visual realism, SDATC provides a robust solution for high-quality video restoration in artifact-heavy environments.

Summary updated

BibTeX
@misc{an2025spatial,
  author = {Hongyu An and Xinfeng Zhang and Shijie Zhao and Li Zhang},
  title = {{Spatial Degradation-Aware and Temporal Consistent Diffusion Model for Compressed Video Super-Resolution}},
  year = {2025},
  eprint = {2502.07381},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.07381},
}
Figure