Flow Supervision for Deformable NeRF

Chaoyang Wang, Lachlan Ewen MacDonald, László A. Jeni, Simon Lucey

Introduction

Reconstructing dynamic scenes from monocular video—captured by a single moving camera—presents a fundamental challenge in computer vision: the inherent ambiguity between camera motion and object motion. Deformable Neural Radiance Fields (NeRFs) have emerged as a powerful tool for this task, typically employing a backward deformation field to map points from the observation space back to a static "canonical" space. By optimizing based on photometric (color) consistency, these models can synthesize novel views of moving subjects.

However, standard deformable NeRFs struggle significantly when objects exhibit rapid motion. In such cases, the lack of spatial overlap between frames causes the photometric loss to fall into poor local minima, leading to "cloudy" artifacts and a failure to track the object. While optical flow offers a potential temporal supervisory signal, integrating it into a backward-deformation framework is non-trivial. Computing forward scene flow from a backward field requires inverting a complex, non-bijective neural network—a process that is both mathematically ill-posed and computationally prohibitive.

Methodology: Analytical Flow Supervision

This work introduces a method to efficiently apply optical flow supervision by bypassing the need for explicit network inversion. The core innovation lies in leveraging the inverse function theorem to derive motion directly from the backward deformation field.

Analytical Velocity Computation

Instead of seeking a global inverse for the deformation network, the authors assume the field is locally bijective. This allows for the analytical computation of the 3D velocity $\mathbf{v}$ of any point $\mathbf{p}$ at time $t$. As shown in the diagram below, the velocity is determined by the inverse of the spatial Jacobian matrix ($\mathbf{J}_p^{-1}$) of the deformation field multiplied by its time derivative.

Analytical computation of 3D velocity from a backward deformation field using the inverse function theorem.

Scene Flow Integration and Supervision

With a continuous velocity field established, the 3D scene flow is computed by integrating these velocities over time using a differentiable 4th-order Runge-Kutta ODE solver. This 3D flow is then projected into 2D image space and supervised using high-quality optical flow maps generated by off-the-shelf models like RAFT. This provides the explicit temporal gradients necessary to guide the optimization, even when photometric overlap is minimal.

Removing Gauge Ambiguity

Deformable NeRFs often suffer from "gauge freedom," where the network incorrectly attributes background motion to the deformation field, resulting in jittery static regions. To resolve this, the authors anchor the canonical space to a specific keyframe (typically the middle frame) via a penalty loss. This forces the background to remain static in the canonical representation, effectively acting as a foreground/background separator.

Experimental Results

The proposed method was evaluated on challenging datasets including NVIDIA Dynamic View Synthesis (NDVS) and the Nerfies dataset (modified for strict monocular evaluation), as well as casual videos from DAVIS.

Quantitative and Qualitative Performance

On the NDVS "Playground" sequence, which features rapid motion, the inclusion of flow supervision improved the full-image PSNR from 16.33 (baseline Nerfies) to 22.39. Qualitatively, the method eliminates the "floaters" and artifacts common in previous approaches. As illustrated in the comparison below, the flow-supervised model produces significantly sharper reconstructions and more coherent depth maps for fast-moving objects compared to the photometric-only baseline.

Comparison of dynamic scene reconstruction with and without flow supervision. Flow supervision enables accurate tracking of rapid object motion and produces cleaner depth maps.

Convergence and Motion Recovery

Toy experiments involving rapid translational and rotational motions demonstrate that flow supervision not only improves final accuracy but also drastically speeds up training convergence. Methods relying solely on color error often fail to recover large motions entirely, whereas the proposed approach tracks them accurately from early iterations.

Discussion and Limitations

While providing a significant leap in dynamic NeRF quality, the method has certain limitations. Due to the monocular nature of the input, scale ambiguity remains a challenge; moving objects may be rendered at incorrect relative depths. Additionally, the choice of the canonical frame can impact results for objects undergoing extreme topological changes (e.g., an opening umbrella).

The current implementation requires approximately 13 hours of optimization on 4x RTX 3090 GPUs, though future work could utilize grid-based backbones like Instant-NGP to achieve near real-time performance. Finally, the method relies on camera parallax to separate geometry from motion, making it less effective for videos with static or minimal camera movement.

Summary updated

BibTeX
@inproceedings{wang2023flow,
  author = {Chaoyang Wang and Lachlan Ewen MacDonald and László A. Jeni and Simon Lucey},
  title = {{Flow Supervision for Deformable NeRF}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure