Layered neural rendering for retiming people in video

Erika Lu, Forrester Cole, Tali Dekel, Weidi Xie, Andrew Zisserman, David Salesin, William T. Freeman, Michael Rubinstein · DOI

Introduction

Retiming individuals within a single video—such as synchronizing multiple people jumping into a pool at different times—presents a significant challenge for traditional video editing. The difficulty lies in the complex secondary effects associated with human motion: shadows, reflections, and water splashes. Simply cutting and pasting a person from one frame to another ignores these environmental interactions, leading to unrealistic results.

Original video frames showing three children jumping into a pool at different times (t1, t2, t3).

The Challenge of Disentanglement

Existing video editing methods typically fall into two categories: global retiming, which affects the entire frame, or motion transfer to 3D models, which often appears "uncanny" and fails to account for the surrounding environment. The core problem is disentanglement: separating a person from the ripples, shadows, or splashes they create so that these effects can move in sync with the retimed individual.

Methods: Layered Neural Rendering

The proposed solution is a Layered Neural Rendering pipeline. Instead of treating video as a sequence of flat images, the system decomposes the video into a set of RGBA layers that are composited back-to-front.

Decomposition of a video into neural layers, including a background layer and individual layers for each person.
  1. Human-Specific Layers: Each person (or group) and the background are assigned dedicated layers.
  2. Neural Renderer: A deep neural network, trained per-video, reconstructs the original footage by learning to map UV maps (2D "skins" of the people) to the final layers.
  3. Self-Supervised Learning: The model is forced to decompose the video such that the stacked layers perfectly match the original input.
  4. Full-Body UV Completion: To handle occlusions (e.g., someone walking behind an object), a separate "keypoint-to-UV" network estimates hidden parts of the person.

Key Insights: The "Correlation" Trick

A pivotal insight of this research is that Convolutional Neural Networks (CNNs) are biased toward learning correlated patterns. Because a shadow or a splash moves in perfect synchronization with the person causing it, the network finds it mathematically simpler to assign these effects to the person's specific layer rather than the background. By using a person's geometry (UV maps) as a "seed," the network is guided to capture all associated visual effects—like loose clothing or reflections—within that specific layer.

Results and Applications

The system enables several advanced editing capabilities:

  • Independent Retiming: Users can synchronize actions, such as making multiple jumpers hit the water simultaneously, with all splashes and reflections moving correctly.
  • Person Removal: The model can "erase" individuals from a scene, automatically removing their shadows and reflections, a task that traditionally requires laborious manual rotoscoping.
  • Artifact Reduction: Unlike non-layered approaches, this method avoids "ghosting" when people are moved into new configurations not present in the original training data.

Limitations

While powerful, the method currently assumes a mostly static background and struggles with dynamic elements like moving cars or changing lights. Additionally, training is computationally intensive, requiring 5 to 12 hours per video. For extremely complex scenes, minor manual "trimaps" may still be needed to guide the network's pixel assignment.

Summary updated

Abstract

We present a method for retiming people in an ordinary, natural video --- manipulating and editing the time in which different motions of individuals in the video occur. We can temporally align different motions, change the speed of certain actions (speeding up/slowing down, or entirely "freezing" people), or "erase" selected people from the video altogether. We achieve these effects computationally via a dedicated learning-based layered video representation, where each frame in the video is decomposed into separate RGBA layers, representing the appearance of different people in the video. A key property of our model is that it not only disentangles the direct motions of each person in the input video, but also correlates each person automatically with the scene changes they generate---e.g., shadows, reflections, and motion of loose clothing. The layers can be individually retimed and recombined into a new video, allowing us to achieve realistic, high-quality renderings of retiming effects for real-world videos depicting complex actions and involving multiple individuals, including dancing, trampoline jumping, or group running.
BibTeX
@article{lu2020layered,
  author = {Erika Lu and Forrester Cole and Tali Dekel and Weidi Xie and Andrew Zisserman and David Salesin and William T. Freeman and Michael Rubinstein},
  title = {{Layered neural rendering for retiming people in video}},
  journal = {ACM Trans. Graphics},
  year = {2020},
  doi = {10.1145/3414685.3417760},
}
Figure