Pixel-wise error measures punish a sharp edge that lands one or two pixels from its true position more than they punish a blurry smear across the right location. The shifted edge is penalized twice, once for the missing intensity at the correct site and once for the extra intensity at the wrong site. A network trained against such measures therefore learns to blur. Video frame interpolation shows this clearly. Frame interpolation means synthesizing the frames between two captured ones, and it depends on knowing how every pixel moves. Its methods are trained and ranked with these error measures, even though humans judge interpolated frames by sharpness and the absence of ghosting.
We propose to fix this by measuring the misalignment directly, using an optical flow network. Optical flow is a per-pixel estimate of how image content moves from one image to another. The flow network estimates the small residual motion between a generated frame and the true frame. The loss then does two things with that motion. It forgives displacements below a visibility threshold. It charges the remaining appearance error only after those displacements have been undone. Because the misalignments that matter are sub-pixel and concentrated at thin structures and object boundaries, the flow network must be single-scale. It has to estimate motion at high resolution without the downsampling pyramids that erase small objects. The result is a dense, differentiable, cheap loss and error map. It tolerates the shifts humans tolerate and still penalizes blur, because warping cannot make a blurry image sharp.
Core Claim
A full-reference perceptual distance built from a frozen single-scale flow network will agree with human preferences on interpolated frames better than LPIPS and pixel metrics, and at least as well as the much heavier video metric LPVPS. Here "full-reference" means the distance compares a generated frame to a ground-truth frame. When used as a training loss, the same distance will make interpolation networks preferred by human raters at equal or slightly lower peak signal-to-noise ratio (PSNR). We also claim that the high-resolution, pyramid-free flow component is what makes this work. A coarse-to-fine flow estimate, or a simple patch-wise shift search, will either over-forgive boundary errors or fail to forgive thin-structure shifts.
Concretely, let $P$ be the predicted frame and $G$ the ground truth. Let $u = \mathrm{Flow}(G, P)$ be the residual flow from a frozen single-scale network, and let $W_u(P)$ be $P$ backward-warped by $u$. The distance is
$$ D(P,G) = \frac{1}{|\Omega|}\sum_{x \in \Omega} m(x)\Big[\rho\big(W_u(P)(x) - G(x)\big) + \lambda\, \phi\big(\lVert u(x)\rVert\big)\Big], $$
where $\Omega$ is the set of pixels and $\rho$ is a robust per-pixel appearance penalty on raw pixels or shallow anti-aliased features. The term $\phi(r) = \max(0, r - \tau)^2$ charges nothing for displacements below a visibility threshold $\tau$ of roughly one pixel and grows beyond it. The mask $m$ down-weights pixels whose flow fails a forward-backward consistency check, where the forward and backward flow estimates disagree. At those pixels the loss falls back to plain $\rho(P - G)$. The fallback is the guard against gaming: content that cannot be put into correspondence is judged by ordinary pixel error. The weight $\lambda$ trades misalignment cost against appearance cost.
Positioning Against Prior Work
The motivating evidence comes from four sources. Wei Liu et al. formalize the double penalty that shifted sharp detail incurs under pixel error. Alahi et al. show that models scoring highest on pixel metrics look worse to people. For interpolation in particular, the Middlebury subjective study crowd-ranks 155 algorithms, finds frames with identical root-mean-square error (11.4) but very different ghosting, and observes large rank reversals. That study's own fix, a logistic weighting of absolute error called WAE-IQA, still compares collocated pixels, so a shifted edge is still double-counted. Our loss removes the collocation assumption itself. VFIPQA reports PSNR correlating with opinion scores at only 0.1305 SRCC (Spearman rank correlation), against 0.8248 for a learned measure of temporal coherence.
Two lines of work address the gap with learned metrics, and both constrain our design rather than supply it. Ghildyal and Liu make LPIPS tolerant to small global translations by adding anti-aliasing to its network. This cuts the 1-pixel rank-flip rate on BAPPS from 2.81% to 0.57%. Their invariance is built into the network architecture and tested on rigid shifts of static patches. Interpolation errors are instead non-rigid, local, and largest at motion boundaries, and an architecture cannot know where those are. LPVPS captures ghosting and flicker with a spatio-temporal Swin Transformer. It outputs one scalar per clip and needs about 2,500 MB for 12 frames, and its authors note this rules it out as a training loss. Our distance is dense, explains where it penalizes, and costs one forward pass of a flow network.
The method itself comes from single-scale flow. RAFT updates a single 1/8-resolution flow field and upsamples it with a learned convex combination. WAFT drops the cost volume and warps features at 1/2 resolution. This sharpens boundaries, and WAFT ranks first on Sintel, KITTI and Spring. Work on pyramid failure explains why these choices matter here. Steinbrücker et al. show that objects smaller than their displacement vanish under downsampling. Revaud et al. show that coarse errors propagate and blur boundaries. DQBC shows the same "receptive field dependency" inside interpolation networks. All of these papers use flow to estimate scene motion. None uses it to measure the error between a prediction and its reference. In the other direction, none of the perceptual-metric papers looks inside motion representations. That role reversal, flow as an instrument of perceptual measurement, is the new element.
Research Program
The first stage builds the distance. We freeze WAFT, which is trained on FlyingChairs, FlyingThings3D and TartanAir, and run it between $G$ and $P$. Generated frames contain blur and ghosting that natural image pairs do not, so we test whether the flow network hallucinates correspondences on such frames. We do this by synthesizing degradations with known displacement (local shifts, Gaussian blur, double exposure) on Vimeo90K frames. If WAFT misbehaves, we fine-tune it briefly on these synthetic pairs. We set $\tau$, $\lambda$ and the choice of $\rho$ on the VFIPS training split only.
The second stage validates the distance as a metric against existing human judgments. We use VFIPS 2AFC accuracy (two-alternative forced choice, the rate at which the metric picks the same frame humans picked), BVI-VFI SROCC, and the Middlebury Thurstone ranking. We also analyze the dense error maps against the regions the Middlebury study zoomed in on, as a weak check of where the metric localizes errors.
The third stage uses the distance as a training loss. We retrain DQBC and a RAFT-flow-based interpolator on Vimeo90K with $L_1$ plus $D$, gradients flowing through the warp into $P$, and the flow network frozen. We compare against the same networks trained with $L_1$ alone and with each competing loss. Finally, we run a new 2AFC human study on SNU-FILM Hard and Extreme, the splits with the largest motion, where the double penalty should hurt most.
Baselines
The naive reference point is DQBC trained with its original reconstruction loss. Its reported number is 25.61 dB PSNR on SNU-FILM Extreme (DQBC). We retrain it ourselves with the same data, iterations and seeds so that every loss variant shares one training budget.
As a metric, the strongest competitor is LPVPS, because it is the only metric in the file built for interpolation artifacts. It reports 0.830 2AFC on VFIPS validation, against LPIPS 0.808 and VMAF 0.805, and 0.794 SROCC on BVI-VFI, against PSNR 0.742 (Hou et al.). Beating it means matching or exceeding 0.830 on VFIPS while using a single frame pair and a small fraction of its memory. Because our distance is per-frame and LPVPS sees temporal context, parity would count as a win and a small deficit would still be informative. We evaluate it on the identical splits.
The second strong metric baseline is shift-tolerant LPIPS (Ghildyal and Liu). No reported result was found on Lacuna for it on VFIPS or BVI-VFI, so we will run it ourselves. It is the most direct competitor to our premise. As a training loss it is also the strongest rival, and it gets the same tuning budget for its loss weight. On Middlebury the reference is WAE-IQA at 0.5493 SROCC (Middlebury study).
Two ablations isolate the key ingredient. The first, the pyramid ablation, replaces single-scale flow with the same network run on 1/4-resolution inputs and upsampled. This mimics a coarse-to-fine estimate that loses thin structures. The second, the patch-shift ablation, replaces flow with an exhaustive per-patch search for the best shift within ±$\tau$ pixels. We also drop the misalignment term $\phi$, and separately the consistency mask $m$, to show whether each one is needed.
Why not just…?
Why not just train with shift-tolerant LPIPS? It is the real threat. If interpolation errors were mostly small rigid shifts, anti-aliased LPIPS would absorb them and our flow step would add cost without benefit. Its invariance is global and fixed by the network, while interpolation shifts vary in direction and size from pixel to pixel and change abruptly at motion boundaries. We predict our distance wins specifically on SNU-FILM Extreme and in boundary regions. If it does not beat shift-tolerant LPIPS there, both as a metric on VFIPS and in the human study, the central claim fails.
Why not just use LPVPS, or plain LPIPS, as the loss? Its own authors state that LPVPS's memory footprint, about 2,500 MB for 12 frames, precludes using it as a training loss, and it gives no per-pixel signal. Plain LPIPS is blind to temporal artifacts (0.808 against 0.830 on VFIPS). It also flips its rankings under 1-pixel shifts 2.81% of the time on BAPPS, which suggests noisy gradients exactly in the regime we target. We include LPIPS-trained models in the human study so this is measured rather than assumed.
Why not just search over small local shifts per patch, without any flow network? This is a cheap, honest alternative, and it is our patch-shift ablation. A patch that straddles a motion boundary contains two motions, so one best shift either forgives the wrong half or forgives nothing. Thin structures smaller than the patch are dominated by background. If the patch search matches the flow-based distance on VFIPS and in the human study, we will report that the single-scale flow network is unnecessary and that the contribution reduces to the misalignment-tolerant loss form.
Proposed Experiments and Decisive Checks
The metric experiment reports VFIPS 2AFC, BVI-VFI SROCC and Middlebury SROCC for PSNR, LPIPS, shift-tolerant LPIPS, WAE-IQA, LPVPS, our distance and its ablations. It also reports a stratified breakdown by motion magnitude and by distance to the nearest motion boundary, using flow magnitude and gradients on the reference pair. The training experiment reports PSNR, SSIM (structural similarity), LPVPS and our distance on Vimeo90K, UCF101 and all SNU-FILM splits. The deciding measure is a pre-registered 2AFC study on about 300 SNU-FILM Hard and Extreme triplets, comparing $L_1$, shift-tolerant LPIPS, LPIPS and our loss. We will run it with the artifact-zooming protocol from the Middlebury study, which raised rater reliability from 0.8895 to 0.9864 SROCC in its pilots.
Three outcomes would settle the proposal. First, our loss should be preferred over shift-tolerant LPIPS by a statistically significant margin on Extreme. Second, the pyramid ablation should lose most of that margin, with the loss concentrated on thin and fast structures. Third, the gaming check should pass. In it, we train with the mask $m$ removed and confirm that the generator then exploits the flow network by producing warped or hallucinated content. That collapse would be the evidence that the consistency mask is what keeps the loss honest.
References
- Bayesian Tensor Inference for Sketch-Based Facial Photo Hallucination
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution
- Subjective Annotation for a Frame Interpolation Benchmark using Artifact Amplification
- Perceptual Quality Assessment for Video Frame Interpolation
- Shift-Tolerant Perceptual Similarity Metric
- A Perceptual Quality Metric for Video Frame Interpolation
- RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
- WAFT: Warping-Alone Field Transforms for Optical Flow
- Large displacement optical flow computation withoutwarping
- EpicFlow: Edge-preserving interpolation of correspondences for optical flow
- Video Frame Interpolation with Densely Queried Bilateral Correlation