File size: 1,926 Bytes
ec491b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d781163
ec491b0
 
 
 
 
 
 
 
 
 
d781163
ec491b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7ad230a
 
 
 
 
 
 
 
ec491b0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
license: apache-2.0
library_name: pytorch
pipeline_tag: video-to-video
tags:
  - physics
  - physical-properties
  - video
  - density
  - friction
  - stiffness
---

# IPE: Inverse Physics Engine for Video

[Project Page](https://inverse-physics-engine.github.io) | [Paper](https://arxiv.org/abs/2612.06280) | [Code](https://github.com/phai-lab/IPE)

IPE is a feed-forward network that recovers pixel-aligned dense maps of density, friction and stiffness directly from real videos, without fitting a simulator to each scene. It computes the per-cell product of an appearance prior and a kinematic likelihood in a shared latent space, which gives a dense posterior.

## Files

| Path | Content |
|---|---|
| `appearance_regression.pt` | appearance prior, regression network |
| `appearance_classnet.pt` | appearance prior, class network |
| `likelihood/transformer/` | kinematic likelihood (video transformer) |
| `likelihood/poe.pt` | likelihood refinement blocks and variance head |
| `lut/{density,friction,stiffness}.pt` | per-property lookup tables |

## Usage

Download the weights into `checkpoints/` of the code repository:

```bash
git clone https://github.com/phai-lab/IPE.git
cd IPE
pip install -r requirements.txt
hf download nnuochen/IPE --local-dir checkpoints
```

Then follow the [Quick Start](https://github.com/phai-lab/IPE#quick-start) in the code repository to run IPE on a video. Wan 2.1 T2V 1.3B, Qwen3-VL 8B and SAM 2.1 are downloaded from Hugging Face on first use.

## Citation

```bibtex
@misc{chen2026ipeinversephysicsengine,
      title={IPE: Inverse Physics Engine for Video}, 
      author={Nuo Chen and Bangya Liu and Jian Zhang and Guandao Yang and Wuyang Chen and Atlas Wang and Leonidas Guibas and Gordon Wetzstein and Zhiwen Fan},
      year={2026},
      eprint={2612.06280},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2612.06280}, 
}
```