File size: 4,334 Bytes
7b2a2f6 85c20f6 8f66e85 85c20f6 7b2a2f6 |
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
---
license: apache-2.0
language:
- en
tags:
- Video
- Image-to-Video
- Text
size_categories:
- n<1K
---
<a href="" target="_blank">
<img alt="arXiv" src="https://img.shields.io/badge/arXiv-pisa--experiments-red?logo=arxiv" height="20" /></a>
<a href="https://vision-x-nyu.github.io/pisa-experiments.github.io/" target="_blank">
<img alt="Website" src="https://img.shields.io/badge/π_Website-pisa--experiments-blue.svg" height="20" /></a>
<a href="https://github.com/vision-x-nyu/pisa-experiments" target="_blank" style="display: inline-block; margin-right: 10px;">
<img alt="GitHub Code" src="https://img.shields.io/badge/Code-pisa--experiments-white?&logo=github&logoColor=white" /></a>
# Pisa Experiments
This repository contains the PisaBench, training data, model checkpoints, introduced in [PISA Experiments: Exploring Physics Post-Training for Video Diffusion Models by Watching Stuff Drop](https://arxiv.org/pdf/).
## PisaBench
### Real World Videos
We curate a dataset comprising 361 videos demonstrating the dropping task.Each video begins with an object suspended by an invisible wire in the first frame. We cut the video clips to begin as soon as the wire is released and record the videos in slow-motion at 120 frames per second (fps) with cellphone cameras mounted on tripods to eliminate camera motion.
We save each video in the following fomat:
```
βββ 00000.jpg
βββ 00001.jpg
...
βββ movie.mp4
βββ clip_info.json
```
* `clip_info.json` is a json file that contains positive/negative point annotations and text descriptions for each video.
Real world videos can be found at: `pisabench/real.zip`.
### Simulated Test Videos
Since our post-training process uses a dataset of simulated videos, we also create a simulation test-set of 60 videos for understanding sim2real transfer. We create two splits of 30 videos each: one featuring objects and backgrounds seen during training, and the other featuring unseen objects and backgrounds.
We save each video in the following format:
```bash
βββ rbga_00000.jpg
βββ rbga_00001.jpg
...
βββ movie.gif
βββ mask.npz
βββ clip_info.json
```
- `mask.npz` is segmentation masks for all objects with shape `[V, N, H, W]`, where `V` is the number of video frames, `N` is the number of objects, `H` is the height, and `W` is the `width`.
- `clip_info.json` is a json file that contains annotations and text descriptions for each video.
Simulated test videos can be found at: `pisabench/sim.zip`.
## Training Data
We use Google's [Kubric](https://github.com/google-research/kubric) for generating simulated physics videos. Kubric combines [PyBullet](https://pybullet.org/wordpress/) and [Blender](https://www.blender.org/) for handling simulation and rendering seamlessly in a unified library.
We use the [Google Scanned Objects](https://research.google/blog/scanned-objects-by-google-research-a-dataset-of-3d-scanned-common-household-items/) (GSO) dataset which is already supported in Kubric. The GSO dataset consists of ~1000 high quality 3D objects that come from scans of a variety of everyday objects.
Training data can be found at:
* Physics Supervised Fine-Tuning (PSFT): `training_data/psft.zip`.
* Object Reward Optimization (ORO): `training_data/oro.zip`.
## Checkpoints
Our approach for post-training is inspired by the two-stage pipeline consisting of supervised fine-tuning followed by reward modeling commonly used in LLMs.
Checkpoints can be found at:
* Open-Sora + PSFT (base): `/checkpoints/base`.
* base + ORO (Seg): `/checkpoints/oro_seg`.
* base + ORO (Flow): `/checkpoints/oro_flow`.
* base + ORO (Depth): `/checkpoints/oro_depth`.
## Download Dataset
PisaBench can be downloaded using the following code:
```python
from huggingface_hub import snapshot_download
dataset_path = 'PATH' # The local directory to save downloaded dataset
snapshot_download("nyu-visionx/pisa-experiments", local_dir=dataset_path, repo_type='dataset')
```
## Citation
``` bibtex
@article{li2025pisa,
title={PISA Experiments: Exploring Physics Post-Training for Video Diffusion Models by Watching Stuff Drop},
author={Li, Chenyu and Michel, Oscar and Pan, Xichen and Liu, Sainan and Roberts, Mike and Xie, Saining},
journal={arXiv preprint arXiv:2503.09595},
year={2025}
}
``` |