AI video generators often produce motion that defies physics. Standard training methods struggle: finished videos mismatch the model's outputs, while sparse rewards poorly guide complex interactions.
PhysOPSD tackles this by having the model act as its own teacher. It generates a simple, editable computer simulation code of a physical scene. This code acts as a perfect rulebook, cleanly separated from visual noise.
Models trained with this code privilege produced significantly more physically plausible motion, outperforming standard baselines with only 3K samples. An executable rulebook works better than static examples for teaching physics.