arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.15259cs.CVcs.AI
收藏

StarVid:通过空间和句法引导的注意力重聚焦增强视频扩散模型中的语义对齐

StarVid: Enhancing Semantic Alignment in Video Diffusion Models via Spatial and SynTactic Guided Attention Refocusing

Yuanhang Li, Qi Mao, Lan Chen, Zhen Fang, Lei Tian, Xinyan Xiao, Libiao Jin, Hua Wu

AI总结:

提出即插即用、免训练的StarVid方法,利用LLM进行两阶段轨迹规划作为空间先验引导交叉注意力重聚焦,并结合句法引导对比约束增强运动与主体绑定,显著提升了多主体组合场景下T2V模型的语义对齐与视频质量。

摘要:

近期基于扩散模型的文本到视频(T2V)生成技术取得了显著进展。然而,它们通常在单一物体和运动的场景中表现良好,但在包含多个物体和不同运动组合的场景中,难以准确反映文本提示的语义内容。为了应对这些挑战,我们提出了StarVid,这是一种即插即用、免训练的方法,旨在改善T2V模型中多个主体、其运动与文本提示之间的语义对齐。StarVid首先利用大型语言模型(LLMs)的空间推理能力,基于文本提示进行两阶段运动轨迹规划。这些轨迹作为空间先验,引导一种空间感知损失,将交叉注意力(CA)图重新聚焦到不同区域。此外,我们提出了一种句法引导的对比约束,以加强动词与其对应名词的CA图之间的相关性,从而增强运动与主体的绑定。定性和定量评估均表明,所提出的框架显著优于基线方法,能够提供质量更高且语义一致性更好的视频。

英文摘要:

Recent advances in text-to-video (T2V) generation with diffusion models have garnered significant attention. However, they typically perform well in scenes with a single object and motion, struggling in compositional scenarios with multiple objects and distinct motions to accurately reflect the semantic content of text prompts. To address these challenges, we propose \textbf{StarVid}, a plug-and-play, training-free method that improves semantic alignment between multiple subjects, their motions, and text prompts in T2V models. StarVid first leverages the spatial reasoning capabilities of large language models (LLMs) for two-stage motion trajectory planning based on text prompts. Such trajectories serve as spatial priors, guiding a spatial-aware loss to refocus cross-attention (CA) maps into distinctive regions. Furthermore, we propose a syntax-guided contrastive constraint to strengthen the correlation between the CA maps of verbs and their corresponding nouns, enhancing motion-subject binding. Both qualitative and quantitative evaluations demonstrate that the proposed framework significantly outperforms baseline methods, delivering videos of higher quality with improved semantic consistency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