跳到正文
arXiv (AI + Vision + Imaging)· Peter Racioppo·· 8 天前AI 评分36

Dynamical Kernel Attention(DKA):从历史记录中估计当前状态的自注意力新方法

Dynamical Kernel Attention: Estimating the Present from a Record of the Past

AI 导读

Dynamical Kernel Attention(DKA)从受随机微分方程约束的隐状态稳健估计中推导注意力,使每个注意力头从任意上下文获取有界证据,并可在相关证据较弱时弃权。在语言建模中,DKA 在训练长度内优于 RoPE,远超训练长度时优于 ALiBi,并以显著更小的 key-value 缓存匹配滑动窗口注意力。

正文 · 原文

arXiv:2610.24026v2 Announce Type: replace Abstract: Self-attention encodes where a past token lies, but not how its uncertainty grows with time: evidence accumulates without bound as the context grows, and nothing indicates which tokens are safe to discard. We introduce Dynamical Kernel Attention (DKA), which derives attention from robust estimation of a latent state governed by a stochastic differential equation. Under this model, each head draws bounded evidence from any context. This lets each head abstain when relevant evidence is weak, and gives each head a memory window outside which discarding tokens changes its output by a provably bounded amount. On language modeling, DKA outperforms RoPE within the training length and ALiBi far beyond it, and matches sliding-window attention with a substantially smaller key-value cache.

来源:arXiv (AI + Vision + Imaging) · arxiv.org