PhysOPSD

Code as Privilege for
Physically Plausible
Video Generation

Executable physical context for on-policy self-distillation.

Harold Haodong Chen1,2Rui Peng2Lingteng Qiu2Kejie Qiu2Chao Xu2Zilong Dong2

1 HKUST
2 Alibaba Token Hub, Alibaba Group

Overview

Code as privileged physical context. PhysOPSD uses executable simulations to strengthen a video model's own predictions during on-policy self-distillation. The model internalizes physical dynamics and generates videos without simulation at inference.

Executable physical context

PhysOPSD-Engine translates reference scenarios into verifiable scene programs and renders physical drafts.

Dual-level privilege

Dense → abstract → text. A stepped hierarchy bridges the information gap while reducing appearance shortcuts.

Controlled physical variation

Change physical parameters under shared rollout noise to supervise the resulting differences in dynamics.

PhysOPSD framework: executable physical context, dual-level privilege, controlled physical variation, and on-policy self-distillation from a privileged teacher to a student.
PhysOPSD framework ↗Physics learned during training. Simulation-free at inference.

Video comparisons

Base Model vs. +PhysOPSD. Selected examples of motion, contact, material response, and fluid interactions.

Case studies

One scene, two physical conditions. Compare dense and abstract drafts with their corresponding self-teacher generations.

About these case studies

These case studies illustrate physical context and self-teacher behavior. Drafts are reconstructed demonstrations, not the original training artifacts. References provide scene context; they are not self-teacher inputs. Clips retain their own timing.

Empowering generation with coding agents

Recent approaches use coding agents to replace parts of the video generation process. We explore how coding agents can empower the generator itself.

Executable code supplies structured physical supervision during post-training. The resulting capabilities stay in the model, with no simulator required at inference.

@article{chen2026physopsd,
        title={PhysOPSD: Code as Privilege for Physically Plausible Video Generation},
        author={Chen, Harold Haodong and Peng, Rui and Qiu, Lingteng and Qiu, Kejie and Xu, Chao and Dong, Zilong},
        journal={arXiv preprint arXiv:2611.12411},
        year={2026}
      }