Non-Linear Motion from Two Frames: Cubic Hermite Trajectories for Video Frame Interpolation

Md Rifat Ur Rahman, Md Abtahi Majeed Chowdhury, Md Sakib Hossain Shovon, Jaesik Choi, Mohammad Ali MoniarXiv 2026

TL;DR

When generating smooth slow-motion video from just two frames, standard algorithms assume objects move in straight lines at constant speeds—a convenient fiction that breaks down the moment something swerves or accelerates. HermiteVFI replaces this straight-line guesswork with an explicit, continuous 3D curve (a cubic Hermite polynomial) for every pixel, using subtle visual cues like orientation and blur to bend the path naturally. Better yet, the network predicts these curve parameters once per frame pair, meaning you can calculate pixel positions at 8, 16, or 32 intermediate steps practically for free.

What Problem Does This Paper Address?

Video Frame Interpolation (VFI) synthesizes nonexistent frames between two consecutive keyframes. Most modern VFI relies on optical flow—measuring the net displacement ($F$) of pixels from Frame 0 to Frame 1. To guess where a pixel is halfway through ($t = 0.5$), standard methods just multiply that displacement by $t$.

Geometrically, $t \cdot F$ forces every pixel onto a straight-line, constant-velocity railroad track. If a basketball arcs, a car brakes, or a camera pans and stops, linear scaling puts pixels in the wrong place.

Existing fixes usually demand extra inputs—like looking at four frames instead of two, or strapping on an event camera—or they use heavy implicit neural networks that must re-run for every single intermediate timestamp $t$ you want to generate. The authors ask: Can we infer curved, non-linear trajectories from just two frames, guarantee the path hits the exact start and end points, and compute intermediate steps analytically without re-running a motion network?

Methods

The authors introduce HermiteVFI, which marries classical geometry with standard VFI synthesis.

Figure 1. Overview of HermiteVFI. A frozen flow estimator measures bidirectional flow and auxiliary maps from the two keyframes. A shared head then predicts a velocity residual at each keyframe, which fixes the coefficients of a cubic Hermite curve. The curve is evaluated in closed form at each query time, splatted onto the target grid, refined, and rendered by warping and blending. The head does not take t as input and runs once per frame pair; only the last three stages repeat.
  • What’s Standard: A frozen, pre-trained optical flow network (RAFT) measures bidirectional pixel displacements between the two frames. At the end of the pipeline, standard softmax splatting (pushing pixels forward to time $t$), flow refinement, and image blending networks render the final RGB image.
  • What’s New — Cubic Hermite Trajectories: Instead of predicting positions at specific times, a lightweight neural head predicts two latent endpoint derivatives ("velocities" $m_0$ and $m_1$) for each pixel. With two fixed positions ($0$ and $F$) and two endpoint derivatives, a degree-3 cubic Hermite polynomial is the minimal curve that satisfies all four boundary conditions.
  • Residual Formulation: The network actually predicts deviations ($\delta_0, \delta_1$) from linear flow. The curve is formulated so that if the network outputs zeros, it falls back exact to standard linear motion, and for any network output, the curve is mathematically guaranteed to start at $0$ and end at $F$.
  • Directional Appearance Cues: Displacement alone can't tell an arc from a straight line. To help infer how the path bends, the authors feed the network a parameter-free structure-tensor descriptor that captures local image orientation and anisotropy (which naturally responds to directional motion blur and oriented edges).
  • Multi-Time Supervision: Because predicting coefficients happens once per frame pair, evaluating any query time $t$ requires just three fast tensor multiplications—zero neural network passes.

Datasets

No new datasets are introduced, though the authors construct a more reliable pseudo-ground-truth flow evaluation on X4K1000FPS by chaining small-displacement flows across native high-speed frames. They train two separate models to test both in- and out-of-distribution generalization:

  • Vimeo90K-Septuplet: Used to train Ours-V and for evaluation (slow, near-linear motion).
  • X4K1000FPS (X-TEST): Used to train Ours-X and for evaluation (fast, complex, non-uniform 4K motion at $8\times$ and $16\times$ interpolation).
  • SNU-FILM: Used strictly for zero-shot evaluation across Medium ($4\times$), Hard ($8\times$), and Extreme ($16\times$) motion splits.

Key Insights and Ideas

  • Why Midpoint Training Fails Non-Linearity: One of the coolest "aha" moments in the paper is mathematical (Propositions 2 & 3). A cubic Hermite curve has two free coefficients per pixel. If you only supervise the model at the midpoint ($t = 0.5$)—as standard triplet datasets do—one of the curve's basis components vanishes completely! Supervision at a single timestamp is rank-deficient; the network can output wild, correlated errors at the endpoints that cancel out at $t=0.5$ while ruining the rest of the trajectory. Supervising any two distinct interior times makes the math full-rank (in practice, they use 5). This neatly explains why prior attempts at learning non-linear motion from single-frame reconstruction losses hit a wall.
