Checkpoints for an adaptation of World-to-Policy Transfer (WPT) (arXiv:2511.20095) to the OccWorld 3D occupancy world model on nuScenes. The release contains a retrained OccWorld that matches the published forecasting quality, a world model guided teacher with a learned reward model, and four compact students trained under an identical schedule with and without WPT distillation.
Code, documentation, and every result file: github.com/MunazaAshraf10/world-to-policy-distillation
This is an adaptation, not a reproduction of WPT. The paper uses Drive-OccWorld and camera based policies; here the world model is OccWorld and the policies observe Occ3D occupancy. None of the paper's numbers are claimed.
World models forecast how a driving scene will evolve, but rolling one out costs hundreds of milliseconds per decision. WPT proposes to use the world model only during training: a teacher plans on the world model's forecast, a reward model selects its best candidate, and two distillation losses transfer this guidance into a student that never calls the world model.
We implement this pipeline end to end on a retrained, frozen OccWorld and train four students under an identical schedule. Key results on the 4,219 nuScenes validation windows:
| Path | Component | Parameters | Description |
|---|---|---|---|
| occworld/world.pt | OccWorld | 72.4M | Retrained world model (VQVAE and forecasting transformer), frozen in all policy stages |
| occworld_vqvae/vqvae.pt | OccWorld VQVAE | 14.2M trainable | Scene tokenizer, first OccWorld stage |
| teacher/best.pt | Teacher + reward model | 7.1M | Multi-modal teacher (6 anchored candidates) and the reward model of Eqs. 9 to 14 |
| student_baseline/best.pt | Student | 1.05M | Planning loss only |
| wpt_policy/best.pt | Student | 1.05M | Planning loss + policy distillation (Eq. 15) |
| wpt_reward/best.pt | Student | 1.05M | Planning loss + world reward distillation (Eq. 16) |
| wpt_full/best.pt | Student | 1.05M | Full WPT objective (Eqs. 15 and 16) |
| results/ | Evaluation reports | Per horizon metrics, configuration, checkpoint SHA256, git revision, and environment for every number below |
Each folder also holds the exact training config.yaml and a summary.json with the full validation history, training time, and peak memory. Student checkpoints contain only the student: the projector, teacher, reward model, and OccWorld are not needed for deployment.
observed occupancy, command, ego history
├─► frozen OccWorld ─► predicted latents and predicted ego path (F^w_{t+1})
│ ├─► teacher P_D(Q^T, F^w_{t+1}) ─► 6 anchored candidates, queries Q^T (Eq. 8)
│ └─► reward model ─► imitation + 5 rule scores ─► r_final ─► tau*_T (Eqs. 9 to 14)
└─► student P_D(Q^S, observations) ─► trajectory, query Q^S
├─ policy distillation ||P(Q^S) − Q^T[tau*]||₂ (Eq. 15)
└─ world reward distillation |r_final(tau^S) − r_final(tau*_T)| (Eq. 16)
World model. OccWorld at commit 1ee7f77, retrained with its unmodified model and loss code because no pretrained checkpoint is publicly reachable. It rolls out six future steps (3 s) from five observed frames.
Teacher. A transformer decoder whose memory is the predicted future latents (Eq. 8). Its six mode queries are tied to k-means trajectory anchors fitted on training expert trajectories, following UniAD, which the paper cites for its candidate set. Without anchors the modes collapsed to one trajectory.
Reward model. Each candidate is embedded together with its offset from OccWorld's predicted ego path and cross-attends to the predicted latents. An imitation head and five simulation heads (no collision, drivable area, ego progress, time to collision, comfort; App. 6.3) are combined into the final reward of Eq. 14. Simulation targets are computed on the predicted occupancy.
Student. A convolutional occupancy encoder and a two layer plan decoder with a single plan query, observing five past Occ3D frames, the driving command, and two past ego displacements.
| Stage | Data | Schedule | Hardware time |
|---|---|---|---|
| OccWorld VQVAE | 28,130 train frames | 150k steps, batch 16, AdamW lr 1e-3, bf16 | 8.5 h |
| OccWorld transformer | 17,630 train sequences | 100k steps, batch 4, AdamW lr 1e-3, bf16, VQVAE frozen | 12.0 h |
| Teacher + reward | 19,730 train windows | 12 epochs, batch 64, AdamW lr 2e-4, cosine | 0.4 h |
| Each student | 19,730 train windows | 12 epochs, batch 64, AdamW lr 2e-4, cosine, seed 0 | 0.7 h |
All stages ran on a single NVIDIA RTX 5090 (32 GB) with PyTorch 2.11 and CUDA 12.8. WPT loss weights are plan 1.0, policy 1.0, reward 0.5. The teacher and reward model are frozen while students train. Checkpoints are selected by validation L2.
Data. nuScenes with Occ3D-nuScenes occupancy labels (200 × 200 × 16 voxels at 0.4 m), using OccWorld's temporal splits: 700 training and 150 validation scenes.
Open-loop planning on all 4,219 validation windows with OccWorld's ST-P3 planning metric. L2 and collision rate are reported at 1, 2, and 3 s (per-time convention of the OccWorld and WPT tables). Because a few windows lie on the collision boundary, centimeter changes move the exact collision rate by about half a point; we therefore also report the mean and standard deviation over 20 draws of 1 cm position jitter.
| Model | L2 1s | L2 2s | L2 3s | L2 avg (m) | L2 avg, ST-P3 | Col. avg (%) | Col. avg, jittered (%) |
|---|---|---|---|---|---|---|---|
| Student baseline | 0.39 | 1.02 | 1.97 | 1.127 | 0.600 | 1.18 | 1.21 ± 0.11 |
| + policy distillation | 0.39 | 1.04 | 2.01 | 1.150 | 0.610 | 1.37 | 1.30 ± 0.04 |
| + world reward distillation | 0.41 | 1.03 | 1.98 | 1.139 | 0.612 | 1.06 | 1.27 ± 0.30 |
| Full WPT | 0.40 | 1.05 | 2.01 | 1.153 | 0.617 | 0.81 | 1.25 ± 0.31 |
| Teacher reference | 0.26 | 0.81 | 1.68 | 0.919 | 0.457 | 0.86 | 0.94 ± 0.19 |
The teacher reference runs OccWorld, the teacher, and the reward model, and uses privileged world model conditioning; it is an upper reference, not a deployable model. Final checkpoint results show the same pattern and are in results/.
| Occupancy forecast | mIoU 1s | mIoU 2s | mIoU 3s | IoU 1s | IoU 2s | IoU 3s |
|---|---|---|---|---|---|---|
| OccWorld, published | 25.78 | 15.15 | 10.51 | 34.63 | 25.07 | 20.18 |
| OccWorld, this release | 25.47 | 15.14 | 10.58 | 34.48 | 25.27 | 20.51 |
The VQVAE reconstructs occupancy at 68.9 mIoU and 63.0 IoU on 500 validation windows. Cached rollouts are verified bit for bit against live calls at the cache's batch composition, and OccWorld's parameters are verified frozen.
| Batch size 1, RTX 5090 | Mean latency | Parameters | Peak memory |
|---|---|---|---|
| Student | 2.4 ms | 1.05M | 0.58 GB |
| OccWorld + teacher + reward | 268.1 ms | 79.5M | 1.43 GB |
The world model guided teacher is the strongest planner in the study, which confirms that the retrained OccWorld provides a useful planning signal. The students deliver accurate, stable planning at a fraction of its cost: 1.05M parameters, 2.4 ms per decision, and no dependency on the world model, the teacher, or the reward model at deployment. Natural extensions are camera based observations, a world model rolled out without privileged conditioning, and multiple seeds per configuration.
Research on world models, planning, and knowledge distillation for autonomous driving: reproducing and extending these experiments, using the retrained OccWorld as a forecasting baseline, or studying world model guided training signals.
Out of scope. These models are trained and evaluated open loop on nuScenes with ground truth occupancy inputs. They are not validated for closed-loop control and must not be used to drive any vehicle.
Every implementation choice the paper leaves open is documented in docs/implementation_notes.md, and every component is mapped to its equation in docs/paper_mapping.md.
The checkpoints are PyTorch state dicts for the modules in the GitHub repository. A student loads without the world model:
import torch
import yaml
from src.policy.student import Student, StudentConfig
from src.utils.config import build
cfg = yaml.safe_load(open("wpt_full/config.yaml"))
state = torch.load("wpt_full/best.pt", map_location="cpu", weights_only=True)
student = Student(build(StudentConfig, cfg["student"]))
student.load_state_dict(state["models"]["student"])
traj = student(occ, command, ego_hist).traj # [B, 6, 2] positions over 3 s
Code and weights are released under Apache 2.0, the license of both this repository and OccWorld. The models were trained on nuScenes and Occ3D-nuScenes, which are subject to their own terms of use (nuScenes is licensed CC BY-NC-SA 4.0 for non-commercial use).
@article{jiang2025wpt,
title = {WPT: World-to-Policy Transfer via Online World Model Distillation},
author = {Jiang, Guangfeng and Luo, Yueru and Liu, Jun and Huang, Yi and Zhu, Yiyao and Qu, Zhan and Chen, Dave Zhenyu and Liu, Bingbing and Yan, Xu},
journal = {arXiv preprint arXiv:2511.20095},
year = {2025}
}
@inproceedings{zheng2024occworld,
title = {OccWorld: Learning a 3D Occupancy World Model for Autonomous Driving},
author = {Zheng, Wenzhao and Chen, Weiliang and Huang, Yuanhui and Zhang, Borui and Duan, Yueqi and Lu, Jiwen},
booktitle = {European Conference on Computer Vision},
year = {2024}
}
occworld/world.pt 290 MBoccworld_vqvae/vqvae.pt 57 MBteacher/best.pt 29 MBstudent_baseline/best.pt 4 MBwpt_full/best.pt 4 MBwpt_policy/best.pt 4 MBwpt_reward/best.pt 4 MB