arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2009.14794cs.LGcs.CLstat.ML
收藏

重新思考表演者的注意力

Rethinking Attention with Performers

Google(谷歌);University of Cambridge(剑桥大学);Alan Turing Institute(艾伦·图灵研究所);DeepMind(深度思维)
Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser,… 展开作者

Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, David Belanger, Lucy Colwell, Adrian Weller

摘要:

我们介绍表演者,Transformer架构,可以估计定期(softmax)满秩注意力Transformers可证明的准确性,但只使用线性(而不是二次)的空间和时间复杂度,而不依赖于任何先验,如稀疏或低秩。为了近似softmax注意力内核,执行者使用一种新的快速注意力通过正正交随机特征方法(FAVOR+),这可能是可扩展内核方法的独立兴趣。FAVOR+还可以用于有效地建模softmax之外的可内核化注意力机制。这种代表性的能力对于在大规模任务中首次准确地将softmax与其他内核进行比较至关重要,超出了常规Transformers的范围,并研究最佳注意力内核。执行者是线性架构,与常规Transformers完全兼容,并具有强大的理论保证:无偏或接近无偏估计的注意矩阵,一致收敛和低估计方差。我们在一组丰富的任务上测试了Performers,从像素预测到文本模型再到蛋白质序列建模。我们展示了竞争力的结果与其他检查有效的稀疏和密集的注意力方法,展示了有效性的新的注意力学习范式的表演者利用。

英文摘要:

We introduce Performers, Transformer architectures which can estimate regular (softmax) full-rank-attention Transformers with provable accuracy, but using only linear (as opposed to quadratic) space and time complexity, without relying on any priors such as sparsity or low-rankness. To approximate softmax attention-kernels, Performers use a novel Fast Attention Via positive Orthogonal Random features approach (FAVOR+), which may be of independent interest for scalable kernel methods. FAVOR+ can be also used to efficiently model kernelizable attention mechanisms beyond softmax. This representational power is crucial to accurately compare softmax with other kernels for the first time on large-scale tasks, beyond the reach of regular Transformers, and investigate optimal attention-kernels. Performers are linear architectures fully compatible with regular Transformers and with strong theoretical guarantees: unbiased or nearly-unbiased estimation of the attention matrix, uniform convergence and low estimation variance. We tested Performers on a rich set of tasks stretching from pixel-prediction through text models to protein sequence modeling. We demonstrate competitive results with other examined efficient sparse and dense attention methods, showcasing effectiveness of the novel attention-learning paradigm leveraged by Performers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