Manuscript Offprint

arXiv:2608.22861

Following Motion for Sequential Modeling in Video Frame Interpolation

Jaehyun Park, Nam Ik Cho

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Jaehyun Park 1^{1} and Nam Ik Cho 1,2,3^{1,2,3}

1^{1} IPAI, Seoul National University

2^{2} Department of Electrical and Computer Engineering, INMC, Seoul National University

3^{3} SNUAILab

{jaep0805,nicho}@snu.ac.kr

Abstract. State Space Models (SSMs) have surfaced as a promising architecture in Video Frame Interpolation (VFI), as they can capture long-range dependencies with linear computational complexity. However, their predefined scanning order limits their effectiveness in modeling the dynamic motion trajectories inherent in VFI problems. To tackle this challenge, we propose Motion-Guided Mamba for Video Frame Interpolation (MGMVFI), an adaptation of the selective state space model tailored explicitly for VFI. MGMVFI introduces Motion-Guided Serialization (MGS), which leverages optical flow to define a motion-adaptive 1D input order for the SSM. This aligns the causal state updates with semantically related tokens, enabling motion-consistent feature propagation, particularly for large and dynamic motions. Additionally, to mitigate the unreliable feature representations caused by inaccurate optical flow estimates, we introduce contextual synthesis that utilizes the surrounding spatial context for robust inter-frame feature synthesis. These components are seamlessly integrated within our tailored Mamba architecture, which also employs a lightweight refinement block to enhance local detail reconstruction at a reduced computational cost. Extensive experiments on standard VFI benchmarks demonstrate that MGMVFI achieves state-of-the-art performance, particularly on complex and dynamic motions, thereby establishing a new direction for sequence modeling in video interpolation.

Keywords: Video Frame Interpolation · State Space Models · Mamba

1 Introduction

Video Frame Interpolation (VFI) is a long-standing task in computer vision that aims to synthesize intermediate frames between consecutive input frames in a video sequence. This task plays a crucial role in numerous applications, such as video frame rate up-conversion [1,2,4,14], slow-motion video generation [1,19], and novel view synthesis [6,20,52]. By increasing temporal resolution, VFI improves visual smoothness and performance of downstream video tasks.

J. Park and N. I. Cho

Interleaved scanning order

Figure

F0F_{0}

F1F_{1}

a.

Figure

b.

Motion-Guided Serialization

Figure

F0′F_{0}^{\prime}

F1′F_{1}^{\prime}

a.

Figure

b.

Fig. 1: We present Motion-Guided Serialization (MGS), which uses optical flow to sample from motion-aligned feature maps F0′F_{0}^{\prime} & F1′F_{1}^{\prime}. MGS results in consecutive semantically consistent tokens (Patch 7 & 9) for a. Horizontal and b. Vertical scans.

The effectiveness of deep learning-based VFI methods depends on how well the model captures the spatial and temporal dependencies in the input frame pair. Conventional approaches have primarily relied on convolutional neural networks (CNNs) [1,4,14,23] and Transformer-based architectures [31,41,48]. However, CNNs suffer from limited receptive fields, making them less suitable for modeling large motions that span an extensive range. Transformers, on the other hand, offer global attention mechanisms but suffer from quadratic computational complexity, limiting their scalability for high-resolution, real-time video processing.

Recently, state space models (SSMs), notably the Selective State Space (S6/Mamba) family, have emerged as promising alternatives that combine the efficiency of convolutional operations with the dynamic modeling capability of recurrent structures [7–9]. S6-based architectures overcome the drawbacks of CNNs and Transformers by updating hidden states in a selective and recurrent manner, enabling the capture of long-range dependencies with linear complexity [7]. The inherent sequential nature of SSMs makes them highly dependent on the scanning order of the input features [16]. This sequence order is very pivotal, as it fundamentally dictates the flow of information through state updates, shaping the model's understanding of spatial and temporal relationships.

To process video inputs, prior works [7,10,11,25,28] have expanded 2D scanning strategies, such as horizontal, vertical, spiral scans, and Z-scans, by scanning each spatial coordinate sequentially for all images. Furthermore, 3D scans, such as the interleaved [47] and Hilbert curve-based scans [18], have also been specifically developed to learn features that cover both spatial and temporal dimensions. However, these pre-defined, motion-agnostic scanning paths are fundamentally misaligned with the dynamic nature of video. As shown in Figure 1, interleaved scanning [47] interleaves the columns of F0F_{0} and F1F_{1} to incorporate the temporal dimension. However, this simple approach often aggregates semantically inconsistent features across time. For instance, Patches 7 and 9 represent features belonging to the same moving object. However, they have a large sequential distance (Gray line) in the interleaved scan's input sequence, forcing the SSM to both estimate the motion trajectories and model the inter-frame features. Moreover, the sequential distance depends on not only the magnitude of the motion but also the direction of the scan path, introducing additional variability that further hampers the estimation of motion trajectories.

