Neural Implicit Representations for Physical Parameter Inference from a Single Video

Florian Hofherr, Lukas Koestler, Florian Bernard, Daniel Cremers

Abstract

This paper introduces a novel framework for extracting interpretable physical parameters—such as the length of a pendulum or the friction of a sliding block—from a single high-resolution video. By integrating Neural Implicit Representations for photorealistic appearance with Neural Ordinary Differential Equations (ODEs) for dynamics, the model learns to "understand" underlying physical laws. This approach enables accurate future motion prediction and the ability to re-render scenes with modified physical properties.

Introduction

Humans possess an intuitive grasp of physics; we can watch a video and estimate if an object is heavy or a surface is slippery. Replicating this in AI is challenging due to two primary factors: high data requirements and an interpretability gap. Most existing models require massive datasets to learn general rules or treat physics as a "black box" latent space, making it impossible to adjust specific physical constants like gravity or friction. Furthermore, many models struggle with high-resolution imagery and complex backgrounds, often relying on simplified object representations.

Methodology: Analysis-by-Synthesis

The proposed framework employs an analysis-by-synthesis approach that jointly optimizes for appearance and physics. The architecture consists of three core components:

  1. Dynamics Representation (Neural ODE): Motion is governed by a known parametric ODE (e.g., equations for a damped pendulum). The learnable parameters are the physical constants ($\theta_{ode}$) and initial conditions ($z_0$).
  2. Scene Representation (Neural Implicit Fields): The model uses two neural networks: one ($F$) for the static background and another ($G$) for the moving object's shape and color in its local coordinate system, similar to Neural Radiance Fields (NeRFs).
  3. Differentiable Rendering: A differentiable blender takes the state from the ODE, transforms the object's local coordinates into the global frame, and blends it over the background.
Comparison between synthesized and real video frames showing the model's ability to reconstruct complex scenes.

Because the entire pipeline is differentiable, the model minimizes a photometric loss between the rendered and real video frames to update both the neural networks and the physical parameters simultaneously.

Experimental Results

The researchers evaluated the model on various datasets, including moving MNIST digits, synthetic pendulums with complex textures (Wallclock, Stonewall), and real-world footage of sliding blocks and pendulums.

Physical Parameter Accuracy

On real-world monocular video, the model successfully recovered the metric length of a physical pendulum with a relative error of less than 4.1%. This demonstrates that the model doesn't just mimic motion but captures the actual physical dimensions of the system.

Ground truth measurement of a physical pendulum used to validate the model's parameter inference accuracy.

Extrapolation and Editing

By forcing motion to follow a specific ODE, the model gains superior extrapolation powers. In spring-system experiments, it achieved a PSNR of 30.30, significantly outperforming black-box baselines when predicting future frames. Additionally, because parameters like friction or length are explicit variables, users can perform "physical editing"—generating a photorealistic video of the same pendulum as if its length were doubled.

Discussion and Limitations

While the model shows high robustness and accuracy, it currently focuses on planar (2D) motion and requires a known parametric form for the ODE (the user must specify if the system is a pendulum or a spring). Future work aims to expand the framework to full 3D motion and automate the discovery of the underlying differential equations from scratch. Additionally, the current method assumes a static camera and background, which limits its application in dynamic environments.

Summary updated

BibTeX
@inproceedings{hofherr2023neural,
  author = {Florian Hofherr and Lukas Koestler and Florian Bernard and Daniel Cremers},
  title = {{Neural Implicit Representations for Physical Parameter Inference from a Single Video}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00213},
}
Figure