PhysInOneP02 commited on
Commit
8316bb3
·
verified ·
1 Parent(s): bf2fbcd

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +392 -266
README.md CHANGED
@@ -39,35 +39,65 @@ homepage: https://vlar-group.github.io/PhysInOne.html
39
 
40
  # PhysInOne: Visual Physics Learning and Reasoning in One Suite
41
 
42
- [Project Page](https://vlar-group.github.io/PhysInOne.html) | [Paper](https://arxiv.org/abs/2604.09415) | [Code](TODO) | [Dataset](TODO)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
- ## Dataset Summary
45
 
46
- **PhysInOne** is a large-scale synthetic dataset for visual physics learning and reasoning. It contains **153,810 dynamic 3D scenes** and **2 million annotated videos**, systematically covering **71 basic physical phenomena** across four domains of everyday physics: **mechanics**, **optics**, **fluid dynamics**, and **magnetism**.
47
 
48
- Unlike prior visual physics datasets that are often limited in scale, physical diversity, or annotation richness, PhysInOne provides multi-object and multi-physics interactions in complex 3D environments, together with comprehensive annotations including **geometry**, **semantics**, **motion**, **physical properties**, and **text descriptions**.
49
 
50
- PhysInOne is designed to support research on physics-grounded world models, physically plausible video generation, future frame prediction, physical property estimation, motion transfer, and embodied AI.
51
 
52
- ## News
53
 
54
- - **2026-04-10**: PhysInOne paper released on arXiv.
55
- - **TODO**: Dataset released on Hugging Face.
56
- - **TODO**: Benchmark code and evaluation scripts released.
57
 
58
- ## Visual Overview
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  <p align="center">
61
  <img src="./assets/teaser.jpg" width="900">
62
  </p>
63
 
64
  <p align="center">
65
- <em>PhysInOne covers diverse dynamic 3D scenes across mechanics, optics, fluid dynamics, and magnetism.</em>
66
  </p>
67
 
68
- ## Dataset Examples
69
 
70
- The following examples show representative dynamic scenes from the four major physical domains covered by PhysInOne.
71
 
72
  | Mechanics | Fluid Dynamics |
73
  | ------------------------------------ | -------------------------------- |
@@ -77,45 +107,14 @@ The following examples show representative dynamic scenes from the four major ph
77
  | --------------------------------- | ------------------------------------ |
78
  | ![](./assets/examples_optics.gif) | ![](./assets/examples_magnetism.gif) |
79
 
80
- High-quality MP4 examples are also available:
81
-
82
- | Domain | MP4 |
83
  | -------------- | --------------------------------------------- |
84
  | Mechanics | [View video](./assets/examples_mechanics.mp4) |
85
  | Fluid Dynamics | [View video](./assets/examples_fluid.mp4) |
86
  | Optics | [View video](./assets/examples_optics.mp4) |
87
  | Magnetism | [View video](./assets/examples_magnetism.mp4) |
88
 
89
- ## Dataset Highlights
90
-
91
- | Feature | Description |
92
- | ----------------------- | ------------------------------------------------------------------------------------------------------- |
93
- | Dynamic 3D scenes | 153,810 |
94
- | Dynamic videos | 2 million |
95
- | Physical phenomena | 71 |
96
- | Physical domains | Mechanics, Optics, Fluid Dynamics, Magnetism |
97
- | Multiphysics activities | 3,284 |
98
- | 3D objects | 2,231 |
99
- | Materials | 623 |
100
- | 3D backgrounds | 528 |
101
- | Cameras per scene | 12 fixed cameras + 1 moving monocular camera |
102
- | Video resolution | 1120 × 1120 |
103
- | Frame rate | 30 FPS; 60 FPS for laser-related scenes |
104
- | Average duration | Approximately 5.2 seconds |
105
- | Annotation types | RGB, depth, masks, 3D trajectories, object meshes, material properties, camera poses, text descriptions |
106
-
107
- ## Dataset Description
108
-
109
- PhysInOne aims to address the scarcity of large-scale, physically grounded visual data for training and evaluating AI systems. The dataset focuses on visually observable everyday physics and covers four major domains:
110
-
111
- - **Mechanics**: gravity, collision, acceleration, equilibrium, rotation, Hooke's law, conservation of momentum, and related phenomena.
112
- - **Optics**: reflection, refraction, mirror interactions, laser-related activities, and other visible optical phenomena.
113
- - **Fluid Dynamics**: liquid motion, splashing, buoyancy, droplets, and related interactions.
114
- - **Magnetism**: magnetic attraction, magnetic imbalance, and multi-object magnetic interactions.
115
-
116
- Each scene may involve one or more physical phenomena occurring simultaneously or sequentially. These phenomena are instantiated as concrete 3D scenes with diverse objects, materials, and backgrounds.
117
-
118
- ## Dataset Structure
119
 
120
  The exact released structure may vary depending on the hosted version. A recommended structure is shown below.
121
 
@@ -124,7 +123,6 @@ PhysInOne/
124
  ├── README.md
125
  ├── assets/
126
  │ ├── teaser.jpg
127
- │ ├── dataset_statistics.jpg
128
  │ ├── annotation_overview.jpg
129
  │ ├── examples_mechanics.gif
130
  │ ├── examples_fluid.gif
@@ -138,39 +136,40 @@ PhysInOne/
138
  │ ├── train.jsonl
139
  │ ├── val.jsonl
140
  │ ├── test.jsonl
 
141
  │ ├── phenomena_taxonomy.json
142
- ── material_properties.json
143
- │ └── benchmark_subsets.json
144
  ├── videos/
145
  │ ├── train/
146
  │ ├── val/
147
  │ └── test/
148
  ├── annotations/
149
  │ ├── depth/
150
- │ ├── masks/
 
151
  │ ├── trajectories/
152
- │ ├── camera_poses/
153
- ── meshes/
154
- │ └── material_properties/
155
  └── scripts/
156
  ├── download.py
157
  ├── load_sample.py
158
  └── visualize_sample.py
159
  ```
160
 
161
- Each scene is associated with multiple rendered videos and annotations. A typical metadata entry may look like:
162
 
163
  ```json
164
  {
165
- "scene_id": "scene_000000",
166
- "activity_id": "activity_0000",
167
  "split": "train",
 
168
  "physical_domains": ["mechanics"],
169
  "physical_phenomena": ["gravity", "collision"],
170
- "caption": "A red ball rolls down a sloped surface and collides with a box...",
171
- "duration": 5.2,
172
- "fps": 30,
173
- "resolution": [1120, 1120],
174
  "videos": {
175
  "fixed_camera_00": "videos/train/scene_000000/camera_00.mp4",
176
  "fixed_camera_01": "videos/train/scene_000000/camera_01.mp4",
@@ -178,313 +177,439 @@ Each scene is associated with multiple rendered videos and annotations. A typica
178
  },
179
  "annotations": {
180
  "depth": "annotations/depth/train/scene_000000/",
181
- "masks": "annotations/masks/train/scene_000000/",
182
- "trajectories": "annotations/trajectories/train/scene_000000.json",
183
- "camera_poses": "annotations/camera_poses/train/scene_000000.json",
184
- "meshes": "annotations/meshes/train/scene_000000/",
185
- "material_properties": "annotations/material_properties/train/scene_000000.json"
186
  }
187
  }
188
  ```
189
 
190
- ## Data Splits
191
 
192
- PhysInOne is split into training, validation, and held-out test sets with an **8:1:1** ratio. To reduce data leakage, 3D assets are assigned exclusively to one split.
193
 
194
- | Split | Ratio | Description |
195
- | ------------- | -----:| --------------------------------------------------------------------------- |
196
- | Train | 80% | Used for model training and fine-tuning |
197
- | Validation | 10% | Used for validation, ablation, and model selection |
198
- | Held-out Test | 10% | Used for final evaluation; 3D assets are disjoint from train and validation |
199
 
200
- ## Benchmark Subsets
201
 
202
- The paper uses several smaller subsets for efficient benchmarking.
 
 
 
 
203
 
204
- | Subset | Size | Used for |
205
- | ---------------------- | ---------------------:| ------------------------------------------------ |
206
- | `test-small` | 772 text-video pairs | Physics-aware video generation |
207
- | `test-mini` | 103 scenes | Long-term and short-term future frame prediction |
208
- | `test-tiny` | 20 scenes | Physical property estimation |
209
- | Motion transfer subset | 273 validation scenes | Motion transfer evaluation |
210
 
211
- ## Data Fields
212
 
213
- The dataset may contain the following fields.
214
-
215
- | Field | Type | Description |
216
- | --------------------- | ------------ | ------------------------------------------------------------------------ |
217
- | `scene_id` | string | Unique identifier of a dynamic 3D scene |
218
- | `activity_id` | string | Identifier of the physical activity |
219
- | `split` | string | Dataset split: train, validation, or test |
220
- | `physical_domains` | list[string] | Physics domains involved in the scene |
221
- | `physical_phenomena` | list[string] | Basic physical phenomena involved in the scene |
222
- | `caption` | string | English description of the scene, visual elements, and physical activity |
223
- | `videos` | dict | Paths to videos rendered from fixed and moving cameras |
224
- | `depth` | path | Ground-truth depth images |
225
- | `masks` | path | Per-frame object masks |
226
- | `trajectories` | path/json | 3D trajectories of dynamic objects |
227
- | `camera_poses` | path/json | Camera intrinsics and extrinsics |
228
- | `meshes` | path | Object mesh files |
229
- | `material_properties` | path/json | Physical and material properties of scene objects |
230
 
231
- ## Annotation Details
232
 
233
- PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
234
 
235
- <p align="center">
236
- <img src="./assets/annotation_overview.jpg" width="900">
237
- </p>
 
 
238
 
239
- | Annotation | Description |
240
- | ------------------- | ---------------------------------------------------------------------------------------------------------------- |
241
- | RGB videos | Rendered videos from 12 fixed cameras and 1 moving monocular camera |
242
- | Depth maps | Ground-truth depth images synchronized with rendered RGB frames |
243
- | Object masks | Per-frame object masks for semantic or instance-level scene understanding |
244
- | 3D trajectories | Object-level motion trajectories over time |
245
- | Camera poses | Camera parameters for multi-view geometric reasoning |
246
- | Object meshes | 3D mesh assets associated with scene objects |
247
- | Material properties | Physical and material parameters such as density, friction, restitution, and other simulation-related properties |
248
- | Text descriptions | Human-written and proofread English paragraphs describing the scene and physical activity |
249
 
250
- Users should check the released metadata specification for coordinate systems, units, camera conventions, mask encoding, and material parameter definitions.
251
 
252
- ## Supported Tasks and Benchmarks
 
 
 
 
 
 
 
 
 
 
253
 
254
- PhysInOne is designed to support several visual physics learning and reasoning tasks.
255
 
256
- ### 1. Physics-aware Video Generation
257
 
258
- Given text prompts, initial frames, or image conditions, models are expected to generate videos that are not only visually realistic but also physically plausible.
259
 
260
- Potential settings include:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
 
262
- - Text-to-video generation
263
- - Image-to-video generation
264
- - Text-image-to-video generation
265
- - Video model fine-tuning with physics-rich data
266
 
267
- Representative models evaluated in the paper include:
268
 
269
- - SVD-XT
270
- - CogVideoX-1.5-5B
271
- - Wan2.2-5B
272
 
273
- Suggested evaluation metrics include:
 
 
274
 
275
- - PMF: Physical Motion Fidelity
276
- - FVD
277
- - Human physical plausibility rating
 
 
 
 
278
 
279
- ### 2. Long-term Future Frame Prediction
280
 
281
- Given the first half of a dynamic scene, models are expected to predict the second half of the video while preserving physically plausible motion.
282
 
283
- This setting can be used to evaluate:
 
 
 
 
284
 
285
- - Scene-specific 4D modeling methods
286
- - Video prediction models
287
- - Seen-view prediction
288
- - Novel-view prediction
289
 
290
- Representative models evaluated in the paper include:
 
 
 
 
291
 
292
- - TiNeuVox
293
- - DefGS
294
- - TRACE
295
- - FreeGave
296
- - ExtDM
297
- - MAGI-1
298
 
299
- Suggested evaluation metrics include:
 
 
 
 
300
 
301
- - PMF
302
- - PSNR
303
- - SSIM
304
- - LPIPS
305
 
306
- ### 3. Continuous Short-term Future Frame Prediction
 
 
307
 
308
- Given a stream of observed frames, models are expected to continuously predict the next few frames in a real-time or near-real-time manner.
309
 
310
- This setting is useful for:
 
311
 
312
- - Future-aware robot planning
313
- - Embodied AI
314
- - Dynamic scene understanding
315
- - Short-horizon physical prediction
 
 
 
316
 
317
- Representative models evaluated in the paper include:
318
 
319
- - DefGS
320
- - FreeGave
321
- - ExtDM
322
- - MAGI-1
 
323
 
324
- Suggested evaluation metrics include:
325
 
326
- - PMF
327
- - PSNR
328
- - SSIM
329
- - LPIPS
330
 
331
- ### 4. Physical Property Estimation
 
 
 
 
 
332
 
333
- Given visual observations of dynamic scenes, models are expected to infer physical properties of objects and materials.
334
 
335
- Target properties may include:
 
 
336
 
337
- - Young's modulus
338
- - Poisson's ratio
339
- - Viscosity
340
- - Bulk modulus
341
- - Yield stress
342
- - Friction angle
343
- - Initial velocity
 
 
 
344
 
345
- Representative models evaluated in the paper include:
346
 
347
- - PAC-NeRF
348
- - GIC
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
 
350
- This task is useful for inverse physics, system identification, resimulation, editable scene dynamics, and robot interaction.
351
 
352
- ### 5. Motion Transfer
353
 
354
- Given a source video and a target image or scene, models are expected to transfer physically meaningful motion patterns from the source to the target while preserving the target appearance.
 
 
355
 
356
- Representative models evaluated in the paper include:
357
 
358
- - MotionPro
359
- - GoWithTheFlow
360
 
361
- Suggested evaluation metrics include:
362
 
363
- - PMF
364
- - PSNR
365
- - SSIM
366
- - LPIPS
367
 
368
- ## How to Use
369
 
370
- ### Install Dependencies
371
 
372
- ```bash
373
- pip install datasets huggingface_hub
374
- ```
375
 
376
- ### Download Metadata Only
 
 
 
 
377
 
378
- ```bash
379
- huggingface-cli download TODO/PhysInOne \
380
- --include "metadata/*" \
381
- --local-dir ./PhysInOne
 
 
 
 
 
 
382
  ```
383
 
384
- ### Download a Small Subset
385
 
386
- ```bash
387
- huggingface-cli download TODO/PhysInOne \
388
- --include "metadata/*" \
389
- --include "videos/test-small/*" \
390
- --local-dir ./PhysInOne
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  ```
392
 
393
- ### Load with `datasets`
394
 
395
- ```python
396
- from datasets import load_dataset
 
397
 
398
- dataset = load_dataset("TODO/PhysInOne", split="train")
399
- sample = dataset[0]
400
 
401
- print(sample.keys())
402
- print(sample["caption"])
403
- print(sample["physical_domains"])
404
- print(sample["physical_phenomena"])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  ```
406
 
407
- ### Visualize a Sample
408
 
409
- ```python
410
- import json
411
- from pathlib import Path
412
 
413
- metadata_path = Path("./PhysInOne/metadata/train.jsonl")
414
 
415
- with open(metadata_path, "r") as f:
416
- sample = json.loads(next(f))
 
 
 
 
 
 
417
 
418
- print("Scene ID:", sample["scene_id"])
419
- print("Caption:", sample["caption"])
420
- print("Videos:", sample["videos"])
421
- print("Annotations:", sample["annotations"])
422
  ```
423
 
424
- ## Data Creation Pipeline
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
 
426
- PhysInOne is constructed through a multi-stage pipeline.
427
 
428
- ### 1. Identifying Physical Phenomena and Laws
429
 
430
- The dataset identifies 71 basic physical phenomena across mechanics, optics, fluid dynamics, and magnetism. These phenomena are governed by fundamental physical laws such as Newton's laws, conservation of momentum, Hooke's law, Bernoulli's principle, and related laws.
431
 
432
- ### 2. Collecting 3D Assets
 
 
 
433
 
434
- The dataset uses diverse 3D objects, materials, and backgrounds to instantiate realistic physical scenes. These assets include solid objects, interactable objects, destructible objects, deformable objects, granular objects, liquids, materials, and 3D backgrounds.
435
 
436
- ### 3. Creating Multiphysics Multi-object 3D Scenes
 
 
 
437
 
438
- Basic physical phenomena are combined into single-, double-, and triple-physics activities. These conceptual activities are then instantiated as concrete 3D scenes with diverse objects, materials, and backgrounds.
439
 
440
- ### 4. Simulating Physical Dynamics
441
 
442
- Multiple simulation tools and engines are used to simulate different types of physical dynamics. Chaos Physics in Unreal Engine is used for many everyday rigid-body physical phenomena. MPM is used for deformable and granular objects, and SPH is used for liquid simulations.
443
 
444
- ### 5. Rendering and Annotation
 
 
 
445
 
446
- Each scene is rendered from 12 fixed cameras and one moving monocular camera. During rendering, the dataset generates RGB videos and ground-truth annotations including depth, masks, 3D trajectories, camera poses, meshes, material properties, and text descriptions.
447
 
448
- ## Intended Uses
 
 
 
449
 
450
- PhysInOne is intended for research on:
451
 
452
- - Physics-aware video generation
453
- - World models and physical reasoning
454
- - Future frame prediction
455
- - Multi-view dynamic scene understanding
456
- - Physical property estimation
457
- - Inverse physics and system identification
458
- - Motion transfer
459
- - Embodied AI and robot learning
460
- - Simulation-aware visual representation learning
461
 
462
- ## Out-of-Scope Uses
463
 
464
- PhysInOne is not intended to be used as:
 
 
 
 
 
 
465
 
466
- - A perfect replacement for real-world physical measurements
467
- - A safety-critical physics simulator
468
- - A dataset for non-visual physics such as thermodynamics or acoustics
469
- - A benchmark for domains not covered by the dataset
470
- - A source of guaranteed real-world physical fidelity without validation
471
 
472
- ## Limitations
473
 
474
- PhysInOne is a synthetic dataset. Although the scenes are generated with physics simulation and controlled rendering, users should be aware of several limitations:
475
 
476
- - **Synthetic-to-real gap**: Models trained on PhysInOne may require adaptation before deployment on real-world videos.
477
- - **Simulator approximation**: Current simulators may not perfectly reproduce all real-world physical effects.
478
- - **Asset distribution bias**: The dataset distribution depends on the collected 3D objects, materials, and backgrounds.
479
- - **Physics coverage**: PhysInOne focuses on visually observable everyday physics in mechanics, optics, fluid dynamics, and magnetism. It does not cover all areas of physics.
480
- - **Rendering bias**: The visual appearance is influenced by the rendering engine, lighting, materials, and asset sources.
481
- - **Storage cost**: The full dataset contains 2 million videos and may require substantial storage and bandwidth.
482
 
483
  ## License
484
 
485
  TODO: Add the final dataset license.
486
 
487
- Please also check the licenses of third-party 3D assets, materials, and backgrounds used in the dataset. If individual assets have separate licenses, they should be documented clearly.
 
 
 
 
 
 
 
 
 
 
488
 
489
  ## Citation
490
 
@@ -505,6 +630,7 @@ For questions about the dataset, please contact:
505
 
506
  - TODO: contact email
507
  - Project page: https://vlar-group.github.io/PhysInOne.html
 
508
 
509
  ## Acknowledgements
510
 
 
39
 
40
  # PhysInOne: Visual Physics Learning and Reasoning in One Suite
41
 
42
+ <p align="center">
43
+ <a href="https://vlar-group.github.io/PhysInOne.html">Project Page</a> |
44
+ <a href="https://arxiv.org/abs/2604.09415">Paper</a> |
45
+ <a href="TODO">Code</a> |
46
+ <a href="TODO">Dataset</a> |
47
+ <a href="TODO">Leaderboard</a>
48
+ </p>
49
+
50
+ ## Dataset Card
51
+
52
+ ### Title, Authors, and Conference Information
53
+
54
+ **Title:** PhysInOne: Visual Physics Learning and Reasoning in One Suite
55
+
56
+ **Authors:** Siyuan Zhou, Hejun Wang, Hu Cheng, Jinxi Li, Dongsheng Wang, Junwei Jiang, Yixiao Jin, Jiayue Huang, Shiwei Mao, Shangjia Liu, Yafei Yang, Hongkang Song, Shenxing Wei, Zihui Zhang, Bing Wang, Zhihua Wang, Chuhang Zou, Bo Yang, and DataTeam.
57
 
58
+ **Affiliations:** vLAR Group, The Hong Kong Polytechnic University, Syai Singapore, Meta.
59
 
60
+ **Conference / Venue:** TODO.
61
 
62
+ **Paper:** https://arxiv.org/abs/2604.09415
63
 
64
+ **Project Page:** https://vlar-group.github.io/PhysInOne.html
65
 
66
+ ### Summary
67
 
68
+ **PhysInOne** is a large-scale synthetic dataset for visual physics learning and reasoning. It contains **153,810 dynamic 3D scenes** and **2 million annotated videos**, covering **71 basic physical phenomena** across four domains of everyday physics: **mechanics**, **optics**, **fluid dynamics**, and **magnetism**.
 
 
69
 
70
+ Each scene may contain multi-object and multi-physics interactions in complex 3D environments. PhysInOne provides rich annotations including RGB videos, depth maps, object masks, 3D trajectories, camera poses, object meshes, material properties, and textual descriptions.
71
+
72
+ The dataset is designed to support research on physics-aware video generation, future frame prediction, physical property estimation, motion transfer, physical reasoning, and world models.
73
+
74
+ ### News and Release Timetable
75
+
76
+ | Component | Status | Expected Release |
77
+ | ------------------------------- | ------------------------- | ---------------- |
78
+ | Rendered data | Partially released / TODO | TODO |
79
+ | Rendered data: train split | TODO | TODO |
80
+ | Rendered data: test split | TODO | TODO |
81
+ | Rendered data: validation split | TODO | TODO |
82
+ | Train split update | TODO | May 21 |
83
+ | 3D assets | Not yet released | Around June |
84
+ | Leaderboard | Ongoing | Link TODO |
85
+ | Baseline code | Not yet released | Around June |
86
+ | Data processing code | Not yet released | Around June |
87
+
88
+ ### Visual Overview
89
 
90
  <p align="center">
91
  <img src="./assets/teaser.jpg" width="900">
92
  </p>
93
 
94
  <p align="center">
95
+ <em>PhysInOne covers dynamic 3D physical scenes across mechanics, fluid dynamics, optics, and magnetism.</em>
96
  </p>
97
 
98
+ ### Video Demo Gallery
99
 
100
+ We provide lightweight GIF previews in this README and high-quality MP4 examples as separate files.
101
 
102
  | Mechanics | Fluid Dynamics |
103
  | ------------------------------------ | -------------------------------- |
 
107
  | --------------------------------- | ------------------------------------ |
108
  | ![](./assets/examples_optics.gif) | ![](./assets/examples_magnetism.gif) |
109
 
110
+ | Domain | High-quality MP4 |
 
 
111
  | -------------- | --------------------------------------------- |
112
  | Mechanics | [View video](./assets/examples_mechanics.mp4) |
113
  | Fluid Dynamics | [View video](./assets/examples_fluid.mp4) |
114
  | Optics | [View video](./assets/examples_optics.mp4) |
115
  | Magnetism | [View video](./assets/examples_magnetism.mp4) |
116
 
117
+ ### Dataset Structure
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
  The exact released structure may vary depending on the hosted version. A recommended structure is shown below.
120
 
 
123
  ├── README.md
124
  ├── assets/
125
  │ ├── teaser.jpg
 
126
  │ ├── annotation_overview.jpg
127
  │ ├── examples_mechanics.gif
128
  │ ├── examples_fluid.gif
 
136
  │ ├── train.jsonl
137
  │ ├── val.jsonl
138
  │ ├── test.jsonl
139
+ │ ├── benchmark_subsets.json
140
  │ ├── phenomena_taxonomy.json
141
+ ── material_properties.json
 
142
  ├── videos/
143
  │ ├── train/
144
  │ ├── val/
145
  │ └── test/
146
  ├── annotations/
147
  │ ├── depth/
148
+ │ ├── segmentation/
149
+ │ ├── captions/
150
  │ ├── trajectories/
151
+ │ ├── cameras/
152
+ ── pointclouds/
 
153
  └── scripts/
154
  ├── download.py
155
  ├── load_sample.py
156
  └── visualize_sample.py
157
  ```
158
 
159
+ A typical metadata item may look like:
160
 
161
  ```json
162
  {
163
+ "id": "scene_000000",
164
+ "scene_name": "TODO",
165
  "split": "train",
166
+ "activity_type": "single",
167
  "physical_domains": ["mechanics"],
168
  "physical_phenomena": ["gravity", "collision"],
169
+ "caption_path": "annotations/captions/train/scene_000000/caption.txt",
170
+ "ue_path": "TODO/scene_000000",
171
+ "repo_link": "TODO",
172
+ "download_link": "TODO",
173
  "videos": {
174
  "fixed_camera_00": "videos/train/scene_000000/camera_00.mp4",
175
  "fixed_camera_01": "videos/train/scene_000000/camera_01.mp4",
 
177
  },
178
  "annotations": {
179
  "depth": "annotations/depth/train/scene_000000/",
180
+ "segmentation": "annotations/segmentation/train/scene_000000/",
181
+ "caption": "annotations/captions/train/scene_000000/caption.txt",
182
+ "trajectory": "annotations/trajectories/train/scene_000000/trajectory.json",
183
+ "camera": "annotations/cameras/train/scene_000000/camera.json",
184
+ "pointcloud": "annotations/pointclouds/train/scene_000000/points.ply"
185
  }
186
  }
187
  ```
188
 
189
+ ### Data Splits
190
 
191
+ PhysInOne is split into train, validation, and test sets. Each split is intended for a different stage of model development and evaluation.
192
 
193
+ | Split | Purpose | Description |
194
+ | ---------- | ---------------------------- | -------------------------------------------------------------- |
195
+ | Train | Training and fine-tuning | Used for learning from rendered dynamic scenes and annotations |
196
+ | Validation | Model selection and ablation | Used for validation and development-time evaluation |
197
+ | Test | Final evaluation | Used for held-out benchmarking and leaderboard submission |
198
 
199
+ The split metadata files are expected to be provided as:
200
 
201
+ ```text
202
+ metadata/train.jsonl
203
+ metadata/val.jsonl
204
+ metadata/test.jsonl
205
+ ```
206
 
207
+ Each JSONL entry should contain the scene identifier, scene name, physical category labels, file paths, and download links.
 
 
 
 
 
208
 
209
+ ## Dataset Viewer
210
 
211
+ The Hugging Face Dataset Viewer is designed to help users quickly search, filter, and export scene-level metadata without downloading the full dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
 
213
+ ### Filtering and Search
214
 
215
+ The viewer should support filtering by:
216
 
217
+ - **Activity complexity:** `single`, `double`, `triple`
218
+ - **Physical domain:** `mechanics`, `fluid_dynamics`, `optics`, `magnetism`
219
+ - **Keyword search:** scene name, physical phenomenon, caption keyword, object keyword, or material keyword
220
+ - **Split:** `train`, `val`, `test`
221
+ - **Availability:** rendered data, 3D assets, annotations, benchmark subset
222
 
223
+ ### Viewer Table
 
 
 
 
 
 
 
 
 
224
 
225
+ After selecting filters, the viewer should display a dataframe-like table with at least the following columns:
226
 
227
+ | Column | Description |
228
+ | ----------------- | ------------------------------------------------------------- |
229
+ | `id` | Unique scene identifier |
230
+ | `scene_name` | Human-readable scene name |
231
+ | `split` | Train / validation / test split |
232
+ | `activity_type` | Single-, double-, or triple-physics activity |
233
+ | `physical_domain` | Mechanics, fluid dynamics, optics, or magnetism |
234
+ | `phenomena` | Physical phenomena involved in the scene |
235
+ | `ue_path` | Unreal Engine scene or asset path |
236
+ | `repo_link` | Link to the corresponding repository item or hosted data page |
237
+ | `download_link` | Direct download link for the scene package or rendered data |
238
 
239
+ ### JSON Export
240
 
241
+ The viewer should provide an **Export JSON** button. The exported JSON should contain selected scenes and their download links.
242
 
243
+ Example export format:
244
 
245
+ ```json
246
+ {
247
+ "selected_scenes": [
248
+ {
249
+ "id": "scene_000000",
250
+ "scene_name": "TODO",
251
+ "download_link": "TODO"
252
+ },
253
+ {
254
+ "id": "scene_000001",
255
+ "scene_name": "TODO",
256
+ "download_link": "TODO"
257
+ }
258
+ ]
259
+ }
260
+ ```
261
 
262
+ This JSON file can be passed directly to the download script.
 
 
 
263
 
264
+ ## How to Use
265
 
266
+ ### Install Dependencies
 
 
267
 
268
+ ```bash
269
+ pip install datasets huggingface_hub pandas tqdm
270
+ ```
271
 
272
+ ### Download Metadata Only
273
+
274
+ ```bash
275
+ huggingface-cli download TODO/PhysInOne \
276
+ --include "metadata/*" \
277
+ --local-dir ./PhysInOne
278
+ ```
279
 
280
+ ### Download by Exported JSON
281
 
282
+ After selecting scenes in the Dataset Viewer, export the selected scene list as JSON and download the corresponding files:
283
 
284
+ ```bash
285
+ python scripts/download.py \
286
+ --selection selected_scenes.json \
287
+ --output_dir ./PhysInOne
288
+ ```
289
 
290
+ ### Download a Split
 
 
 
291
 
292
+ ```bash
293
+ python scripts/download.py \
294
+ --split train \
295
+ --output_dir ./PhysInOne
296
+ ```
297
 
298
+ ```bash
299
+ python scripts/download.py \
300
+ --split val \
301
+ --output_dir ./PhysInOne
302
+ ```
 
303
 
304
+ ```bash
305
+ python scripts/download.py \
306
+ --split test \
307
+ --output_dir ./PhysInOne
308
+ ```
309
 
310
+ ### Load Metadata
 
 
 
311
 
312
+ ```python
313
+ import json
314
+ from pathlib import Path
315
 
316
+ metadata_path = Path("./PhysInOne/metadata/train.jsonl")
317
 
318
+ with open(metadata_path, "r") as f:
319
+ sample = json.loads(next(f))
320
 
321
+ print("ID:", sample["id"])
322
+ print("Scene name:", sample["scene_name"])
323
+ print("Split:", sample["split"])
324
+ print("Physical domains:", sample["physical_domains"])
325
+ print("Phenomena:", sample["physical_phenomena"])
326
+ print("Download link:", sample["download_link"])
327
+ ```
328
 
329
+ ### Visualize a Scene
330
 
331
+ ```bash
332
+ python scripts/visualize_sample.py \
333
+ --scene_id scene_000000 \
334
+ --data_root ./PhysInOne
335
+ ```
336
 
337
+ ## Benchmark Subsets
338
 
339
+ We provide mini benchmark subsets for lightweight evaluation and quick prototyping.
 
 
 
340
 
341
+ | Subset | Size | Intended Use |
342
+ | --------------------- | ---------------------:| ------------------------------------------------ |
343
+ | `test-small` | 772 text-video pairs | Physics-aware video generation |
344
+ | `test-mini` | 103 scenes | Long-term and short-term future frame prediction |
345
+ | `test-tiny` | 20 scenes | Physical property estimation |
346
+ | `motion-transfer-val` | 273 validation scenes | Motion transfer evaluation |
347
 
348
+ The benchmark subset metadata is expected to be stored in:
349
 
350
+ ```text
351
+ metadata/benchmark_subsets.json
352
+ ```
353
 
354
+ Example format:
355
+
356
+ ```json
357
+ {
358
+ "test-small": ["scene_000000", "scene_000001"],
359
+ "test-mini": ["scene_000100", "scene_000101"],
360
+ "test-tiny": ["scene_000200", "scene_000201"],
361
+ "motion-transfer-val": ["scene_000300", "scene_000301"]
362
+ }
363
+ ```
364
 
365
+ ## Data Fields
366
 
367
+ ### Abbreviations
368
+
369
+ | Abbreviation | Meaning |
370
+ | ------------ | ------------------------------------------- |
371
+ | `id` | Unique scene identifier |
372
+ | `ue_path` | Unreal Engine project, scene, or asset path |
373
+ | `repo_link` | Link to the corresponding hosted repo item |
374
+ | `rgb` | Rendered RGB video |
375
+ | `depth` | Ground-truth depth |
376
+ | `seg` | Segmentation mask |
377
+ | `traj` | Object trajectory |
378
+ | `cam` | Camera metadata |
379
+ | `pc` | Point cloud |
380
+
381
+ ### Core Fields
382
+
383
+ | Field | Type | Description |
384
+ | -------------------- | ------------ | -------------------------------------------------------------------------------- |
385
+ | `id` | string | Unique scene identifier |
386
+ | `scene_name` | string | Human-readable scene name |
387
+ | `split` | string | `train`, `val`, or `test` |
388
+ | `activity_type` | string | `single`, `double`, or `triple` |
389
+ | `physical_domains` | list[string] | One or more of mechanics, fluid dynamics, optics, and magnetism |
390
+ | `physical_phenomena` | list[string] | Physical phenomena involved in the scene |
391
+ | `caption_path` | string | Path to `caption.txt` |
392
+ | `ue_path` | string | Unreal Engine scene or asset path |
393
+ | `repo_link` | string | Hosted repository link |
394
+ | `download_link` | string | Scene-level or package-level download link |
395
+ | `videos` | dict | Paths to fixed-camera and moving-camera videos |
396
+ | `annotations` | dict | Paths to depth, segmentation, caption, trajectory, camera, and point cloud files |
397
 
398
+ ## Annotation Details
399
 
400
+ PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
401
 
402
+ <p align="center">
403
+ <img src="./assets/annotation_overview.jpg" width="900">
404
+ </p>
405
 
406
+ ### Depth
407
 
408
+ Depth maps are synchronized with RGB frames.
 
409
 
410
+ Please specify the following in the final release:
411
 
412
+ - Depth unit: TODO, for example meter or Unreal Engine unit.
413
+ - Depth convention: TODO, for example camera-space z-depth or Euclidean distance.
414
+ - File format: TODO, for example PNG, EXR, NPY, or NPZ.
415
+ - Value range and invalid value convention: TODO.
416
 
417
+ ### Segmentation
418
 
419
+ Segmentation masks encode background, static foreground objects, and dynamic foreground objects.
420
 
421
+ Expected encoding:
 
 
422
 
423
+ | Pixel Value | Meaning |
424
+ | -----------:| -------------------------- |
425
+ | `0` | Background |
426
+ | `1-127` | Static foreground objects |
427
+ | `128-255` | Dynamic foreground objects |
428
 
429
+ Please specify whether the segmentation is semantic-level, instance-level, or mixed.
430
+
431
+ ### Captions
432
+
433
+ Each scene includes a `caption.txt` file containing an English paragraph that describes the visual elements and the physical activity.
434
+
435
+ Expected path format:
436
+
437
+ ```text
438
+ annotations/captions/{split}/{scene_id}/caption.txt
439
  ```
440
 
441
+ ### Trajectories
442
 
443
+ Each scene includes a `trajectory.json` file storing object trajectory data.
444
+
445
+ Recommended contents:
446
+
447
+ ```json
448
+ {
449
+ "scene_id": "scene_000000",
450
+ "fps": 30,
451
+ "objects": [
452
+ {
453
+ "object_id": "object_000",
454
+ "object_name": "TODO",
455
+ "is_dynamic": true,
456
+ "positions": [[0.0, 0.0, 0.0]],
457
+ "rotations": [[1.0, 0.0, 0.0, 0.0]],
458
+ "timestamps": [0.0]
459
+ }
460
+ ]
461
+ }
462
  ```
463
 
464
+ Please specify the coordinate system, units, rotation convention, and timestamp convention in the final release.
465
 
466
+ ### Cameras
467
+
468
+ Each scene includes a camera JSON file describing fixed cameras and the moving monocular camera.
469
 
470
+ Recommended contents:
 
471
 
472
+ ```json
473
+ {
474
+ "scene_id": "scene_000000",
475
+ "cameras": [
476
+ {
477
+ "camera_id": "camera_00",
478
+ "type": "fixed",
479
+ "intrinsics": {
480
+ "fx": 0.0,
481
+ "fy": 0.0,
482
+ "cx": 0.0,
483
+ "cy": 0.0,
484
+ "width": 1120,
485
+ "height": 1120
486
+ },
487
+ "extrinsics": {
488
+ "world_to_camera": [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]
489
+ }
490
+ }
491
+ ]
492
+ }
493
  ```
494
 
495
+ Please specify whether camera extrinsics are stored as world-to-camera or camera-to-world matrices.
496
 
497
+ ### Point Clouds
 
 
498
 
499
+ Each scene may include `points.ply`.
500
 
501
+ Expected behavior:
502
+
503
+ - The point cloud is sampled from the first frame.
504
+ - It includes multiple camera views after depth back-projection.
505
+ - It is randomly sampled to approximately **100,000 points**.
506
+ - The file format is `.ply`.
507
+
508
+ Recommended path format:
509
 
510
+ ```text
511
+ annotations/pointclouds/{split}/{scene_id}/points.ply
 
 
512
  ```
513
 
514
+ Please specify whether point colors, normals, semantic labels, or instance labels are included in the `.ply` file.
515
+
516
+ ## Supported Tasks and Benchmarks
517
+
518
+ PhysInOne supports the following visual physics learning and reasoning tasks.
519
+
520
+ ### Physics-aware Video Generation
521
+
522
+ Given text prompts, image conditions, or initial frames, models generate videos that should be visually realistic and physically plausible.
523
+
524
+ Representative settings:
525
+
526
+ - Text-to-video generation
527
+ - Image-to-video generation
528
+ - Text-image-to-video generation
529
+ - Video model fine-tuning with physics-rich data
530
+
531
+ Suggested metrics:
532
+
533
+ - PMF: Physical Motion Fidelity
534
+ - FVD
535
+ - Human physical plausibility rating
536
 
537
+ ### Long-term Future Frame Prediction
538
 
539
+ Given the first half of a dynamic scene, models predict the second half of the video.
540
 
541
+ Representative settings:
542
 
543
+ - Seen-view prediction
544
+ - Novel-view prediction
545
+ - Scene-specific 4D modeling
546
+ - Video prediction
547
 
548
+ Suggested metrics:
549
 
550
+ - PMF
551
+ - PSNR
552
+ - SSIM
553
+ - LPIPS
554
 
555
+ ### Continuous Short-term Future Frame Prediction
556
 
557
+ Given streaming observations, models continuously predict the next few frames.
558
 
559
+ This setting is useful for:
560
 
561
+ - Future-aware robot planning
562
+ - Embodied AI
563
+ - Short-horizon physical prediction
564
+ - Dynamic scene understanding
565
 
566
+ Suggested metrics:
567
 
568
+ - PMF
569
+ - PSNR
570
+ - SSIM
571
+ - LPIPS
572
 
573
+ ### Physical Property Estimation
574
 
575
+ Given visual observations, models estimate physical properties of scene objects and materials.
 
 
 
 
 
 
 
 
576
 
577
+ Example target properties:
578
 
579
+ - Young's modulus
580
+ - Poisson's ratio
581
+ - Viscosity
582
+ - Bulk modulus
583
+ - Yield stress
584
+ - Friction angle
585
+ - Initial velocity
586
 
587
+ ### Motion Transfer
 
 
 
 
588
 
589
+ Given a source video and a target image or target scene, models transfer physically meaningful motion patterns while preserving the target appearance.
590
 
591
+ Suggested metrics:
592
 
593
+ - PMF
594
+ - PSNR
595
+ - SSIM
596
+ - LPIPS
 
 
597
 
598
  ## License
599
 
600
  TODO: Add the final dataset license.
601
 
602
+ Please verify the license terms for:
603
+
604
+ - Rendered RGB videos
605
+ - Annotations
606
+ - 3D assets
607
+ - Materials
608
+ - Backgrounds
609
+ - Code
610
+ - Benchmark metadata
611
+
612
+ If third-party assets have separate licenses, please document them clearly.
613
 
614
  ## Citation
615
 
 
630
 
631
  - TODO: contact email
632
  - Project page: https://vlar-group.github.io/PhysInOne.html
633
+ - Hugging Face dataset page: TODO
634
 
635
  ## Acknowledgements
636