Learning Spatiotemporal Frequency-Transformer for Compressed Video Super-Resolution

Zhongwei Qiu, Huan Yang, Jianlong Fu, Dongmei Fu

Abstract

Video Super-Resolution (VSR) typically struggles with compressed sources, as standard algorithms often mistake compression artifacts for legitimate visual textures. This paper introduces FTVSR (Frequency-Transformer for Video Super-Resolution), a novel deep learning architecture that operates in the frequency domain. By utilizing a "divided attention" mechanism across space, time, and frequency, FTVSR effectively distinguishes between high-frequency artifacts and real image details. Experimental results demonstrate that FTVSR significantly outperforms existing state-of-the-art methods on heavily compressed video benchmarks.

Introduction

Most existing VSR algorithms are optimized for "clean," uncompressed video data. These models typically sharpen frames by aggregating textures from neighboring frames. However, real-world video—such as content from streaming platforms or surveillance systems—is almost always compressed using codecs like H.264.

Compression introduces blockiness and blurring artifacts that pose a significant challenge for VSR models. Standard pixel-domain approaches often amplify these artifacts, while traditional denoising methods tend to smear away the high-frequency details necessary for effective super-resolution. FTVSR addresses this by shifting the restoration process into the frequency domain, allowing the model to treat different spectral bands independently and preserve structural integrity.

Methodology

FTVSR employs a transformer-based architecture designed to process video data through three primary components:

  1. Frequency-based Tokenization: Instead of standard RGB patches, the model applies a Discrete Cosine Transform (DCT) to decompose images into spectral maps. This allows the network to process low-frequency structural information and high-frequency details in separate channels.
  2. Divided Spatiotemporal Frequency Attention (TSF): The core of the model is a divided attention scheme. It first applies Space-Frequency Attention to restore basic structure within a single frame, followed by Time-Frequency Attention to fuse details from neighboring frames. This sequence ensures that the model cleans the current frame's artifacts before attempting temporal fusion.
  3. Recurrent Structure: To leverage long-term dependencies, the model uses a recurrent framework that maintains a hidden state across the video sequence, enabling the recovery of details from distant frames.
Architecture of the proposed Frequency-Transformer (FTVSR), illustrating the frequency tokenization and the divided spatiotemporal frequency attention mechanism.

Experiments and Results

The model was evaluated on standard VSR benchmarks, including REDS4 and Vid4, with compression simulated using the H.264 codec at various Constant Rate Factors (CRF 15, 25, and 35).

Quantitative Performance

FTVSR established new state-of-the-art benchmarks for compressed video restoration. On the REDS4 dataset at CRF 25, FTVSR achieved a PSNR of 28.05 dB, a substantial improvement over specialized models like COMISR (26.47 dB) and general VSR models like IconVSR (25.93 dB). Notably, the model remained robust even on uncompressed data, outperforming IconVSR by 0.15 dB.

Qualitative Analysis

Visual comparisons reveal that FTVSR produces significantly sharper edges and recovers fine patterns, such as building grilles and text, which competing models often render as blurry or blocky. Frequency amplitude analysis confirms that FTVSR's output closely matches the ground truth across the entire spectrum, whereas other models fail to recover high-frequency components.

Qualitative and quantitative comparison of FTVSR against state-of-the-art methods. (a) Compressed input, (b) visual results, and (c) frequency amplitude analysis.

Conclusion and Future Work

FTVSR demonstrates the efficacy of frequency-domain processing for compressed video super-resolution. By isolating frequency bands and utilizing a divided attention mechanism, the model successfully suppresses artifacts while restoring fine details.

Despite its performance, the model's transformer-based nature introduces high computational intensity, requiring significant GPU memory for inference. Future research may focus on optimizing attention mechanisms for real-time performance and adapting the architecture for more modern compression standards like H.265/HEVC.

Summary updated

BibTeX
@inproceedings{qiu2022learning,
  author = {Zhongwei Qiu and Huan Yang and Jianlong Fu and Dongmei Fu},
  title = {{Learning Spatiotemporal Frequency-Transformer for Compressed Video Super-Resolution}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19797-0\_15},
}
Figure