Abstract: Video frame interpolation (VFI), which aims to synthesize intermediate frames of a video, has made remarkable progress with development of deep convolutional networks over past years. Existing methods built upon convolutional networks generally face challenges of handling large motion due to the locality of convolution operations. To overcome this limitation, we introduce a novel framework, which takes advantage of Transformer to model long-range pixel correlation among video frames. Further, our network is equipped with a novel cross-scale window-based attention mechanism, where cross-scale windows interact with each other. This design effectively enlarges the receptive field and aggregates multi-scale information. Extensive quantitative and qualitative experiments demonstrate that our method achieves new state-of-the-art results on various benchmarks.
Introduction
Video Frame Interpolation (VFI) is the task of synthesizing intermediate frames between two existing ones to increase a video's frame rate. This is essential for slow-motion generation and reducing motion blur. For years, the dominant approach has been Deep Convolutional Neural Networks (CNNs). However, CNNs have a fundamental weakness: locality. Because convolution kernels only look at small, local neighborhoods, they struggle to find correspondences when an object moves significantly between frames (large motion). While some methods try to fix this using optical flow or large kernels, they often produce blurry artifacts or require massive parameter counts.
The VFIformer Framework
To address the locality barrier, the authors introduce VFIformer, a novel framework that leverages the global modeling power of Transformers. VFIformer is built on a UNet-style architecture and operates in three main stages:
- Flow Estimation & Warping: A convolutional encoder extracts multi-scale features, and a flow estimator predicts intermediate optical flows. These flows are used to "backward warp" the input frames and features, providing an initial alignment.
- Transformer Encoder: Instead of standard convolutions, the encoder uses Transformer Blocks (TFB) to model long-range pixel correlations.
- Synthesis: A convolutional decoder takes the refined features and produces a soft mask (to blend the two frames) and a residual image (to fix occlusions and flow errors).
Cross-Scale Window-based Attention (CSWA)
The core innovation of VFIformer is the Cross-Scale Window-based Attention (CSWA) mechanism. To keep computation manageable, standard Transformers often use "window-based attention," looking only within a small spatial box. However, this limits the receptive field. CSWA allows a window at a fine scale to interact with a corresponding window at a coarser scale. Because the coarser scale covers a larger physical area of the image, this interaction effectively enlarges the receptive field and provides motion priors that help the model understand where pixels moved, even during large displacements.
Experimental Evaluation
The model was trained on the Vimeo90K dataset and evaluated on several standard benchmarks, including Middlebury and SNU-FILM. The SNU-FILM dataset is particularly relevant as it categorizes motion into Easy, Medium, Hard, and Extreme. The "Extreme" category serves as the primary test for the model's ability to handle large displacements.
Key Results
VFIformer achieved new state-of-the-art (SOTA) results across all tested benchmarks:
- Quantitative Performance: On the Vimeo90K test set, it achieved a PSNR of 36.50 dB, outperforming the previous leader (ABME) by a significant margin of 0.32 dB.
- Large Motion Handling: On the SNU-FILM "Extreme" set, it maintained superior performance, proving that the CSWA mechanism effectively handles large displacements where CNN-based methods fail.
- Qualitative Quality: Visual comparisons show that VFIformer produces much sharper results on fast-moving objects, avoiding the "ghosting" or heavy blurring seen in other methods.
Conclusion and Future Work
VFIformer successfully breaks the locality barrier of CNNs in video frame interpolation by utilizing Transformers and the novel CSWA mechanism. While the model is computationally heavier than some real-time CNN alternatives—taking roughly 365ms to process a 448x256 frame on a Titan V GPU—it sets a new standard for interpolation quality. Future research directions include exploring more efficient attention mechanisms and extending the framework to support arbitrary-time interpolation.
Summary updated