NS-Diff: Fluid Navier-Stokes Guided Video Diffusion via Reinforcement Learning

Zi-Jun Deng, Yu-Xin Peng
1/1/2026
diffusion-flowrl

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

While recent video generation models achieve impressive visual quality, generating physically plausible videos remains challenging, especially for fluid dynamics and rigid-body motions. To address this, we present **NS-Diff**, a physics-guided reinforcement learning framework for video diffusion.

Show full abstract

First, we design a noise-robust physical dynamics detector that distinguishes rigid and fluid regions by analyzing motion in noisy latent frames. Second, we introduce a Physics-Conditioned Latent Injection module, which encodes velocity fields, deformation gradients, and material masks, and injects them into the DiT denoiser via cross-attention. Third, we introduce a reinforcement learning optimization module that enforces simplified Navier-Stokes constraints on fluid dynamics and minimum-jerk principles on rigid bodies through policy gradients. Experiments on PhysVideoBench, UCF, and MSR-VTT show that our approach reduces jerk errors by 43%, decreases fluid divergence by 33%, and improves FVD by 22.7%, achieving higher physical plausibility and visual quality.

Semantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{deng2026nsdiff,
  title  = {NS-Diff: Fluid Navier-Stokes Guided Video Diffusion via Reinforcement Learning},
  author = {Zi-Jun Deng and Yu-Xin Peng},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:a8186e75bf19687f8f07e904043899d618b755f0},
  journal = {Computer Vision and Pattern Recognition}
}

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/a8186e75bf19687f8f07e904043899d618b755f0.svg)](https://codeofpaper.com/paper/a8186e75bf19687f8f07e904043899d618b755f0)

Discussion