时空注意力中的随机模仿——调节对角陷
Stochastic Parroting in Temporal Attention -- Regulating the Diagonal Sink
AI总结:
本文研究了时间注意力机制中因序列长度导致的对角注意力陷问题,提出正则化方法以缓解信息退化并验证其有效性。
摘要:
时空模型分析空间结构和时间动态,这使它们容易在空间和时间之间产生信息退化。先前文献表明,因果注意力或时间卷积中的过度挤压会偏向第一个token。为了分析这种偏见是否存在于时间注意力机制中,我们推导了时间注意力层雅可比行列式的期望值的敏感性界限。我们理论上展示了偏置注意力分数如何依赖于序列长度,并表明时间注意力矩阵遭受对角注意力陷。我们建议了正则化方法,并通过实验验证其有效性。
英文摘要:
Spatio-temporal models analyze spatial structures and temporal dynamics, which makes them prone to information degeneration among space and time. Prior literature has demonstrated that over-squashing in causal attention or temporal convolutions creates a bias on the first tokens. To analyze whether such a bias is present in temporal attention mechanisms, we derive sensitivity bounds on the expected value of the Jacobian of a temporal attention layer. We theoretically show how off-diagonal attention scores depend on the sequence length, and that temporal attention matrices suffer a diagonal attention sink. We suggest regularization methods, and experimentally demonstrate their effectiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。