近似最优注意力核心集
Nearly Optimal Attention Coresets
AI总结:
本文研究了在小空间中估计注意力机制的问题,证明了存在近似最优大小的核心集,同时改进了核心集的下界。
摘要:
本文研究了在小空间中估计注意力机制的问题,证明了存在近似最优大小的核心集,同时改进了核心集的下界。
英文摘要:
We consider the problem of estimating the Attention mechanism in small space, and prove the existence of coresets for it of nearly optimal size. Specifically, we show that for any set of unit-norm keys and values $(K,V)$ in $\mathbb{R}^d$, there exists a subset $(K',V')$ of size at most $O({\sqrt{d} e^{ρ+o(ρ)}/\varepsilon})$ such that \[ \left\| \operatorname{Attn}(q,K,V)- \operatorname{Attn}(q,K',V') \right\| \le \varepsilon \] simultaneously for all queries whose norm is bounded by $ρ$. This outperforms the best known results for this problem. We also offer an improved lower bound showing that $\varepsilon$-coresets must have size $Ω({\sqrt{d} e^ρ/ε})$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。