音视频模型中的注意力三角
研究论文 · 2026/09/07
音频-视频扩散模型依赖跨模态注意力来协调文本、声音和视觉内容,但这一机制也可能引入微妙且系统的语义泄漏。我们通过探测和分析连接文本、音频和视频流的三个交叉注意力边构成的“注意力三角”,研究生成过程中语义信息如何在模态间路由。分析显示,音频-视频边的路由是双向的:音频可影响视频生成,视频也可影响音频生成。该边受模型参数中编码的偏差影响,是泄漏的主要来源:当提示与学习先验冲突时,跨模态交互可能覆盖预期条件,将语义重定向到视觉上典型但错误的结果。这些效应表明,语义伪影不仅源于注意力扩散超出目标,还源于沿特定路径的结构化、偏差驱动的交互。基于此,我们提取注意力派生信号,揭示语义如何在模态间分布和锚定,并将其作为诊断工具,在受控条件下分析和故意引发泄漏。这使我们能够探测跨模态路由的内部动态,并隔离单个交互的作用。我们进一步利用这些信号指导推理时干预,以促进更一致的跨模态对齐。大量实验支持我们的分析,并展示了在保持生成质量的同时改善语义锚定。
本文深入剖析了音频-视频扩散模型中的语义泄漏问题,提出了新颖的“注意力三角”分析框架和诊断工具,为理解和改善跨模态生成提供了重要见解,实验验证充分,对多模态生成领域具有理论和实践价值。
Audio-video diffusion models rely on cross-modal attention to coordinate text, sound, and visual content, yet this same mechanism can introduce subtle and systematic semantic leakage. We study these models by probing and analyzing the ``attention triangle,'' comprising the three cross-attention edges connecting the text, audio, and video streams, and examine how semantic information is routed across modalities during generation. Our analysis reveals that routing along the audio-video edge is bidirectional: audio can influence video generation, while video can influence audio generation. This edge is shaped by biases encoded in the model's parameters and emerges as a major contributor to leakage: when prompts are in tension with learned priors, cross-modal interactions may override the intended conditioning and reroute semantics toward visually canonical but incorrect outcomes. These effects suggest that semantic artifacts arise not merely from attention spreading beyond its intended target, but from structured, bias-driven interactions along specific pathways. Building on this perspective, we extract attention-derived signals that expose how semantics are distributed and grounded across modalities, and use them as a diagnostic tool to both analyze and deliberately incur leakage under controlled conditions. This enables us to probe the internal dynamics of cross-modal routing and isolate the role of individual interactions. We further leverage these signals to guide inference-time interventions that encourage more consistent cross-modal alignment. Extensive experiments support our analysis and demonstrate improved semantic grounding while preserving generation quality.