IPE: Inverse Physics Engine for Video

Nuo Chen1, Bangya Liu2, Jian Zhang1, Guandao Yang3, Wuyang Chen4, Atlas Wang3, Leonidas Guibas5, Gordon Wetzstein5, Zhiwen Fan1

1PHAI Lab, TAMU 22077AI 3UT Austin 4SFU 5Stanford

Task

Density, friction and stiffness from a single video

Can we recover an object's physical properties from a video? Should it come from visual priors? Kinematic cues?

Input videoOne clip of objects in motion.
Two cubes of the same size on a balance that tips to one side
Density ρMass per unit volume. Two objects of the same size can differ in weight.
A block sliding down a ramp that is rough on one half and smooth on the other
Friction μResistance to sliding. It sets how soon a moving object stops.
Two blocks under the same ball, one squashed and one keeping its shape
Stiffness EResistance to deformation. It sets how far an object gives under load.

Data

Real clips with measured ground truth

IPE-Real evaluates IPE on 364 real clips with physically measured ground truth, recorded in three setups so that only the interaction reveals the property. Measurement devices provide the ground truth for all three properties.

IPE-Real, test

Density ρ
The closed tin on a digital scaleDigital scale

Density from the weighed mass and the tin volume

CollisionOne tin holding one of eleven weighed masses slides down a ramp into a reference block.
Friction μ
A block with a pad on a tilted board next to a digital angle gaugeDigital angle gauge

Friction from the tilt angle at which sliding starts

SlidingOne wooden block fitted with one of nine hidden bottom pads of measured friction slides to a stop on a board.
Stiffness E
A foam block in a compression rigCompression rig

Stiffness from a compression test

SqueezeA gripper compresses five visually distinct foam blocks whose stiffness is measured with compression tests.

Compared with existing physical-property benchmarks

Dataset#Samples#RealRealMeas.Cntf.Pix.DensityFrictionStiffness
Physics 101 Wu et al. 201617.4K17.4K✓✓××✓××
IDPP Zhan et al. 202636.3K0.3K✓✓×××✓×
GAUGE Wang et al. 20261.6K1.6K✓✓××✓✓✓
ContPhy Zheng et al. 20242.0K0××××✓✓×
CoPhy Baradel et al. 2020286K0××✓××✓×
ABO-8k Paul et al. 2026123K0×××✓✓✓✓
IPE (ours)860K837K
IPE-Sim22.8K0××✓✓✓✓✓
IPE-Static837K837K✓××✓✓✓✓
IPE-Real0.4K0.4K✓✓✓×✓✓✓

We compare scale in clips or images (#Samples, with #Real real-world), whether labels are measured (Meas.), whether clips differ only in one property (Cntf.), and whether labels are per pixel (Pix.).

Results

Results in the wild

Dense maps on in-the-wild videos. Each tile plays the input and the IPE map. Drag the divider to compare.

InputDensity ρFriction μStiffness E
Density ρ1004,000kg/m³
Friction μ0.200.80friction coefficient
Stiffness E100 kPa100 GPa

Intuition

Appearance prior and kinematic likelihood

Perceptions may be compared with hypotheses in science.

R. L. Gregory, “Perceptions as hypotheses,” 1980

The clips below show the same tin with two different hidden loads. Appearance alone cannot tell the two densities apart. How the tin moves in a collision can.

Appearance prior

The closed tin weighs 24.3 g in one clip and 539.6 g in the other. A single frame cannot tell them apart, so the appearance prior gives both nearly the same broad range of density.

Kinematic likelihood

In both clips the tin slides into the same reference block, and the collision plays out differently for the two loads. The kinematic likelihood reads that difference. The posteriors separate in the right order: the heavier load reads denser.

Method

Bayesian fusion

An appearance prior times a kinematic likelihood, in a shared latent space.

  1. Input video
  2. Kinematic likelihood
  3. Appearance prior
  4. Per-cell product
  5. Dense property maps