Dynamic Video Frame Interpolation with Integrated Difficulty Pre-Assessment

Xin Jin, Ban Chen, Xin Jin 0023, Youxin Chen, Longhai Wu, Jie Chen, Jayoon Koo, Cheul-Hee HahmICASSP 2023

Abstract

Video frame interpolation(VFI) has witnessed great progress in recent years. While existing VFI models still struggle to achieve a good trade-off between accuracy and efficiency: fast models often have inferior accuracy; accurate models typically run slowly. However, easy samples with small motion or clear texture can achieve competitive results with simple models and do not require heavy computation. In this paper, we present an integrated pipeline which combines difficulty assessment with video frame interpolation. Specifically, it firstly leverages a pre-assessment model to measure the interpolation difficulty level of input frames, and then dynamically selects an appropriate VFI model to generate interpolation results. Furthermore, a large-scale VFI difficulty assessment dataset is collected and annotated to train our pre-assessment model. Extensive experiments show that easy samples pass through fast models while difficult samples inference with heavy models, and our proposed pipeline can improve the accuracy-efficiency trade-off for VFI.

Introduction: The Speed-Accuracy Dilemma in VFI

Video Frame Interpolation (VFI) is a fundamental task in computer vision, aimed at synthesizing intermediate frames between consecutive video frames. This technology is essential for applications like slow-motion video generation and frame rate up-conversion. However, the field faces a persistent challenge: the trade-off between computational efficiency and visual accuracy.

State-of-the-art models, such as VFIformer, utilize heavy architectures like Transformers to achieve high-quality results, but their high computational cost makes them slow for real-time applications. Conversely, efficient models like RIFE are fast but prone to artifacts—such as blurring or warping—when dealing with complex textures or rapid motion. This paper proposes a solution based on the observation that many "easy" frames (characterized by slow motion or simple textures) do not require the heavy lifting of a transformer-based model to achieve high-quality results.

Methodology: Dynamic Model Selection

The authors introduce a dynamic VFI pipeline that intelligently routes frame pairs based on their predicted interpolation difficulty.

The proposed dynamic VFI pipeline, illustrating the routing of easy and hard samples to RIFE and VFIformer respectively.

The pipeline consists of three core components:

  1. VFI-DPA (Difficulty Pre-Assessment): A lightweight "brain" that analyzes input frames to predict a difficulty score. It is based on an optimized Image Quality Assessment (IQA) architecture, utilizing a Siamese Swin Transformer to extract features from frame pairs.
  2. Smart Routing Mechanism: Based on the difficulty score, the system applies a threshold. Frames categorized as "easy" are processed by the fast RIFE model, while "hard" frames are sent to the high-accuracy VFIformer.
  3. Architectural Innovations: To ensure the pre-assessment doesn't become a bottleneck, the authors replaced heavy CNN-ViT branches with a hierarchical Swin Transformer and utilized Pixelshuffle for efficient feature upsampling and Deformable Convolutions to focus on motion-heavy regions.

VFI Difficulty Assessment Dataset

To train the VFI-DPA model, the authors created a new large-scale dataset containing 13,030 image triplets annotated with difficulty scores ranging from 1 to 4. These scores are derived from the performance of the RIFE model on each sample, serving as a proxy for interpolation difficulty.

Visual comparison of interpolation difficulty levels. Higher scores indicate more complex motion where fast models like RIFE struggle compared to the Ground Truth (GT).

The model training is further enhanced by an auxiliary loss based on Learned Perceptual Image Patch Similarity (LPIPS). This loss helps the model learn the correlation between the perceptual difference of input frames and the resulting interpolation difficulty.

Key Results and Performance

The dynamic pipeline demonstrates a significantly improved accuracy-efficiency trade-off. On the challenging SNU-FILM "Extreme" subset, the pipeline achieved a PSNR of 25.3382. This is a notable improvement over RIFE (24.8157), while the system remains nearly three times faster than running VFIformer on every frame (0.443s vs 1.268s per frame).

The VFI-DPA model itself is highly efficient, featuring only 4.47M parameters—a significant reduction from the 11.22M parameters in the baseline AHIQ model—without sacrificing predictive accuracy.

Conclusion and Future Directions

This research highlights that "difficulty" in VFI is predictable and can be used to optimize computational resources. By applying the "good enough" principle, the proposed system avoids wasting heavy computation on simple frames.

Future work may expand this binary selection to a broader "zoo" of models and explore automated threshold selection based on device hardware. Additionally, extending the assessment to longer temporal windows could improve the stability of the interpolation in continuous video streams.

Summary updated

BibTeX
@inproceedings{jin2023dynamic,
  author = {Xin Jin and Ban Chen and Xin Jin and Youxin Chen and Longhai Wu and Jie Chen and Jayoon Koo and Cheul-Hee Hahm},
  title = {{Dynamic Video Frame Interpolation with Integrated Difficulty Pre-Assessment}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
}
Figure