Physics-Driven Spatiotemporal Modeling for AI-Generated Video Detection

Shuhai Zhang, ZiHao Lian, Jiahao Yang, Daiyuan Li, Guoxuan Pang, Feng Liu, Bo Han, Shutao Li, Mingkui Tan

As AI-generated videos from models like Sora reach near-perfect visual realism, traditional detection methods that hunt for pixel-level artifacts are rapidly becoming obsolete. This paper introduces a novel "physics-driven" approach that leverages fluid dynamics principles to identify subtle violations of physical laws, outperforming current state-of-the-art detectors by 16% in recall.

The Problem: The Disappearance of Visual Artifacts

We are entering an era where AI-generated videos are virtually indistinguishable from reality to the human eye. Existing detection methods typically rely on "artifact-specific" cues—searching for weird textures, inconsistent lighting, or specific noise patterns left behind by a generative model.

However, as generative models improve, these superficial artifacts vanish. The authors argue that while AI can flawlessly mimic the look of reality, it often fails to capture the underlying physics of motion and spatiotemporal evolution. Natural videos inherently obey conservation laws (like motion coherence and texture continuity), whereas AI videos often exhibit systematic, though subtle, inconsistencies in how they evolve over time. The core challenge is mathematically modeling these intrinsic physical dynamics to expose synthetic anomalies.

Comparison of traditional vs. physics-driven detection paradigms

A Physics-Driven Methodology

To address this, the authors propose a paradigm shift: moving away from analyzing isolated pixels and instead examining probability flow.

  1. Normalized Spatiotemporal Gradient (NSG): Inspired by fluid mechanics and the "continuity equation" (which describes how substances move without being created or destroyed), the researchers define a new statistic called NSG. It quantifies the ratio between spatial probability gradients (how the "density" of the image changes across space) and temporal density changes (how it changes over time). In natural videos, these two components are physically constrained to maintain a specific relationship.
  2. Diffusion-Guided Estimation: Calculating these gradients from scratch would typically require a massive physics engine. Instead, the authors leverage pre-trained diffusion models. Because diffusion models are trained to understand the "score" (the gradient of the log-probability density) of data, they serve as a built-in estimator for the spatial component of the NSG.
  3. Motion-Aware Temporal Modeling: The method uses a "brightness constancy" assumption to approximate temporal derivatives. This allows the model to capture motion dynamics without the computational nightmare of explicit motion decomposition or heavy optical flow calculations.
  4. NSG-VD (The Detection Method): To classify a video as real or fake, the system calculates the Maximum Mean Discrepancy (MMD) between the NSG features of a test video and a reference set of real videos. If the "physical signature" (the NSG) of the test video deviates too far from the real baseline, it is flagged as AI-generated.
The NSG-VD pipeline architecture

Key Insights and Theoretical Foundations

  • Physics as a Universal Constraint: Unlike visual artifacts, which change from one AI model to the next, physical laws are universal. By modeling these laws, the detector becomes "future-proof" against new, more realistic generators.
  • The "Dual Field" Concept: The paper mathematically proves that the NSG acts as a "dual field" to the velocity field of a video. This means that if an AI model generates flawed motion (velocity), it must also disrupt the relationship between spatial and temporal gradients captured by the NSG.
  • Distributional Shift Amplification: The authors provide a theoretical proof showing that even minute errors in an AI model's training distribution lead to "amplified" discrepancies in the NSG space, making it a highly sensitive "lie detector."

Datasets and Key Results

The researchers evaluated their method using the GenVideo benchmark, a massive collection containing real videos (from Kinetics-400, MSR-VTT, etc.) and AI-generated videos produced by 19 different models. This included high-profile closed-source systems like Sora and MoonValley, as well as open-source models like Pika, Gen2, and Stable Video Diffusion (SVD).

The proposed NSG-VD method demonstrated significant improvements over baselines like DeMamba and TALL:

  • Superior Accuracy: It achieved a 16.00% higher Recall and a 10.75% higher F1-Score on average across diverse generators.
  • Robustness to Advanced Models: On challenging "closed-source" models like Sora, NSG-VD maintained high performance (e.g., ~78-82% recall) where other baselines often collapsed to near-random guessing.
  • Data Efficiency: In "data-imbalanced" scenarios (where the detector is trained on very few fake videos), NSG-VD remained remarkably stable, while other methods' performance plummeted. This suggests that physics-driven features are far more generalizable than learned visual features.

Limitations and Future Work

While highly effective, the approach has some limitations:

  • Simplified Physics: The current NSG formulation assumes "incompressible flow" (similar to a liquid), which is a simplification. Real-world videos with complex occlusions or sudden lighting changes might violate this assumption, potentially leading to false positives.
  • Computational Overhead: Because it relies on running a video through a pre-trained diffusion model to extract features, it is slower than simple CNN-based detectors. The authors noted an inference time of 0.36s per video, which is practical for forensic analysis but perhaps too slow for real-time social media filtering at scale.

Future work will explore more sophisticated physical models (e.g., accounting for compressible flows) and utilize model compression techniques to speed up the diffusion-based feature extraction process.

Summary updated

BibTeX
@inproceedings{zhang2025physics,
  author = {Shuhai Zhang and ZiHao Lian and Jiahao Yang and Daiyuan Li and Guoxuan Pang and Feng Liu and Bo Han and Shutao Li and Mingkui Tan},
  title = {{Physics-Driven Spatiotemporal Modeling for AI-Generated Video Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=HiBoJLCyEo},
}
Figure