Dynamic Frame Interpolation in Wavelet Domain

Lingtong Kong, Boyuan Jiang, Donghao Luo, Wenqing Chu, Ying Tai, Chengjie Wang, Jie Yang

Abstract

Video Frame Interpolation (VFI) is a computationally intensive task, particularly for high-resolution content. Traditional models often apply uniform computational effort across all spatial regions, regardless of local complexity. We present WaveletVFI, a framework that leverages the inherent sparsity of wavelet coefficients to adaptively allocate computation. By employing a learnable dynamic threshold and sparse convolutions, WaveletVFI reduces computational costs by up to 40% while maintaining or exceeding state-of-the-art accuracy on benchmarks like Vimeo90K, ATD12K, and Xiph-4K.

Introduction

Video Frame Interpolation (VFI) aims to synthesize intermediate frames between existing ones to enhance motion smoothness and video quality. While deep learning has significantly advanced VFI, the computational overhead remains a barrier for real-time applications and high-resolution (4K) processing. A primary inefficiency in current architectures is their "static" nature: they process every pixel—whether it belongs to a complex texture or a flat, redundant background—with the same heavy convolutional layers.

WaveletVFI addresses this by introducing an instance-aware computing paradigm. By operating in the wavelet domain, the model identifies regions where high-frequency details are unnecessary and skips redundant computations, leading to significant gains in efficiency without sacrificing visual fidelity.

Methodology

WaveletVFI utilizes a two-stage architecture designed for motion estimation and sparse synthesis.

Motion Perception Network (MP-Net)

The first stage estimates bidirectional optical flow and an occlusion mask. A critical component of MP-Net is the Threshold Classifier. Rather than relying on a fixed heuristic, this classifier analyzes the input frames to select an optimal compression threshold ratio ($\eta$) from a predefined set of candidates. To ensure the model remains end-to-end trainable despite making a discrete choice, the authors utilize the Gumbel-Softmax trick, allowing gradients to flow through the selection process.

Wavelet Synthesis Network (WS-Net)

Instead of direct RGB pixel prediction, WS-Net operates on multi-scale wavelet coefficients. The process involves:

  1. Discrete Wavelet Transform (DWT): Decomposing the input into low-frequency (structural) and high-frequency (detail) components.
  2. Sparse Convolutions: Using the threshold ($\eta$) determined by MP-Net, the network generates a "valid mask." Convolutions are only executed in spatial regions where high-frequency details are deemed necessary.
  3. Progressive Reconstruction: The final frame is reconstructed via Inverse DWT (IDWT), starting from coarse structures and selectively adding sparse details.

Experimental Evaluation

The model was trained on the Vimeo90K dataset and evaluated across diverse benchmarks:

  • ATD12K: An animation dataset characterized by high spatial redundancy in flat color regions.
  • Xiph-2K & Xiph-4K: High-resolution raw video sequences used to evaluate performance on fine textures and large-scale motion.

Performance and Efficiency

WaveletVFI demonstrates a superior balance between accuracy and speed. On the ATD12K benchmark, the model achieved a 40% reduction in computational cost compared to fixed-threshold baselines. In high-resolution tests (Xiph-4K), it outperformed established models like SoftSplat and ABME, reaching a PSNR of 33.61 dB.

The speed improvements are particularly notable for practical deployment. On a Tesla V100 GPU, WaveletVFI processed a 4K frame in just 0.19 seconds, a nearly 12x speedup over the popular DAIN model, which required 2.39 seconds for the same task.

Key Insights

  • Sparsity as a Prior: High-frequency wavelet coefficients are naturally sparse. By shifting VFI to the wavelet domain, identifying "where to skip work" becomes a mathematically grounded process rather than a heuristic one.
  • Instance-Aware Computing: The optimal threshold for computation is not universal. Frames with significant motion blur actually benefit from higher compression (higher thresholds), as attempting to synthesize sharp details in blurry regions often introduces unwanted artifacts.
  • Implicit Denoising: By selectively ignoring unreliable high-frequency coefficients in challenging scenes, WaveletVFI acts as a natural denoiser, often producing cleaner qualitative results than dense models.

Conclusion and Future Work

WaveletVFI represents a significant step toward efficient, high-resolution video synthesis. While the current implementation is optimized for middle-frame prediction ($t=0.5$), it provides a robust foundation for sparse, wavelet-based video processing. Future research may incorporate temporal encoding to allow for arbitrary-time interpolation in a single pass, further enhancing its utility for professional video editing and real-time streaming applications.

Summary updated

BibTeX
@article{kong2023dynamic,
  author = {Lingtong Kong and Boyuan Jiang and Donghao Luo and Wenqing Chu and Ying Tai and Chengjie Wang and Jie Yang},
  title = {{Dynamic Frame Interpolation in Wavelet Domain}},
  journal = {IEEE Trans. Image Process.},
  year = {2023},
  url = {https://openreview.net/forum?id=6i4hlr0LQW},
}
Figure