Google AI Weblog: Giant Movement Body Interpolation


Body interpolation is the method of synthesizing in-between photos from a given set of photos. The method is commonly used for temporal up-sampling to extend the refresh fee of movies or to create sluggish movement results. These days, with digital cameras and smartphones, we regularly take a number of photographs inside a number of seconds to seize one of the best image. Interpolating between these “near-duplicate” photographs can result in partaking movies that reveal scene movement, usually delivering an much more pleasing sense of the second than the unique photographs.

Body interpolation between consecutive video frames, which regularly have small movement, has been studied extensively. In contrast to movies, nevertheless, the temporal spacing between near-duplicate photographs might be a number of seconds, with commensurately massive in-between movement, which is a significant failing level of present body interpolation strategies. Latest strategies try to deal with massive movement by coaching on datasets with excessive movement, albeit with restricted effectiveness on smaller motions.

In “FILM: Body Interpolation for Giant Movement”, revealed at ECCV 2022, we current a technique to create prime quality slow-motion movies from near-duplicate photographs. FILM is a brand new neural community structure that achieves state-of-the-art leads to massive movement, whereas additionally dealing with smaller motions effectively.

FILM interpolating between two near-duplicate photographs to create a sluggish movement video.

FILM Mannequin Overview

The FILM mannequin takes two photos as enter and outputs a center picture. At inference time, we recursively invoke the mannequin to output in-between photos. FILM has three elements: (1) A function extractor that summarizes every enter picture with deep multi-scale (pyramid) options; (2) a bi-directional movement estimator that computes pixel-wise movement (i.e., flows) at every pyramid degree; and (3) a fusion module that outputs the ultimate interpolated picture. We practice FILM on common video body triplets, with the center body serving because the ground-truth for supervision.

A typical function pyramid extraction on two enter photos. Options are processed at every degree by a sequence of convolutions, that are then downsampled to half the spatial decision and handed as enter to the deeper degree.

Scale-Agnostic Function Extraction

Giant movement is often dealt with with hierarchical movement estimation utilizing multi-resolution function pyramids (proven above). Nevertheless, this technique struggles with small and fast-moving objects as a result of they’ll disappear on the deepest pyramid ranges. As well as, there are far fewer obtainable pixels to derive supervision on the deepest degree.

To beat these limitations, we undertake a function extractor that shares weights throughout scales to create a “scale-agnostic” function pyramid. This function extractor (1) permits using a shared movement estimator throughout pyramid ranges (subsequent part) by equating massive movement at shallow ranges with small movement at deeper ranges, and (2) creates a compact community with fewer weights.

Particularly, given two enter photos, we first create a picture pyramid by successively downsampling every picture. Subsequent, we use a shared U-Web convolutional encoder to extract a smaller function pyramid from every picture pyramid degree (columns within the determine beneath). Because the third and remaining step, we assemble a scale-agnostic function pyramid by horizontally concatenating options from completely different convolution layers which have the identical spatial dimensions. Word that from the third degree onwards, the function stack is constructed with the identical set of shared convolution weights (proven in the identical shade). This ensures that each one options are comparable, which permits us to proceed to share weights within the subsequent movement estimator. The determine beneath depicts this course of utilizing 4 pyramid ranges, however in observe, we use seven.

Bi-directional Stream Estimation

After function extraction, FILM performs pyramid-based residual stream estimation to compute the flows from the yet-to-be-predicted center picture to the 2 inputs. The stream estimation is completed as soon as for every enter, ranging from the deepest degree, utilizing a stack of convolutions. We estimate the stream at a given degree by including a residual correction to the upsampled estimate from the following deeper degree. This method takes the next as its enter: (1) the options from the primary enter at that degree, and (2) the options of the second enter after it’s warped with the upsampled estimate. The identical convolution weights are shared throughout all ranges, apart from the 2 most interesting ranges.

Shared weights enable the interpretation of small motions at deeper ranges to be the identical as massive motions at shallow ranges, boosting the variety of pixels obtainable for giant movement supervision. Moreover, shared weights not solely allow the coaching of highly effective fashions that will attain the next peak signal-to-noise ratio (PSNR), however are additionally wanted to allow fashions to suit into GPU reminiscence for sensible functions.

