The pretrained model does not always follow PhysState S, and there is no ground-truth video to supervise it. We therefore adapt the model with DiffusionNFT, using rewards from the foreground and the background.
R(Ŝ, S) = −(Lfg + Lbg), Lfg = Lobj + Lhand
- Physical reward
- A measurer E estimates the physical state Ŝ = E(V) of a generated video. Object: it is localized in the first frame with Grounding DINO, segmented and propagated with SAM 2, tracked with CoTracker3, and a rigid pose is fitted to the tracks in every frame; Lobj penalizes the deviation of this pose and of the mask from those in S. Hand: its position and orientation are estimated with MediaPipe Hands in the frame where it first appears, and Lhand penalizes their deviation from those in the proxy video. Background: Lbg penalizes inconsistency with the first frame and across consecutive frames.
- Reward-driven adaptation
- The pretrained model is frozen. Only a lightweight adapter is trained; it injects tokens that encode the object and hand trajectories of S through zero-initialized gates, and maximizes the expected physical reward. Since E is not differentiable, the objective is optimized with DiffusionNFT.