Learning Spatio-Temporal Downsampling for Effective Video Upscaling

Xiaoyu Xiang, Yapeng Tian, Vijay Rengarajan, Lucas D. Young, Bo Zhu, Rakesh Ranjan

Abstract

Traditional video downsampling methods often introduce irreversible aliasing artifacts that hinder subsequent upscaling. This paper introduces a joint neural framework for Spatio-Temporal Anti-Aliasing (STAA) that co-designs the downsampling and upscaling processes. By treating video as a 3D spatio-temporal volume and employing a differentiable quantization layer for 8-bit compatibility, the proposed method achieves significant performance improvements—up to 8.28 dB PSNR—over state-of-the-art decoupled restoration techniques.

Introduction: The Challenge of Aliasing

Video resizing is a fundamental task in compression and transmission. However, standard "naive" downsampling methods—bicubic interpolation for space and nearest-neighbor frame skipping for time—cause significant information loss. In the spatial domain, this manifests as moiré patterns; in the temporal domain, it leads to the "wagon-wheel effect," where fast-moving objects appear to jump or move unnaturally.

Once these artifacts are baked into the low-resolution, low-frame-rate video, upscaling becomes an ill-posed problem where the model must "hallucinate" missing details. This research addresses the problem by asking: Can we learn a downsampler that preserves exactly the information the upscaler needs?

The STAA Framework

The authors propose an end-to-end trainable framework consisting of three primary components:

1. The STAA Downsampler

Unlike fixed filters, the STAA downsampler utilizes a learned 3D low-pass filter that operates across both spatial and temporal dimensions simultaneously. To ensure the output remains a valid representation of the original video, a softmax layer is applied to the filter weights, constraining them to act as a proper blurring and averaging operator.

2. Differentiable Quantization

Standard neural networks produce floating-point outputs, but real-world video storage requires 8-bit integers (uint8). To bridge this gap, the authors integrated a differentiable quantization layer. This allows the model to learn "storage-friendly" downsampled representations while still allowing gradients to flow during training.

3. The Upsampler

The upscaling module is designed to exploit the information preserved by the learned downsampler:

  • Deformable Temporal Modeling (DTM): Uses deformable convolutions to align features across neighboring frames, effectively tracking pixel movement over time.
  • Space-Time Pixel-Shuffle: An efficient layer that rearranges high-channel features into increased spatial resolution and higher frame rates in a single step.

Key Insights: Space-Time Coupling

A core observation of this work is that "temporal profiles"—the patterns formed by a single line of pixels over time—visually resemble spatial textures. By treating time as a third spatial dimension, the network can exploit "patch recurrence" across the entire 3D volume.

Spatio-temporal video volume illustrating the relationship between spatial and temporal dimensions.

The learned temporal downsampler effectively acts as a "flutter shutter" or coded exposure camera. It aggregates motion information into the downsampled frames in a structured way that the upscaler can later "unfold" to reconstruct high-frame-rate sequences.

Comparison of a spatial patch (green) and its corresponding temporal profile (red).

Experimental Results

The STAA framework was evaluated on high-quality video benchmarks including Vimeo-90k, Vid4, and REDS-blur. The results demonstrate a substantial leap over decoupled SOTA methods:

  • Temporal Upscaling (2x): On Vimeo-90k, the joint method achieved 45.01 dB PSNR, outperforming the FLAVR frame interpolator (36.73 dB) by 8.28 dB.
  • Spatial Upscaling (4x): The pipeline exceeded the performance of BasicVSR++ by over 1 dB.
  • Consistency: The model supports arbitrary resampling (e.g., 20 fps to 24 fps) with superior temporal consistency compared to standard tools like ffmpeg.

Limitations and Future Outlook

While highly effective, the framework's reliance on 3D convolutions and deformable modeling introduces higher computational overhead than simple 2D methods. Additionally, the interaction between the learned downsampler and lossy codecs (like H.264) remains an area for further study. Future work may involve hardware-level implementations, such as learned optical anti-aliasing filters in camera sensors, to further optimize video capture and restoration.

Summary updated

BibTeX
@inproceedings{xiang2022learning,
  author = {Xiaoyu Xiang and Yapeng Tian and Vijay Rengarajan and Lucas D. Young and Bo Zhu and Rakesh Ranjan},
  title = {{Learning Spatio-Temporal Downsampling for Effective Video Upscaling}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19797-0\_10},
}
Figure