The impression of weight sharing on picture high quality. Left: no sharing, Proper: sharing. For this ablation we used a smaller model of our mannequin (known as FILM-med within the paper) as a result of the complete mannequin with out weight sharing would diverge because the regularization advantage of weight sharing was misplaced.

Fusion and Body Technology

As soon as the bi-directional flows are estimated, we warp the 2 function pyramids into alignment. We get hold of a concatenated function pyramid by stacking, at every pyramid degree, the 2 aligned function maps, the bi-directional flows and the enter photos. Lastly, a U-Web decoder synthesizes the interpolated output picture from the aligned and stacked function pyramid.

FILM Structure. FEATURE EXTRACTION: we extract scale-agnostic options. The options with matching colours are extracted utilizing shared weights. FLOW ESTIMATION: we compute bi-directional flows utilizing shared weights throughout the deeper pyramid ranges and warp the options into alignment. FUSION: A U-Web decoder outputs the ultimate interpolated body.

Loss Capabilities

Throughout coaching, we supervise FILM by combining three losses. First, we use the absolute L1 distinction between the expected and ground-truth frames to seize the movement between enter photos. Nevertheless, this produces blurry photos when used alone. Second, we use perceptual loss to enhance picture constancy. This minimizes the L1 distinction between the ImageNet pre-trained VGG-19 options extracted from the expected and floor fact frames. Third, we use Type loss to reduce the L2 distinction between the Gram matrix of the ImageNet pre-trained VGG-19 options. The Type loss allows the community to provide sharp photos and sensible inpaintings of huge pre-occluded areas. Lastly, the losses are mixed with weights empirically chosen such that every loss contributes equally to the full loss.

Proven beneath, the mixed loss significantly improves sharpness and picture constancy when in comparison with coaching FILM with L1 loss and VGG losses. The mixed loss maintains the sharpness of the tree leaves.

FILM’s mixed loss features. L1 loss (left), L1 plus VGG loss (center), and Type loss (proper), displaying vital sharpness enhancements (inexperienced field).

Picture and Video Outcomes

We consider FILM on an inside near-duplicate photographs dataset that reveals massive scene movement. Moreover, we evaluate FILM to latest body interpolation strategies: SoftSplat and ABME. FILM performs favorably when interpolating throughout massive movement. Even within the presence of movement as massive as 100 pixels, FILM generates sharp photos in step with the inputs.

Body interpolation with SoftSplat (left), ABME (center) and FILM (proper) displaying favorable picture high quality and temporal consistency.
Giant movement interpolation. Prime: 64x sluggish movement video. Backside (left to proper): The 2 enter photos blended, SoftSplat interpolation, ABME interpolation, and FILM interpolation. FILM captures the canine’s face whereas sustaining the background particulars.


We introduce FILM, a big movement body interpolation neural community. At its core, FILM adopts a scale-agnostic function pyramid that shares weights throughout scales, which permits us to construct a “scale-agnostic” bi-directional movement estimator that learns from frames with regular movement and generalizes effectively to frames with massive movement. To deal with broad disocclusions brought on by massive scene movement, we supervise FILM by matching the Gram matrix of ImageNet pre-trained VGG-19 options, which leads to sensible inpainting and crisp photos. FILM performs favorably on massive movement, whereas additionally dealing with small and medium motions effectively, and generates temporally easy prime quality movies.

Attempt It Out Your self

You’ll be able to check out FILM in your photographs utilizing the supply code, which is now publicly obtainable.


We wish to thank Eric Tabellion, Deqing Solar, Caroline Pantofaru, Brian Curless for his or her contributions. We thank Marc Comino Trinidad for his contributions on the scale-agnostic function extractor, Orly Liba and Charles Herrmann for suggestions on the textual content, Jamie Aspinall for the imagery within the paper, Dominik Kaeser, Yael Pritch, Michael Nechyba, William T. Freeman, David Salesin, Catherine Wah, and Ira Kemelmacher-Shlizerman for assist. Due to Tom Small for creating the animated diagram on this put up.


Please enter your comment!
Please enter your name here