Agentic Physics-Grounded Video Generation via Memory-Augmented In-Context Reasoning
Xikang Guan, Shaocong Yang, Yanqi Bao, Can Wang, Zheng Gu, Zhengqing Chen, Kai Chen, Jing Huo, Yang Gao
Abstract
Physical plausibility is essential for realistic video generation. Existing methods impose physical guidance before synthesis via simulations or refined prompts, but this can limit dynamic diversity, miss errors that emerge only after generation, and require repeated regeneration when inconsistencies remain. We therefore study a generate-diagnose-repair paradigm that preserves the original generation capability and selectively repairs physical inconsistencies afterward, raising two key questions: what to repair and how to repair? To address them, we introduce PhysRepair, an agentic video generation framework that combines causal reasoning over the observed physical failure with prior repair experience to enable localized and adaptive correction. Specifically, Spatiotemporal Causal Constraints identify the first invalid physical state and its causally affected states, producing a repair specification that guides physically plausible local regeneration while preserving unaffected content. Experience-augmented In-context Learning combines the ongoing repair context with relevant experience from previous repairs, allowing the agent to adapt its repair decisions across diverse physical failures and accumulate completed trajectories for future cases. Experiments on Physics-IQ Verified across solid mechanics, fluid dynamics, optics, thermodynamics, and magnetism demonstrate that PhysRepair consistently improves the physical plausibility of generated videos over existing methods. Our project page is available at https://xxkkxxx.github.io/PhysRepair-Website/.
Create a lesson
Metadata
- Comments
- 12 pages, 5 figures, 1 table
Related papers
StateWeaver: Multi-Agent Coordination of Story-State Transitions for Long-Horizon Video Generation
Shared title terminologycs.CVModi Jin, Xuying Zhang, Yijing Guo et al.
GeoV2V: Geometry-Grounded Video Diffusion Model for Driving Scene Generation
Shared title terminologycs.CVYuchen Xi, Yuhan Guo, Chenwei Hou et al.
Think Visually Across Space and Time: Grounded Reasoning for Video Segmentation
Shared title terminologycs.CVJunwei Wen, Deshui Miao, Guangming Lu et al.
I2V-DETACH: Source Grounding Detachment for Unauthorized Image-to-Video Generation
Shared title terminologycs.CVChanhui Lee, Yeonghwan Song, Yewon Kang et al.
VibeVideoAgent: Closing the Perceptual Loop for Code-Driven Video Generation
Shared title terminologycs.CVXuanyu Zheng, Luoyuan Zhang, Yancheng Long et al.
EgoMyo: Physical Hand State Estimation from Egocentric Video and Wrist Electromyography
Shared title terminologycs.CVGuanglong Sun, Kanglei Zhou, Ziteng Wang et al.