Table 5. Number of supervised query times per frame pair, Ours-X on X-TEST-Flow 16×.
  • Flow Alone is Blind to Curvature: When the authors masked out image appearance and structure-tensor cues at test time—leaving only optical flow inputs—the predicted non-linear residuals collapsed to near zero ($0.08$ pixels), reverting to linear motion. Visual appearance is doing the heavy lifting to bend the trajectories.

Key Results

  • Motion Accuracy: On fast 16$\times$ interpolation (X-TEST), replacing the linear path with Hermite trajectories inside the exact same pipeline slashes End-Point Error (EPE) from 3.48 down to 0.97—outperforming two-frame implicit methods like GIMM (1.11) and even edging out CT-VFI's full-sequence spline method (1.06) which peeks at all frames.
  • Image Quality Scales with Difficulty: On X-TEST ($16\times$), HermiteVFI (Ours-X) beats its linear twin by +2.94 dB PSNR (29.78 vs. 26.84 dB). On SNU-FILM, the advantage over linear motion widens as motion gets wilder: +1.70 dB (Medium), +1.86 dB (Hard), and +2.00 dB (Extreme). On Vimeo90K, where motion is already mostly linear, it matches the linear baseline within 0.03 dB—showing the extra flexibility doesn't hurt when it isn't needed.
  • Zero-Slope Motion Cost: Computing the trajectory takes a flat 2.1 ms total, whether you interpolate $K=1$ frame or $K=32$ frames (0.0 ms/frame slope). Including per-frame warping and synthesis, the full pipeline runs 1.3$\times$ faster than GIMM-VFI at 32 frames (408.4 ms vs. 535.7 ms).
Table 3. Runtime (ms) versus number of interpolated frames, 720 × 1280 input on a single NVIDIA V100. Motion is the trajectory model alone. Total additionally includes flow reversal, synthesis, and each method’s front-end feature extraction, a fixed cost that does not scale with K. Ours uses RAFT and reuses its internal features rather than running a second extraction pass, which is why our fixed cost is the lowest here.

Limitations and Future Work

  • Ambiguity Isn't Magic: Two sharp RGB frames fundamentally do not uniquely determine true physical 3D paths. The learned "endpoint velocities" are reconstruction-optimal curve parameters, not true physical speedometer readings.
  • Partial Amortization: Only the trajectory coefficient prediction is independent of $t$. Splatting, hole-filling refinement, and RGB frame synthesis still have to run for every single query frame $t$, accounting for the remaining 9.6 ms/frame runtime cost.
  • Textureless & Complex Motion: A single cubic curve cannot represent high-frequency oscillations (like a buzzing wing), and appearance-based directional cues struggle in textureless or globally crisp regions. Exploring higher-order polynomials and amortizing the synthesis network itself are highlighted as natural next steps.

Summary updated

Abstract

Two-frame video frame interpolation commonly resamples endpoint optical flow by the query time, which selects a constant-velocity straight-line path even though the same endpoint displacement is compatible with many intermediate trajectories. We present HermiteVFI, which replaces independent query-time motion prediction with one explicit continuous trajectory per pixel. The measured endpoint displacement fixes the two trajectory positions, while two latent endpoint derivatives learned from the frame pair control the interior path. A cubic Hermite curve is the minimum-degree polynomial that can independently satisfy these two position and two derivative boundary quantities. Its residual form contains linear motion exactly, structurally preserves the measured displacement endpoints for any network output, and has coefficients that are predicted once per frame pair and evaluated in closed form at arbitrary t. We further show that one interior query time gives a rank-deficient constraint on the two free trajectory coefficients, whereas any two distinct interior times are full rank at the representation level, motivating multi-time supervision. Appearance-derived directional cues help infer the latent derivatives that endpoint displacement alone cannot identify. On X4K1000FPS, SNU-FILM, and Vimeo90K-Septuplet, the largest gains occur for difficult non-uniform motion and high interpolation ratios. The amortization applies to trajectory-coefficient prediction; downstream reversal, refinement, and synthesis remain query dependent.
BibTeX
@misc{rahman2026non,
  author = {Md Rifat Ur Rahman and Md Abtahi Majeed Chowdhury and Md Sakib Hossain Shovon and Jaesik Choi and Mohammad Ali Moni},
  title = {{Non-Linear Motion from Two Frames: Cubic Hermite Trajectories for Video Frame Interpolation}},
  year = {2026},
  eprint = {2611.34143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34143},
}
Figure