Download README.md from hanbin5/lehami-phyworld: direct link, hf CLI and curl.
- Browser
- Download file 4.85 kB
-
https://huggingface.co/hanbin5/lehami-phyworld/resolve/main/README.md
- Command line
-
hf download hf://hanbin5/lehami-phyworld/README.md
-
curl -L -o README.md https://huggingface.co/hanbin5/lehami-phyworld/resolve/main/README.md
tags:
- world-model
- jepa
- hamiltonian
- physics
- out-of-distribution
datasets:
- magicr/phyworld
LeHami predictors on PhyWorld parabola
Checkpoints, evaluation outputs, reports and rollout videos of an experiment that asks whether LeHami predictors (latent dynamics with a Hamiltonian structure, rominay/LeHami) keep an out-of-range velocity on PhyWorld parabola, where DINO-WM and LeWM pull it toward the training range.
Code and the full write-up: GitHub jongmin-s-multicore/thread0, branch hanbin5/lehami-phyworld, folder lehami_phyworld/.
Result in short
Training velocities are about 1.0 to 4.0 units/s; the fast group's true velocity is 5.25. The fast one step is the velocity read by a probe from a frame predicted from the real frames before it. A run's class is judged only when it passes the in-range gate.
| Setting | Encoder | Arm A (MLP T) | Arm B (quadratic T) | Arm C (transformer) |
|---|---|---|---|---|
| LH-P | trained from scratch with the predictor | gate fail (both seeds) | gate fail (both seeds) | gate fail (both seeds) |
| K2 | starts from LeWM run1's encoder, trained with the predictor | follows (5.97, 5.21) | follows (6.16, 6.12) | gate fail (seed 0) |
| K5 | LeWM run1's encoder, frozen | between (5.08, 4.69) | follows (5.82, 5.74) | gate fail (seed 0) |
| Reference | DINO-WM 4.00 (pulled); LeWM runs 1-3: 3.05, 3.20, 3.39 (pulled) |
Brackets: seed 0, seed 1. In K5 the paired bootstrap of the fast one step, B − A, is 0.740 [0.589, 0.893] (seed 0) and 1.053 [0.886, 1.228] (seed 1). The reports in reports/ hold every value and the definitions.
Files
The repository is uploaded in two parts. Part 1 (3.65 GB) holds everything needed to read and reproduce the reports. Part 2 (3.81 GB, uploaded after Part 1) holds the evaluations of the earlier checkpoint (step 30,000) and the K0 readout arrays.
Part 1:
| Folder | Content |
|---|---|
checkpoints/lehami/<run>/ |
config.json, log.jsonl, weights_step30000.pt, weights_step61170.pt (state dict of the JEPA module: encoder, projector, action encoder, predictor). Runs: arm{A,B,C}_s{0,1} (LH-P), k2_arm{A,B}_s{0,1}, k2_armC_s0, k5_arm{A,B}_s{0,1}, k5_armC_s0 |
checkpoints/lewm/run{1,2,3}/ |
LeWM PhyWorld, 10 epochs (weights_epoch_10.pt, config.json); run1 is the K2 / K5 encoder source |
eval/<run>/eval_step61170/ |
evaluation of the judged checkpoint on the 1,056 evaluation videos: latents, probe readouts, cross-fit probes (*_cf) |
eval/k0/, eval/k2_k0/, eval/k5_k0/ |
K0 readouts (CLS before the projector and q) |
eval/lewm_reeval/ |
LeWM re-evaluated from the context frames 1-3 (the report's LeWM rows) |
eval/dinowm/eval_step60000.npz |
DINO-WM PhyWorld evaluation (report rows and the real-frame mask) |
reports/ |
the reports (md and json) |
videos/ |
rollouts GT / DINO-WM / LeWM / LeHami A / LeHami B for nine evaluation videos and a grid; half_speed/ |
Part 2:
| Folder | Content |
|---|---|
eval/<run>/eval_step30000/ |
evaluation of the step-30,000 checkpoint (the reports use it only as the trend) |
eval/k0/*.npz, eval/k2_k0/*.npz, eval/k5_k0/*.npz |
the K0 readout arrays (features read again from each checkpoint) |
SHA256SUMS lists every file of Part 1 and SHA256SUMS.optional those of Part 2. Paths inside json files read $DINO_WORK/... (the working folder of the code). The PhyWorld videos themselves are not here: they are magicr/phyworld (CC-BY-4.0), converted with the code on GitHub.
Loading a checkpoint
import json, torch, lh_common as C # from the GitHub folder; needs le-wm and LeHami on the path (see its README)
cfg = json.load(open("checkpoints/lehami/k5_armB_s0/config.json"))
model = C.build_model(cfg["arm"])
model.load_state_dict(torch.load("checkpoints/lehami/k5_armB_s0/weights_step61170.pt", map_location="cpu"), strict=True)
Licenses of the sources
- The LeHami predictors and loss follow rominay/LeHami (commit
f90a3b1, Apache License 2.0, Copyright 2026 Romina Yalovetzky, Randall Balestriero, and Yann LeCun). The modified copy of its loss in the GitHub code keeps that notice. - LeWM: le-wm (MIT License, Copyright 2026 Lucas Maes).
- PhyWorld data (Kang et al., ICML 2025): magicr/phyworld, CC-BY-4.0. It is not included here.
- No license has been chosen for the checkpoints and evaluation files of this repository.
Limits
One dataset, two seeds per arm (one for arm C in K2 and K5), a probe reading of the velocity. The class names and thresholds are defined in the reports.