计算机科学 > 数据结构与算法
[提交于 2026年5月7日]
标题:Nearly Optimal Attention Coresets
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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^{\rho+o(\rho)}/\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 $\rho$. This outperforms the best known results for this problem. We also offer an improved lower bound showing that $\varepsilon$-coresets must have size $\Omega({\sqrt{d} e^{\rho}/\epsilon})$.
提交历史
来自:Edo Liberty[v1] 2026年5月7日 星期四 02:37:57 UTC