Crucially, we reinterpret motion alignment as a serialization problem for sequence models. Classic flow-based VFI methods [1,19,37] estimate intermediate flows and visibility to warp features for spatial synthesis. In contrast, our goal is to define the 1D input sequence order for the SSM: motion trajectories determine how tokens are serialized, so the causal state updates occur between semantically related patches. To this end, we propose a Motion-Guided Serialization (MGS) method that utilizes optical flow to dynamically rearrange input features along estimated motion paths. We combine this with patch-level interleaved scans to ensure that adjacent patches in the SSM input correspond to semantically-related and temporally-coherent content. The comparison is illustrated in Figure 1. Compared to interleaved scanning [47], our motion-aligned serialization method produces a semantically consistent input sequence, demonstrated by the adjacent features of the moving car in the serialized SSM input sequence (Patch 7 and 9). Additionally, because we interleave at patch-level, the semantically-related features stay adjacent regardless of scan direction.

However, MGS's dependence on optical flow estimation inherently creates inaccuracies that arise from occlusion/disocclusion, abrupt motion and lighting changes. We therefore further design a complementary masked adapter module to handle areas with inaccurate flow with contextual synthesis. Contextual synthesis identifies these information gaps and synthesizes robust features as replacements by leveraging the surrounding valid spatial context. The resulting motion-aligned sequence provides a rich, coherent input that vastly relaxes the motion estimation and inter-frame modeling objective for the SSM. This allows the downstream SSM to efficiently handle temporal propagation followed by the modified Efficient Discriminative Frequency-domain FFN (EDFFN) for enhanced local detail reconstruction at reduced computational cost [21].

Our contribution can be summarized in threefold:

  1. Motion-Guided Serialization (MGS): A novel serialization mechanism that leverages optical flow to dynamically define the SSM input sequence order along estimated motion paths, ensuring semantically consistent sequence modeling for complex and large-magnitude motions.

  2. Contextual Synthesis: A robust strategy to restore corrupted feature representations in regions with inaccurate or missing flow by leveraging valid surrounding spatial context to synthesize replacement features.

  3. Adaptation of the Mamba architecture: The integration of a modified Efficient Discriminative Frequency-domain FFN (EDFFN) into the Mamba framework to enhance local texture and detail reconstruction at a low cost.

J. Park and N. I. Cho

References (51)

  • Depth-aware video frame interpolation
  • Video frame interpolation via deformable separable convolution
  • Multiple video frame interpolation via enhanced deformable separable convolution
  • Channel attention is all you need for video frame interpolation
  • Ldmvfi: Video frame interpolation with latent diffusion models
  • Deepstereo: Learning to predict new views from the world's imagery
  • Mamba: Linear-time sequence modeling with selective state spaces
  • Efficiently Modeling Long Sequences with Structured State Spaces
  • Combining recurrent, convolutional, and continuous-time models with linear state space layers
  • Mambairv2: Attentive state space restoration
  • Mambair: A simple baseline for image restoration with state-space model
  • Denoising diffusion probabilistic models
  • Many-to-many splatting for efficient video frame interpolation
  • Real-time intermediate flow estimation for video frame interpolation
  • Liteflownet: A lightweight convolutional neural network for optical flow estimation
  • A survey on mamba architecture for vision applications (opens arXiv in a new tab)
  • Video interpolation with diffusion models
  • Lc-mamba: Local and continuous mamba with shifted windows for frame interpolation
  • Super slomo: High quality estimation of multiple intermediate frames for video interpolation
  • Learning-based view synthesis for light field cameras
  • Efficient visual state space model for image deblurring
  • Ifrnet: Intermediate feature refine network for efficient frame interpolation
  • Adacof: Adaptive collaboration of flows for video frame interpolation
  • Bbdm: Image-to-image translation with brownian bridge diffusion models
  • Videomamba: State space model for efficient video understanding
  • Amt: All-pairs multi-field transforms for efficient frame interpolation
  • Sparse global matching for video frame interpolation with large motion
  • Vmamba: Visual state space model
  • Video frame synthesis using deep voxel flow
  • Learning image matching by simply watching video
  • Video frame interpolation with transformer
  • Tlb-vfi: Temporal-aware latent brownian bridge diffusion for video frame interpolation
  • Frame interpolation with consecutive brownian bridge diffusion
  • Tinyvim: Frequency decoupling for tiny hybrid vision mamba
  • Context-aware synthesis for video frame interpolation
  • Softmax splatting for video frame interpolation
  • Video frame interpolation via adaptive separable convolution
  • Bmbc: Bilateral motion estimation with bilateral cost volume for video interpolation
  • Asymmetric bilateral motion estimation for video frame interpolation
  • Video frame interpolation transformer
  • Xvfi: extreme video frame interpolation
  • Ucf101: A dataset of 101 human actions classes from videos in the wild (opens arXiv in a new tab)
  • Pwc-net: Cnns for optical flow using pyramid, warping, and cost volume
  • Raft: Recurrent all-pairs field transforms for optical flow
  • Video enhancement with task-oriented flow
  • Vfimamba: Video frame interpolation with state space models
  • Extracting motion and appearance via inter-frame attention for efficient video frame interpolation
  • Motion mamba: Efficient and long sequence motion generation
  • Eden: Enhanced diffusion for high-quality large-motion video frame interpolation
  • Mvssm: Motion-aware visual state space model for efficient video deblurring
  • View synthesis by appearance flow