Dynamic Frame Interpolation in Wavelet Domain

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

TL;DR

WaveletVFI is a novel video frame interpolation (VFI) framework that significantly boosts efficiency by operating in the wavelet domain. By using a learnable, dynamic threshold to identify spatial redundancy, the model employs sparse convolutions to skip unnecessary computations in "flat" or blurry regions, reducing computational costs by up to 40% while maintaining state-of-the-art accuracy.

What Problem Does This Paper Address?

Video Frame Interpolation (VFI)—the task of generating intermediate frames to make video appear smoother—is computationally expensive, especially for high-resolution (4K) or animation content. Most existing deep learning models use "static" architectures, meaning they perform the same amount of heavy lifting for every pixel in every frame.

However, not all pixels are created equal. A clear, textured area requires high-frequency detail, while a blurry background or a flat color patch in a cartoon does not. Processing these "redundant" areas with full-scale convolutional layers is a waste of energy and time. The challenge lies in creating a system that can adaptively decide how much detail to synthesize based on the specific texture and motion of each frame pair.

Methods

The authors introduce WaveletVFI, a two-stage framework:

  1. Motion Perception Network (MP-Net): This stage estimates the bidirectional optical flow and an occlusion mask. Crucially, it contains a Threshold Classifier. Instead of using a hard-coded value, this classifier looks at the input frames and selects an optimal "compression threshold ratio" ($\eta$) from a set of candidates. To make this selection process trainable end-to-end, they use the Gumbel-Softmax trick, which allows gradients to flow through a discrete choice.
  2. Wavelet Synthesis Network (WS-Net): Instead of predicting RGB pixels directly, this network predicts multi-scale wavelet coefficients.
  3. Discrete Wavelet Transform (DWT): Decomposes the image into low-frequency (structure) and high-frequency (detail) components.
  4. Sparse Convolutions: Using the threshold ($\eta$) from the first stage, the network generates a "valid mask." It only performs convolutions in areas where high-frequency details are actually needed.
  5. Progressive Reconstruction: The frame is rebuilt using an Inverse DWT (IDWT) process, starting from coarse structure and adding sparse details only where the mask dictates.

Datasets

The model was trained on the Vimeo90K dataset and evaluated across several diverse benchmarks to test its versatility:

  • Vimeo90K (Test): Standard low-resolution benchmark.
  • ATD12K: A large-scale animation dataset, where spatial redundancy is high due to flat color regions.
  • Xiph-2K & Xiph-4K: High-resolution raw video sequences used to test performance on fine textures and large-scale motion.

Key Insights and Ideas

  • Wavelets as a Sparsity Prior: The authors leverage the fact that high-frequency wavelet coefficients are naturally sparse in most images. By moving VFI to the wavelet domain, the problem of "where to skip work" becomes mathematically intuitive.
  • Instance-Aware Computing: The "aha moment" is that the optimal threshold for skipping work isn't universal. A frame with complex motion and motion blur actually benefits from a higher threshold (more compression) because trying to synthesize sharp details in a blurry area often introduces artifacts.
  • Denoising Side-Effect: Interestingly, by skipping the estimation of unreliable high-frequency coefficients in challenging scenes, WaveletVFI can actually achieve better qualitative results, acting as a natural denoiser.

Key Results

  • Efficiency: On the ATD12K animation benchmark, WaveletVFI reduced computation by 40% compared to a fixed-threshold baseline while maintaining similar accuracy.
  • Performance vs. SOTA: In 4K testing (Xiph-4K), WaveletVFI outperformed heavyweights like SoftSplat and ABME in both PSNR (accuracy) and speed. It achieved a PSNR of 33.61 dB while using significantly fewer TFLOPs than competitors.
  • Speed: On a Tesla V100 GPU, WaveletVFI processed a 4K frame in 0.19 seconds, whereas the popular DAIN model took 2.39 seconds—a massive leap for practical deployment.

Limitations and Future Work

The current framework is designed to predict only the middle frame ($t=0.5$). While it can be used recursively to generate multiple frames (e.g., for 8x slow-mo), recursion often leads to error accumulation.

The authors suggest that future iterations could incorporate temporal encoding (similar to IFRNet) to allow the model to predict any arbitrary time point in a single pass, further increasing its utility for professional video editing suites.

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