VideoREPA: Learning Physics for Video Generation through Relational Alignment with Foundation Models

Xiang-Dong Zhang, Jiaqi Liao, Shao-Feng Zhang, Fanqing Meng, Xiang Wan +2 more
5/1/2025
121 citations

Official code: aHapBean/VideoREPA (211 stars, Python, Apache-2.0, last commit 2026-03-06).

Abstract

Recent advancements in text-to-video (T2V) diffusion models have enabled high-fidelity and realistic video synthesis. However, current T2V models often struggle to generate physically plausible content due to their limited inherent ability to accurately understand physics.

Show full abstract

We found that while the representations within T2V models possess some capacity for physics understanding, they lag significantly behind those from recent video self-supervised learning methods. To this end, we propose a novel framework called VideoREPA, which distills physics understanding capability from video understanding foundation models into T2V models by aligning token-level relations. This closes the physics understanding gap and enable more physics-plausible generation. Specifically, we introduce the Token Relation Distillation (TRD) loss, leveraging spatio-temporal alignment to provide soft guidance suitable for finetuning powerful pre-trained T2V models, a critical departure from prior representation alignment (REPA) methods. To our knowledge, VideoREPA is the first REPA method designed for finetuning T2V models and specifically for injecting physical knowledge. Empirical evaluations show that VideoREPA substantially enhances the physics commonsense of baseline method, CogVideoX, achieving significant improvement on relevant benchmarks and demonstrating a strong capacity for generating videos consistent with intuitive physics. More video results are available at https://videorepa.github.io/.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[NeurIPS 2025] VideoREPA: Learning Physics for Video Generation through Relational Alignment with Foundation Models

21110Python, Jupyter NotebookMay 29, 20259 months agoApache-2.0
physics-plausibilityrepresentation-alignmentvideo-generationworld-model

Similar Papers

Cite this paper

@article{zhang2025videorepa,
  title  = {VideoREPA: Learning Physics for Video Generation through Relational Alignment with Foundation Models},
  author = {Xiang-Dong Zhang and Jiaqi Liao and Shao-Feng Zhang and Fanqing Meng and Xiang Wan and Jun-Chi Yan and Yu Cheng},
  year   = {2025},
  eprint = {2505.23656},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.23656},
  url    = {https://doi.org/10.48550/arXiv.2505.23656},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23656.svg)](https://codeofpaper.com/paper/2505.23656)

Discussion