Depth-Aware Video Frame Interpolation
Paper · 2019 · Wenbo Bao, Wei‐Sheng Lai, Chao Ma et al.
Summary
A missing video frame is especially hard to reconstruct when one object moves in front of another. The frames on either side show where the objects were, but they may give conflicting answers about what should be visible in between. Combining those answers can produce a doubled outline or a blurred edge, even when the estimated motion is plausible on either side of the boundary. Depth-Aware Video Frame Interpolation, or DAIN, addresses this problem by giving nearer surfaces more influence when different motion estimates meet at the same position in the frame being synthesized.
The system first estimates how pixels move between the input frames and predicts a depth map for each frame. It then projects the motions to the requested time. When several trajectories reach the same position, the projection weights them by the reciprocal of their estimated depths. The resulting motion field tells the system where to sample the original frames, their depth maps, and visual features learned at several stages of a small network. A final network takes these aligned inputs and predicts a correction to a blend of the warped frames. The correction can improve details such as the edges of a shoe or the shape of a moving ball.
The authors trained DAIN to predict the middle frame of Vimeo90K training triplets and evaluated it on Vimeo90K, Middlebury, UCF101, and HD. On the Vimeo90K test set, they report a PSNR gain of 0.42dB over MEMC-Net. At submission, DAIN ranked first for Normalized Interpolation Error and third for Interpolation Error among the published methods on Middlebury’s EVALUATION set. The authors also demonstrate its use at other times between the input frames to make 10× slow-motion video and make the DAIN code and trained weights available.
The controlled comparisons show how much the depth estimate matters. Learning depth from a random initialization gave worse interpolation scores than averaging the projected motions with equal weights. Starting with a depth estimator trained in advance improved the results, and adapting it jointly with the rest of DAIN gave the strongest scores among the tested depth settings. The same dependence explains a visible failure. When the depth estimate leaves the boundary between a shoe and a skateboard ambiguous, the synthesized frame can leave it blurred. The evidence supports depth as a cue for deciding which motion to favor, while the quality of that decision still depends on the depth available at the boundary.
Deep dive: Depth-Aware Video Frame Interpolation
Depth-Aware Video Frame Interpolation uses estimated scene depth to decide which objects should stay visible when filling in missing video frames. · about 35 minutes to read
The problem and its context
What the input frames can tell us
Frame interpolation starts with images captured at known times and asks what an image at an intervening time would look like. In the paper’s setup, the evidence comes from the frames that bracket that time. The desired output is a new image on the same spatial grid. An application can insert such images to raise a video’s frame rate, stretch an action into slow motion, or fill a gap in a stream. The authors also place the task alongside novel view synthesis. What these applications have in common is a request for an image that was unavailable at the point where it is needed.
A tempting approach is to blend the colors at matching image coordinates. This can be reasonable for stationary content. For moving content, a coordinate can belong to one surface in the earlier image and another surface in the later image. A blend then mixes colors that need to be moved into position before they have a useful relationship to one another. Consider the outline of a moving object. Blending the original images at that outline can leave traces of the object at both recorded positions. An interpolated frame calls for an outline in the position it would have occupied at the requested time.
Optical flow gives the algorithm a way to move image content. An optical flow vector is an estimated displacement from a pixel in one frame towards its corresponding position in another. A field of these vectors can describe motion that varies across an image. A background region can have one pattern of movement while a foreground object follows another. This lets the algorithm align visible material before combining it. The quality of that alignment depends on which correspondences the estimated vectors describe and on how those vectors are turned into instructions for sampling an intermediate image.
The paper emphasizes two sources of difficulty. Large motion puts corresponding details far apart, so an algorithm that looks only in a local area can miss them. Occlusion changes which surface is visible. A surface that appears in an input frame can be hidden at the requested time because a nearer object has moved across it. The reverse can also happen, with movement exposing a region that one input frame could not see. Estimating a displacement and deciding whether the displaced surface is visible therefore answer distinct questions. An interpolation procedure needs a way to use the displacement only where it yields appropriate image content.
Why a motion boundary needs special treatment
A motion boundary is a place where adjacent parts of the image have different motions. An object’s silhouette can form such a boundary because the object and what lies behind it occupy neighboring pixels. A flow field near the silhouette should preserve that change. If it blends foreground and background displacement, the resulting vector can end up pointing to a source location that belongs to neither of the intended correspondences. Sampling there can compromise the outline even if the motions on either side were estimated reasonably well.
The problem becomes particularly concrete when projecting a flow field into an intermediate frame. Imagine following a foreground point and a background point along their estimated paths. They may land in the same intermediate pixel. Both paths now offer a proposal for where to sample an input image. If the foreground surface covers the background at that position, the foreground proposal should carry more weight. The image plane records overlapping locations, while depth provides a way to order the surfaces that occupy them.
For this decision, an estimate that places the foreground ahead of the background can be useful without giving the physical distance to either surface. The relevant distinction is which surface is closer and how much the algorithm should favor its motion. DAIN turns the estimated depth values into weights for resolving a conflict in the flow field. It also passes depth information on to the network that assembles the image, where the depth map can help describe the structure around a sampling location.
How earlier systems moved and combined pixels
The paper describes an early convolutional approach that tried to produce the intermediate image directly from the inputs. In the authors’ account, a generic network of this kind yielded blurry frames because the space of plausible images and motions was difficult to represent. This motivates making an intermediate representation of how content moves. The synthesis procedure can then start with pixels that have already been brought towards their intended positions, leaving it with a more local correction problem.
Deep voxel flow was one earlier example of an explicit sampling method. It estimated motion across image space and time and used trilinear sampling to draw from the input frames. Trilinear sampling combines nearby values along the sampling coordinates, including the time coordinate in that formulation. As the authors describe it, using motion this way reduced blurring, though a poor motion estimate could still distort the output. They also point to coarse-to-fine estimation and to stronger flow architectures as ways previous systems dealt with large movements. In a coarse-to-fine approach, broader image structure helps establish the motion before the procedure refines it on a finer grid.
Adaptive convolution offered another route to synthesis. The approaches the paper calls AdaConv and SepConv learned spatially varying interpolation kernels. A kernel here is a set of weights for combining samples from a neighborhood. Spatial variation means the weights can change at each output position, so a kernel at a moving edge can behave differently from one on a stationary patch. A large sampling neighborhood makes distant input pixels accessible. The paper identifies memory use and computation as the costs of relying on large neighborhoods.
MEMC-Net combined displacement with locally learned sampling. Optical flow specified a location in an input frame, and a kernel determined how to use the surrounding samples. The arrangement gives each component a manageable job. The flow can move the center of the neighborhood towards content that has traveled across the frame. The kernel can then choose how to combine samples around that center. DAIN inherits this adaptive warping operation and changes how the intermediate flow that drives it is obtained.
The authors describe several ways earlier work handled visibility. An occlusion mask can control how much the output uses the respective warped images in a region. Contextual features can give the synthesis network information about a wider area around the sampled pixel. Larger kernels can offer a wider selection of source pixels. These methods let the learned system infer something about visibility from image evidence. DAIN places a depth-dependent rule at the point where several projected motions compete, so the estimated order of the surfaces affects the construction of the motion field itself.
Where scene depth enters the design
Depth estimation supplies an image with a value at each location representing the distance of a visible surface. In the earlier literature described by the paper, conventional approaches frequently derived disparity from stereo inputs. Disparity describes how the same scene point shifts between views. Learned single-image methods offered a different source of depth information. This suited the interpolation setup because each endpoint image could be passed through a depth estimator directly.
Earlier work cited by the authors also explored joint motion and depth estimation through constraints that connect the tasks. DAIN gives the relationship a particular purpose. Its depth estimate helps resolve disagreements when motion proposals land together, and its flow estimate helps align the inputs to the final image. Training judges those estimates through the reconstruction of a video frame. As a consequence, relative depth that helps distinguish visible surfaces can be valuable even when the values would be unsuitable for measuring scene geometry.
The paper also builds on the idea that the image samples alone give the synthesis stage limited information. Earlier systems used features from an image classification network to describe the neighborhood around each pixel. A feature in this sense is a learned response to patterns in the image. DAIN learns its own features for the interpolation task and retains responses from several successive stages. This gives the final network access to information derived from different amounts of surrounding image area. The depth cue and the visual context enter the algorithm at different points, with depth also available alongside those features during synthesis.
The method, step by step
From endpoint motion to samples for an intermediate frame
The input is a pair of frames and a time between them. DAIN begins by estimating optical flow in both directions. The forward field describes displacements anchored in the earlier image. The reverse field describes displacements anchored in the later image. Each field lives on the coordinates of its own input. The position at which DAIN needs a sampling instruction, by contrast, belongs to the intermediate frame. Converting between these coordinate systems is the job of flow projection.
There are two broad ways to use a displacement to construct a new image. Forward warping sends each source pixel to an estimated destination. Some output positions can receive nothing because the source locations do not project onto every destination on the grid. Backward warping starts at each output location and asks where to retrieve a value from the input. That lets the sampler start from the positions it needs to fill. It also creates an intermediate requirement. The algorithm needs a displacement from each output location back to each input, while its original flow estimates run between the input frames.
DAIN obtains those backward displacements by following endpoint motions toward the requested time and reversing the appropriate portion of each motion. Where those paths meet, the estimated depths determine the relative influence of the proposals. Where no paths arrive, the procedure uses nearby projected motions to supply a sampling instruction. The completed intermediate fields guide the sampling of image colors, depth values, and learned visual features. A synthesis network then brings the warped material together.
How DAIN constructs an intermediate frame
The steps in order.
Defining which motions reach a pixel
The authors write the input images as I₀ and I₁. Each is indexed by a spatial position x. The image grid is the product of the coordinate ranges [1, H] and [1, W], where H and W denote image height and width. The time t lies in [0, 1], with the endpoints assigned to the input frames. The synthesized image at time t is written Îₜ. Iₜᴳᵀ denotes the ground-truth image at that time when a recorded training or evaluation frame is available.
The endpoint flow F₀→₁ is indexed by pixels in I₀. At a source position y, F₀→₁(y) gives the proposed displacement from that point toward its correspondence in I₁. To reach the requested time in the projection rule, the algorithm advances y by the fraction t of this displacement. The operation treats the endpoint displacement as a path along which a fractional step can be taken. It rounds the resulting position to a pixel coordinate so that all proposals assigned to the same pixel can be collected together.
S(x) = { y ∈ [1, H] × [1, W] : round(y + t F₀→₁(y)) = x }
S(x) is the set of source pixels contributing to intermediate pixel x in the projection from I₀. The variable y ranges over the endpoint image grid, with H and W its height and width. The membership symbol ∈ indicates that y is on that grid, and × combines the coordinate ranges into the spatial domain. The expression after the colon selects positions that meet the stated condition. F₀→₁(y) is the input displacement vector, t is the requested time, and y + t F₀→₁(y) is the position reached by taking the corresponding fraction of that vector from y. The function round assigns this projected position to the grid, and the equality checks whether the assigned pixel is x.
Think of S(x) as a collection assembled before DAIN chooses a sampling direction at x. It can hold trajectories that originate in different image regions. Whether those regions are part of the same object plays no role in membership. The depth rule becomes relevant after assignment, when DAIN has to combine the proposals from the members of this collection. An empty S(x) requires a separate rule because no endpoint motion has supplied a proposal there.
Giving nearer surfaces more influence
For a path that has reached x from the earlier frame, a candidate displacement back to that frame follows the same path in reverse. The projection scales the endpoint motion by the part of the interval already traversed, then changes its direction. If several paths reach x, an equal average would give a background proposal as much influence as a proposal from a surface that covers it. DAIN instead weights each candidate according to the depth of its source pixel.
w₀(y) = 1 / D₀(y)
D₀ is the depth map estimated from the earlier input frame, and D₀(y) is its depth value at pixel y. The subscript ₀ identifies that endpoint. The symbol w₀(y) denotes the contribution weight attached to the flow originating there. The division gives the reciprocal of depth. For positive depths, the smaller value associated with a nearer surface becomes the larger weight.
Fₜ→₀(x) = −t · [Σᵧ∈S(x) w₀(y) · F₀→₁(y)] / [Σᵧ∈S(x) w₀(y)]
Fₜ→₀(x) is the estimated displacement from intermediate position x at time t back to the earlier frame. The sums Σ run over all y belonging to S(x), the set of earlier-frame pixels projected to x. The numerator multiplies the endpoint displacement F₀→₁(y) by its source weight w₀(y) before adding the vectors. The denominator adds those weights to normalize the contributions. The factor t scales the aggregate to the traversed part of the interval. The minus sign reverses the direction so that the result points towards the earlier input. The centered dots denote multiplication, and the brackets group the quantities on either side of the division.
The weighting acts on motions. This is significant because the decision can change where the algorithm looks for a pixel in the first place. If two objects have different displacements, a simple mean may yield a sampling location between the intended source locations. Giving greater weight to the nearer object moves the sampling instruction towards that object. In the paper’s space-time illustration, a foreground path and a farther path meet at an intermediate position. The equal average yields a direction between the reversals, while the depth-weighted direction is closer to the reversal associated with the foreground path.
The rule is a weighted combination, so it can still preserve some influence from several paths. A nearer pixel carries more weight, and the size of that advantage depends on the depth values the estimator assigns. The layer does not have to declare a binary visible-or-hidden label for each object. Its treatment of occlusion consists of incorporating the estimated order into the motion field that later determines where samples are taken.
The projection from the later image uses the same reasoning in the opposite temporal direction. Its input field is F₁→₀, whose vectors start on I₁. The depth values come from D₁, the later image’s depth map. The fraction of the reverse endpoint motion that takes a later-frame pixel to the requested time is 1 − t. Reversing that partial motion gives a proposal back toward I₁. Thus Fₜ→₀ and Fₜ→₁ share the same intermediate coordinate grid while pointing into different source images. Each draws its depth weights from the image in which its contributing paths originate.
Supplying motion where no path arrives
Projection can leave holes in the intermediate flow. A hole means that no endpoint path was assigned to a particular position on the intermediate grid. The reciprocal-depth expression has no collection of proposals to aggregate at that position. DAIN handles it with the outside-in procedure adopted from earlier work. It looks for available projected flows around the hole and averages their vectors.
N(x) = { x′ : x′ is a 4-neighbor of x and |S(x′)| > 0 }
N(x) denotes the collection of available neighbors used for filling the hole at x. The variable x′ denotes a neighboring position. The paper specifies the 4-neighbor relation, and the condition after the colon requires that a neighbor already have projected contributions. The vertical bars in |S(x′)| denote the number of members of the set S(x′). The inequality > 0 means that at least one endpoint path reached x′.
Fₜ→₀(x) = [1 / |N(x)|] · Σₓ′∈N(x) Fₜ→₀(x′)
Fₜ→₀(x) is the earlier-directed displacement to supply at the hole. The sum Σ visits the available neighbors x′ in N(x), and Fₜ→₀(x′) is the projected displacement at such a neighbor. The factor 1 / |N(x)| divides the total by the number of available neighbors, making the result their arithmetic mean. The dot denotes multiplication. The later-directed field Fₜ→₁ receives the corresponding treatment using its own projected values.
The quantity filled here is a displacement vector. The color for this output location will still be sampled in a later stage. The fill therefore provides a plausible source direction based on nearby evidence. This keeps the construction of the intermediate motion fields separate from the task of reconstructing appearance where an original surface may be difficult to recover.
The authors describe the projection layer as differentiable for joint training and place the back-propagation details in the supplementary material. The aggregation formula shows where changes in estimated depth can change the output. For a given collection of contributing paths, changing the weight of a path changes how heavily its displacement enters the normalized average. The loss on the final image can therefore favor motion and depth estimates that lead the sampler towards more appropriate content. The rounded assignment that assembles each collection and the weighted calculation within it are distinct parts of the layer.
Estimating motion, depth, and visual context
DAIN uses PWC-Net to estimate flow between the input images. Its weights are initialized from an already trained PWC-Net. The authors choose this starting point because learning reliable motion from an interpolation objective without direct flow supervision is difficult. The interpolation system then has an initial estimate of where structures move before its own training adjusts the components to improve the reconstructed image. It estimates both temporal directions because each input image will supply samples to the intermediate result.
The depth estimator uses an hourglass architecture with weights trained on MegaDepth. The hourglass is the single-image depth network used for each input frame. Each resulting map connects a depth value to the same source coordinates used by the flow from that frame. This alignment is essential to the projection rule. The algorithm reads the depth of the pixel proposing a motion, even though it is collecting proposals at an intermediate position. The initialization supplies a learned basis for distinguishing nearer from farther scene regions before the interpolation loss starts adapting the depth estimator.
A separate network produces visual context. The paper compares its design with earlier systems that took the first convolutional features of a trained classification network. A convolution combines responses within a neighborhood using learned filters. The resulting features can represent details of the neighborhood beyond the color at the central pixel. DAIN trains the context extractor for frame reconstruction and retains outputs from successive stages, so the final features combine several levels of processing. The classification network used in the earlier approach is ResNet.
The context extractor starts with a 7 × 7 convolution. It then applies two residual blocks, each containing two 3 × 3 convolutions and two ReLU activations. A ReLU suppresses negative responses, making the block a nonlinear transformation. A residual block uses a shortcut so that its learned transformation can modify a representation carried forward from the input. The authors omit normalization layers in this extractor. They concatenate the outputs of the initial convolution and both residual blocks, which means they keep their responses side by side in the feature representation available at a pixel.
Successive convolutions draw on locations that have already combined evidence from their own neighbors. This is how deeper stages can describe a wider neighborhood. Retaining the output of the initial convolution gives the synthesis stage access to more directly local responses as well. The paper calls the resulting collection hierarchical because the feature groups come from different stages of the same extractor. These are learned features of each endpoint image, which will be moved into the target coordinate system before the synthesis network uses them.
Moving image colors and their context together
The projected flow gives a location in the source image for each output pixel. DAIN uses that location as the center of a sampling neighborhood. A kernel estimator supplies weights that control the samples taken around the center. For this part of the system the authors use U-Net to predict 4 × 4 local kernels at each pixel. The weights can vary across the image, so the treatment of a neighborhood near an edge can differ from the treatment of a neighborhood in a more uniform area.
The adaptive warping layer joins these operations. Motion decides where to look, and the kernel decides how to use the nearby content. The size of the local kernel describes the window around the location indicated by the flow. The flow can move that window away from the original output coordinate. This division of labor gives the method a way to account for large displacement while retaining a learned local sampling operation.
DAIN warps three kinds of input with this operation. The endpoint images deliver color values. The depth maps provide scene structure associated with those values. The visual features carry information about the neighborhoods from which the samples were drawn. Bringing all three to the intermediate grid gives the synthesis stage related evidence at the location where it will produce an output. A feature describing an edge at its original position, for example, is carried towards the projected position of that edge before it reaches the final network.
Depth thus affects the reconstruction through two routes. It first weights candidate motions while the intermediate fields are being constructed. It later reappears as warped information that the synthesis network can use alongside the image and visual features. The former route changes the source coordinates at which the system samples. The latter gives it additional information about the regions those coordinates refer to. The ablations examine the depth settings for projection and the use of depth as context in separate comparisons.
Predicting a correction to the aligned images
The frame synthesis network has 3 residual blocks. Its input concatenates the warped images, the warped depth maps, the warped visual features, the projected flows, and the estimated interpolation kernels. The last two kinds of input carry information about the displacements and sampling operations used to assemble the rest. The synthesis network can therefore refine the pixels with access to both aligned content and information about how the alignment was obtained.
The authors linearly blend the warped images to produce a starting frame. They train the synthesis network to predict a residual, which is the correction needed to bring this blend toward the recorded intermediate frame. The final image combines the blend with the predicted correction. The starting frame already reflects the flow-based alignment. The authors’ rationale is that the synthesis network can concentrate on refining the combined image, including details that the initial blend leaves soft.
The paper uses residual learning in the context extractor as well, where the residual blocks operate on feature maps. Those blocks and the final image correction serve different purposes. The feature blocks transform representations within the network. The synthesis residual is an image correction defined relative to the blend of the aligned endpoint images. This distinction explains both where the visual context comes from and what the final stage is asked to predict.
Training on recorded middle frames
Training uses 51,312 triplets from Vimeo90K. According to the training description, every triplet contains three successive frames, each measuring 256 × 448 pixels. The outside frames supply the inputs, and the recorded middle frame is the target. This fixes the training time at t = 0.5. The authors augment these examples through horizontal and vertical flips and by reversing the order of the triplet. Temporal reversal exchanges the roles of the endpoints while keeping the middle frame as the target.
The training target supplies a direct comparison with the complete synthesized image. The flow estimator and the depth estimator enter training with their respective initial weights, while the feature extractor is learned from scratch. During joint training, the same frame reconstruction objective guides the components that estimate motion, order candidate samples by depth, extract context, choose local weights, and refine the output. The authors’ aim is motion and depth that are useful for frame interpolation.
L = Σₓ ρ(Îₜ(x) − Iₜᴳᵀ(x))
L is the training loss, and Σₓ adds contributions at the image positions x. The synthesized value at position x and time t is Îₜ(x). The corresponding recorded target value is Iₜᴳᵀ(x), with GT identifying ground truth. Their difference inside the parentheses is the reconstruction error supplied to the penalty function ρ. At training time, t refers to the middle of the triplet.
ρ(r) = √(r² + ε²)
In this expression, r denotes the reconstruction error passed to ρ. The Charbonnier penalty takes the square root, indicated by √, of the sum of the squared error r² and the squared constant ε². The authors set ε to 1e − 6. The expression gives a smooth penalty around a small error and grows as the magnitude of the error increases. It measures disagreement in the synthesized image, which is the signal used for optimizing the full system.
The authors use AdaMax with β₁ set to 0.9, β₂ set to 0.999, and a batch size of 2. The β values are optimizer settings. The kernel estimator, context extractor, and synthesis network begin with learning rates of 1e − 4. The flow estimator starts at 1e − 6 and the depth estimator at 1e − 7. The separate rates give the components that already have trained weights smaller initial updates than the components learning their roles in the interpolation pipeline.
Joint training runs for 30 epochs. The authors then reduce each learning rate by a factor of 0.2 and continue joint fine-tuning for another 10 epochs. An epoch is a pass through the training data. An NVIDIA Titan X (Pascal) is the hardware reported for the run, which took about 5 days to converge. These settings describe how the authors obtained the system evaluated in the paper, including how gently the motion and depth estimators were adjusted from their initial states.
At test time the projection can use any t in [0, 1]. Changing t changes how far the method advances the endpoint motions before gathering their proposals and how far it reverses them for backward sampling. This is how the architecture accepts a requested time even though its training targets are middle frames. The time enters the geometric alignment procedure, so the same trained system can synthesize frames at several positions within an interval.
Experiments and results
What the datasets test
The evaluation spans different resolutions and kinds of motion. Middlebury provides two distinct settings. Its OTHER set supplies the recorded intermediate frames, so the predictions can be compared directly with the targets. Its EVALUATION set keeps the targets hidden and scores submitted outputs. The images are around 640 × 480 pixels. The distinction between the sets matters throughout the paper. The depth analysis reports Interpolation Error on OTHER, while the benchmark ranks refer to EVALUATION.
Vimeo90K supplies a test split with 3,782 triplets at 448 × 256 pixels. It is from the same dataset as the training triplets, with a separate test split. UCF101 supplies 379 triplets at 256 × 256 pixels drawn from videos of varied human actions. These two evaluations ask how well the system can reconstruct a recorded frame in collections with different image sizes and scene content. The Vimeo90K test result also allows the authors to compare DAIN with earlier systems on the dataset used to train it.
The HD collection comprises 11 videos. The paper describes four at 1920×1080p, three at 1280 × 720p, and four at 1280 × 544p. It also describes motion in these videos as typically larger than in the other datasets. HD therefore provides examples in which alignment has to reach across larger image displacements. It helps test the architecture’s combination of a displacement field for moving the sampling center and a local kernel for choosing values around it.
The split between these evaluations matters for interpreting the numbers. A high score on Vimeo90K gives evidence for reconstruction on its test distribution. UCF101 checks a collection centered on human actions, and HD adds examples at larger resolutions and with typically larger motion. The Middlebury benchmark adds a hidden-target evaluation. Each setting tests the same overall objective, with different inputs and, in Middlebury’s case, different error measures.
How the comparisons are scored
The Middlebury results use average Interpolation Error, abbreviated IE, and Normalized Interpolation Error, abbreviated NIE. Lower values of either correspond to better performance under that measure. The paper reports the two separately because a method’s position among submissions can differ between them. A rank for IE therefore needs to be named with the metric and the split, as does a rank for NIE.
For Vimeo90K, UCF101, and HD, the authors compare peak signal-to-noise ratio, or PSNR, and the structural similarity index, or SSIM. PSNR expresses reconstruction fidelity in relation to pixel error and is reported in decibels. SSIM gives a complementary measure of how well image structure is preserved. Higher values are desirable for both. The examples shown with the scores address more local questions, such as whether a ball has a complete outline or whether a narrow pole stays continuous. Those details can help explain a visible difference between interpolations even when the aggregate measures give only a score for the whole image.
The learning-based comparisons include the direct synthesis approach MIND and the motion-based DVF. They also include SepConv, which uses adaptive separable kernels, and CtxSyn, which incorporates visual context in synthesis. Other comparisons are ToFlow, Super SloMo, and MEMC-Net. MEMC-Net is an especially close comparison because DAIN builds on its use of projected flow and adaptive warping. For EpicFlow and SPyNet, the authors use the interpolation procedure of Baker and colleagues to turn the estimated motion fields into output images. Those experiments compare complete interpolation results obtained with each flow method.
Benchmark scores and depth settings
On the Middlebury EVALUATION set, DAIN ranked first for NIE and third for IE among published entries at the time of submission. The rankings describe the benchmark at that point and show that the two measures gave it different positions. On the Vimeo90K test set, the authors report that DAIN improves PSNR over MEMC-Net by 0.42dB. They also report favorable comparisons across UCF101, HD, and Middlebury OTHER.
The depth experiment gives a numerical view of how Vimeo90K scores vary as the depth component changes. The chart compares the interpolation variants from the paper’s depth analysis. DA-None averages competing motions, DA-Scra learns depth from scratch, and DA-Pret uses a pretrained depth estimator whose weights are frozen. DA-Opti is DAIN’s setting, which starts from pretrained depth weights and adjusts them during interpolation training.
PSNR by depth setting on the Vimeo90K test set
Jointly adapting pretrained depth gives the highest PSNR among the tested depth settings.
The numbers
| System or setting | dB |
|---|---|
| DA-Scra | 34.30 |
| DA-None | 34.47 |
| DA-Pret | 34.52 |
| DA-Opti (this paper) | 34.71 |
In that depth comparison, DA-Opti also reaches 34.99 PSNR on the UCF101 evaluation triplets and 31.70 PSNR on the HD evaluation videos. These are the results of the selected depth setting on distinct collections. The Vimeo90K gain of 0.42dB refers to the comparison with MEMC-Net on the test split. The scores for the depth variants examine a different comparison, in which the authors change how DAIN obtains and uses depth.
What changes in the illustrated frames
The Middlebury EVALUATION example contains a moving ball and a person’s foot with slippers. The authors show duplicated or ghosted detail around the balls or foot in the outputs from EpicFlow, ToFlow, SepConv, and MEMC-Net. Ghosting here means that traces of content appear at more than one apparent location. DAIN keeps the ball’s shape clearer in the example. Its output also preserves more detail around the foot and slippers than the illustrated outputs of CtxSyn and Super SloMo. The ball is useful for judging shape because a broken or doubled contour is readily visible.
In the UCF101 example, a thin pole provides a different test of alignment. The outputs from SPyNet, EpicFlow, and SepConv show ghosting or breaks around the pole in the paper’s comparison. A narrow structure makes a displacement error easy to see because its two boundaries are close together. The authors show that DAIN brings the pole into a more continuous alignment. They also draw attention to the person’s leg. MIND, DVF, ToFlow, and MEMC-Net produce blurred detail there in the illustrated case, while DAIN preserves more of it.
The HD example is about the reach of a sampling operation. The authors attribute SepConv’s alignment failure in that scene to motion larger than the illustrated 51 × 51 kernel can accommodate. DAIN can use its optical flow to move the center of the local sampling window before applying the kernel. Relative to MEMC-Net, which also combines flow and local sampling, DAIN shows more detail in the hair and in features such as the eyes and mouth. The first comparison illustrates why the placement of the window matters. The second compares the quality of the reconstructed details within a related alignment approach.
Taken together, the illustrations show several ways an incorrect interpolation can look. A contour can appear twice, a long narrow structure can break, and fine detail can disappear into a blend. The authors use separate scenes to make these differences visible. The benchmark scores assess fidelity over collections of frames, while the selected examples identify the particular parts of an image in which the competing methods behave differently.
Runtime, size, and the slow-motion demonstration
The authors compare runtime on a 640 × 480 image. DAIN has a parameter count similar to SepConv’s and runs faster in the reported comparison. Relative to MEMC-Net, it uses 69% fewer parameters. The paper examines the two systems at the level of their submodules as well as the entire interpolation pipeline. Parameter count describes the size of the learned system, and execution time refers to performing interpolation for the stated image size. The training time on Vimeo90K concerns a separate operation.
The supplementary demonstration uses intermediate predictions to create 10× slow-motion video. Varying the requested time allows the system to place synthesized frames at different points between observed inputs. This demonstrates what the time parameter makes possible in use. The benchmark results quantify reconstruction in the evaluation setups described above, where a target frame can be supplied by the dataset or scored by the benchmark. The slow-motion example shows a video application of the same procedure across several intermediate times.
What the ablations show
Starting depth estimation from a meaningful ordering
The depth study varies both the presence of a depth estimator and the way its weights are obtained. DA-None removes the depth estimation network and uses an equal average when projected flow proposals coincide. This is the baseline for asking whether the depth pathway helps the interpolation system. DA-Scra includes depth-aware projection but starts its depth estimator with random weights and trains it jointly with the other components. Comparing these settings asks whether an interpolation objective alone supplies enough guidance to make the newly introduced depth pathway helpful under the authors’ training procedure.
DA-Pret also uses depth-aware projection, with the depth estimator initialized from weights trained in advance. In this setting the depth network stays fixed during interpolation training. DA-Opti begins with the same kind of pretrained initialization and allows the depth estimator to adapt together with the rest of DAIN. The comparison between these settings tests the value of adapting a depth estimate that already provides useful structure. It also distinguishes the contribution of a trained starting point from the effect of allowing further updates.
Interpolation Error by depth setting on Middlebury OTHER
The pretrained and jointly optimized depth setting gives the lowest interpolation error.
The numbers
| System or setting | IE |
|---|---|
| DA-Scra | 2.13 |
| DA-None | 2.10 |
| DA-Pret | 2.07 |
| DA-Opti (this paper) | 2.04 |
The ordering on Middlebury OTHER matches the ordering for PSNR on Vimeo90K. Starting the depth estimator from scratch gives the weakest score among the four variants in both charts. Freezing a pretrained estimator provides an improvement over equal averaging, and joint adjustment from the pretrained initialization gives the strongest setting. The same progression appears in the HD PSNR results. DA-Scra scores 31.42 on HD, DA-None scores 31.46, and DA-Pret scores 31.52. The jointly optimized setting gives the highest HD PSNR, as reported in the benchmark discussion.
One implication concerns what the final training signal can teach. The loss compares the reconstructed image with the recorded frame. Several components influence that reconstruction, and the loss does not directly specify the correct depth at a pixel. The random-start result shows that this setup can fail to yield a depth estimate useful for deciding which motion deserves more weight. The result applies to the tested architecture and training strategy. The comparison with frozen depth shows that a depth estimate learned in advance can already supply useful information to this projection rule.
The authors illustrate the contrast with maps and interpolated images of a person with a skateboard. The randomly initialized variant produces a depth map the authors regard as uninformative. The pretrained, frozen setting produces clearer boundaries in its motion field. With joint optimization, the depth depiction improves around the person’s legs in the example, and the interpolated shoe and skateboard edges become sharper. Laying the depth map, motion field, and image beside one another shows the stages through which a better surface ordering can affect the rendered boundary.
The improvement with DA-Opti is measured on interpolation. The depth-map visualization gives a qualitative indication of how the representation changes, while the frame metrics measure the final output. This distinction matters when reading the term “optimized depth.” The experiment shows that the adjusted estimate helps DAIN choose and combine source content. It does not establish the physical accuracy of the distances in that estimate.
Learning context at more than one stage
The separate context study changes the information delivered to frame synthesis. The authors compare a setting without contextual information with several ways of supplying it. Their pretrained conv1 features, called PCF, use responses from the first convolution of the classification network. Their learned conv1 features, LCF, use responses learned for interpolation from the first stage of the context extractor. The learned hierarchical features, LHF, include the later residual-block outputs as well. The authors also test depth maps, denoted D, as an additional source of context.
The context-free setting produces blur in the illustrated comparison. Supplying the pretrained first-layer features improves reconstruction, as does providing depth among the contextual inputs. The comparison with learned first-layer features asks whether training the representation for interpolation is useful. The hierarchical variant then broadens the representation by retaining outputs from the later blocks. The authors report that the learned features help, with a particularly strong improvement from the hierarchical representation on Vimeo90K and Middlebury.
The visual comparison shows the combined setting, which supplies both learned hierarchical features and depth maps, producing clearer and sharper content. These inputs can describe different properties of the region being synthesized. The visual features encode patterns gathered from the image at several stages, and the warped depth map carries information about the structure of the visible surfaces. The synthesis network receives both after they have been brought into the intermediate frame’s coordinates. The ablation measures whether that additional information improves the reconstruction under the tested architecture.
Depth as context and depth as a projection weight should be read as two experimental questions. The projection study changes how the estimator is initialized or updated and includes a baseline that removes the depth network in favor of equal averaging. The context study asks which information is useful to synthesis, including the depth map as one of its inputs. Together these results support the architecture that combines the two uses. The depth variants also show why the comparison with equal averaging concerns the presence and quality of the depth pathway as a whole, since DA-None removes the estimator itself.
Connecting maps, measurements, and image details
The ablations give evidence about different parts of the causal account. The depth settings connect the initial quality and later adaptation of the depth estimate to image fidelity. The context settings connect the representation delivered to synthesis to sharpness and aggregate reconstruction performance. The visual examples make those changes concrete. A sharper skateboard edge can be examined alongside a clearer flow boundary, while the context comparison shows that an aligned image can still benefit from a richer description of its neighborhood.
The main comparisons against earlier systems answer a broader question about the complete DAIN pipeline. They include all the effects of its motion estimation, depth projection, adaptive warping, and synthesis. The ablations narrow that comparison by changing particular components within the proposed approach. This is why the gain over MEMC-Net and the gain from adjusting the depth estimator have different interpretations. The former is a comparison of full systems, while the latter compares choices about how depth is obtained in DAIN.
Limitations
Limits identified by the authors
The authors identify inaccurate depth near object boundaries as a direct source of failure. Their example shows a shoe close to a skateboard. When the boundary between the two is ambiguous in the depth map, the projection has a weak basis for preferring one of their motions. The interpolated result then leaves an unclear, blurred boundary. The authors still judge the skateboard better reconstructed than in the ToFlow comparison. The example gives a specific case where the method can improve a scene overall while leaving a local visibility problem unresolved.
The authors estimate depth independently from each input image. They propose that a depth estimator using the input pair could give a more accurate basis for handling occlusion. They also suggest exploiting consistency between optical flow and depth. In the current design, direction-specific flow proposals are weighted using the depth map of their source frame. A method that explicitly related the estimates across the two frames could bring further evidence to a boundary whose appearance is ambiguous in either image considered by itself.
The paper adds that optimizing the flow and depth estimates for frame interpolation can yield values that differ from the corresponding physical quantities. The loss assesses whether the synthesized colors agree with the recorded intermediate frame. The same final image can be influenced by the local sampling kernels and the synthesis correction as well as by the motion and depth estimates. A strong reconstruction score therefore establishes how well those components work together on interpolation. It leaves the accuracy of flow as a measurement of motion and depth as a measurement of distance open.
Limits visible in the design and evaluation
The depth rule softens a conflict among projected motions. It increases the influence of a closer surface according to the estimated values, and competing proposals can still contribute. If the depths are close or the estimated order is wrong, the weighted result can remain ambiguous or favor the wrong source. This follows from the aggregation rule itself and helps account for the kind of boundary failure the authors illustrate. The ablation with random initialization gives a corresponding experimental result. Including depth-dependent weights can make reconstruction worse when the estimates supplying those weights are poor.
The time projection also makes a simplifying assumption. It locates a point at an intermediate time by taking a fraction of its estimated endpoint displacement. Changes in the speed or direction of actual motion inside the interval are unobserved by this construction. The synthesis stage can improve the resulting image using context, but the paper gives no separate measurement of how the projection behaves under different within-interval trajectories. The results evaluate the complete method on the chosen frame collections.
A hole in the projected field is handled by borrowing from available neighboring motions. That assumes nearby vectors provide a reasonable basis for sampling at the empty position. At a strong boundary, nearby vectors may belong to different surfaces. The depth weighting applies where trajectories supply proposals, and hole filling uses neighboring projected values. The published comparisons give the combined outcome of these operations. They leave open how much interpolation error comes specifically from holes or from cases in which their surroundings mix different motions.
The rounding used to form the set of contributors also sets a limit on what can be inferred from the weighted-average formula alone. For a fixed set, changing a depth or a displacement changes the weighted calculation. A change in displacement large enough to move a trajectory across a rounding boundary can change the set itself. The authors state that the layer supports end-to-end training and refer to supplementary details for back-propagation. The rounded assignments and the within-set aggregation should therefore be kept distinct when interpreting the claim about differentiability.
The supervision and tests place different kinds of evidence behind temporal flexibility. The training target is the middle frame at t = 0.5. The architecture accepts other t values, and the 10× demonstration shows that the authors use it at other times. The paper gives no breakdown of interpolation scores by time within the interval. Consequently, the demonstration supports the ability to create sequences at requested times, while relative reconstruction quality at different times remains unmeasured in the reported comparisons.
Finally, the reported image metrics summarize reconstruction over examples. They can reflect better behavior at occluding edges, but the paper provides no separate numerical occlusion-detection score. Its evidence for visibility handling comes from the proposed weighting rule, the depth ablations, and examples of the resulting maps and images. Those sources support the claim that estimated depth improves interpolation in the tested settings. A distinct evaluation of which surfaces are visible at each position would answer a narrower question about occlusion itself.
What came after
The paper identifies two directions for extending the depth cue, while the available record establishes no later study that carried them out as a follow-up to DAIN. The first direction is estimating depth from the input pair. In DAIN, each depth map comes from its own frame. A paired estimator could use the changing view of a surface across those images to help resolve an ambiguous ordering at an object boundary. The authors propose this as a way to improve the input to depth-aware projection.
The second direction is using consistency between optical flow and depth. The paper cites existing work on that relationship as a starting point for future investigation. In DAIN, the reconstruction loss connects the estimates through their effect on interpolation. An explicit consistency constraint would add a way to judge whether estimated motion and estimated scene structure agree. Both proposals address the failure illustrated by the shoe and skateboard, where better depth near the contact boundary could give the projection a clearer basis for choosing which motion to favor.
Cite
Cite as Wenbo Bao, Wei‐Sheng Lai, Chao Ma, Xiaoyun Zhang, Zhiyong Gao and Ming–Hsuan Yang. 2019. Depth-Aware Video Frame Interpolation. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.
@inproceedings{bao2019depth,
title = {{Depth-Aware Video Frame Interpolation}},
author = {Wenbo Bao, Wei‐Sheng Lai, Chao Ma, Xiaoyun Zhang, Zhiyong Gao and Ming–Hsuan Yang},
booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
year = {2019},
doi = {10.1109/cvpr.2019.00382},
eprint = {1904.00830},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/cvpr.2019.00382}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bao-2019-depth-aware-video-frame-interpolation/