Manuscript Offprint

arXiv:2611.12411

PhysOPSD: Code as Privilege for Physically Plausible Video Generation

Harold Haodong Chen, Rui Peng, Lingteng Qiu, Kejie Qiu, Chao Xu, Zilong Dong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

While modern video generative models achieve remarkable visual fidelity, they remain noticeably brittle when generating physically plausible dynamics and complex interactions. Targeted post-training is crucial, yet supervised fine-tuning suffers from offline state mismatch, and reinforcement learning is hindered by sparse, ill-defined physical reward functions. On-Policy (Self-)Distillation (OPSD) reconciles on-policy rollouts with dense corrective feedback, shifting the core challenge to designing effective privileged context. However, conventional modalities fall short: text prompts are inherently declarative, whereas real reference videos heavily entangle physical laws with visual appearance without parametric control. To this end, we propose PhysOPSD, introducing executable code as privileged physical context for video generation. Unlike static visual observations, executable code instantiated an editable

physical world with intrinsic abstraction and controllability. Powered by PhysOPSD-Engine, we translate real-world physical scenarios into verifiable simulation programs. PhysOPSD then incorporates (i) dual-level physical privilege to bridge the information gap via an intermediate bottleneck, alongside (ii) controlled physical variations under shared rollout noise to expose causal dynamic shifts. Extensive experiments demonstrate that PhysOPSD substantially improves physical plausibility across diverse backbones, outperforming SFT and RL baselines with only 3K samples, while preserving general video generation quality.

1. Introduction

Recent video generation models [1, 10, 15, 40] have made impressive strides in visual fidelity and temporal coherence, yet they remain noticeably brittle when generating physically plausible dynamics and complex interactions [2, 3, 28]. Targeted post-training has thus emerged as a vital route to reinforce physical capabilities beyond pre-training [18, 32]. However, existing paradigms involve clear trade-offs: ① supervised fine-tuning (SFT) offers dense supervision [17, 29, 42, 49], but operates on offline data that mismatches the states visited during inference; ② reinforcement learning (RL) optimizes directly over on-policy rollouts [8, 12, 14], yet suffers from sparse, ill-defined rewards and credit-assignment bottlenecks.

Recent ③ on-policy distillation (OPD) [22, 34] provides a natural middle ground by querying a teacher for dense supervision on student-visited rollout states. Building upon this, on-policy self-distillation (OPSD) [50] further removes the need for an external teacher by casting the same model into asymmetric roles: the student acts on inference-time inputs, while the teacher accesses additional privileged context to supervise the student rollouts. The central question of OPSD therefore becomes how to leverage extra information to turn the same model into a stronger self-teacher, as shown in Figure 2 (a). An effective privileged context should directly expose the information required by the target capability and reliably enhance teacher predictions on student rollout states. This principle has shown strong promise in language reasoning via ground-truth answers and rationales [31, 47, 50], as well as in image generation via target-image multimodal representations [13].

Extending this paradigm to video generation, however, is far less straightforward, as the primary bottleneck lies in modeling physically plausible dynamics, a capability that also defies evaluation by standard reward models [3, 18, 42]. Yet, designing effective privileged context remains non-trivial: text expansion provides richer descriptions but remains fundamentally declarative, whereas real reference videos capture complete dynamics but heavily entangle them with irrelevant appearance, identity, and background clutter without controllable structure (Figure 2 (b)). These bottlenecks lead to our core research question:

References (50)