GraphSteer:用场景图引导视频扩散模型满足多对象空间关系
Scene-Graph Steering for Video Diffusion Models
做视频生成的朋友可以看看这篇。它不用预先画框定布局,直接把提示词拆成场景图来引导生成,在 CogVideoX-5b 上空间分数从 0.545 提到 0.631,还能零样本用到 Wan2.2-A14B 和 HunyuanVideo 上,多对象场景经常丢关系的可以试试。
论文提出 GraphSteer,一种即插即用的场景图引导方法,用于提升文生视频扩散模型处理多对象空间关系的能力。在 CogVideoX-5b 上,T2V-CompBench 空间分数从 0.545 提升至 0.631,多关系逐边准确率从 0.225 提升至 0.392。
方法核心是将提示词解析为场景图:节点代表对象,边描述对象间的空间关系。Graph Scorer Module 直接从 cross-attention 对每条边打分,所有关系通过单个联合损失一起优化,无需像框引导方法那样预先手工或用 LLM 定义固定布局。作者还指出,现有文生视频基准无法联合评估多个关系,因此设计了多关系提示词和基于成对 VLM 判断的全局偏好分数来评估。
GraphSteer 无需重训练即可零样本迁移到不同视频生成架构,包括 Wan2.2-A14B 和 HunyuanVideo,说明该引导机制与底层模型解耦。对于需要精确控制画面中多个对象相对位置的开发者,这提供了一种不依赖固定布局的可扩展方案。
Scene-Graph Steering for Video Diffusion Models
Text-to-video diffusion models can generate remarkable videos, but still struggle when prompts involve multiple relations between objects, often missing or misplacing some of them. Existing approaches tackle this problem using box-based guidance to enforce the desired relations. However, this requires defining the scene layout in advance, manually or using an LLM, for every prompt. This makes the process impractical when scaling to more complex scenes, as it relies on a fixed layout that does not account for what the generator actually produces. We address these limitations by introducing GraphSteer, a plug-and-play method that uses scene graphs to guide generation towards satisfying multiple relations, without requiring any predefined layout. GraphSteer represents the prompt as a scene graph, whose nodes are objects and whose edges describe their spatial relations. We design a Graph Scorer Module that scores every edge directly from cross-attention, so all relations are optimized through a single joint loss. We also observe that existing text-to-video benchmarks are not designed to evaluate multiple relations jointly, making it difficult to identify individual relation failures or assess whether all relations hold in the same video. To address this, we introduce multi-relation prompts and a global preference score based on pairwise VLM judgments. On CogVideoX-5b, GraphSteer improves the T2V-CompBench spatial score from 0.545 to 0.631 and multi-relation per-edge accuracy from 0.225 to 0.392. Finally, we show that GraphSteer transfers zero-shot to different video generation architectures, including Wan2.2-A14B and HunyuanVideo, without retraining.
This report is categorized under AITOP's "Papers" desk. Key entities and technical topics under continuous tracking include GraphSteer, CogVideoX, video generation, diffusion models.
Source attribution: curated from arXiv cs.AI (@Leonardo Stoppani, Donald Shenaj, Davide Bacciu).