Rethinking Attention with Performers

Softmax函数 计算机科学 可扩展性 变压器 二次方程 自编码 先验概率 机器学习 人工智能 算法 理论计算机科学 模式识别(心理学) 数学 深度学习 贝叶斯概率 数据库 量子力学 几何学 物理 电压
作者
Krzysztof Choromański,Valerii Likhosherstov,David Dohan,Xingyou Song,Andreea Gane,Tamás Sarlós,Peter Hawkins,Jared Quincy Davis,Afroz Mohiuddin,Łukasz Kaiser,David Belanger,Lucy J. Colwell,Adrian Weller
出处
期刊:Cornell University - arXiv 被引量:122
标识
DOI:10.48550/arxiv.2009.14794
摘要

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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研小白发布了新的文献求助10
1秒前
量子星尘发布了新的文献求助10
1秒前
1秒前
田様应助gooooood采纳,获得10
1秒前
1秒前
玄一发布了新的文献求助10
1秒前
袁志发布了新的文献求助10
2秒前
mm发布了新的文献求助10
2秒前
稳重的胡萝卜完成签到,获得积分10
2秒前
3秒前
宁静发布了新的文献求助10
3秒前
嗯嗯发布了新的文献求助10
3秒前
玉欢完成签到,获得积分10
4秒前
12138发布了新的文献求助10
4秒前
zijin发布了新的文献求助10
5秒前
5秒前
今后应助Savannah采纳,获得10
6秒前
6秒前
啊巴拉完成签到,获得积分10
7秒前
R_joy完成签到 ,获得积分10
7秒前
woshiwuziq应助Niki采纳,获得20
7秒前
7秒前
8秒前
樊丽彤完成签到,获得积分10
8秒前
玄一完成签到,获得积分10
8秒前
吕小布发布了新的文献求助10
8秒前
9秒前
hoaye完成签到,获得积分10
11秒前
量子星尘发布了新的文献求助10
11秒前
11秒前
11秒前
11秒前
樊丽彤发布了新的文献求助10
12秒前
zijin完成签到,获得积分10
12秒前
一一完成签到,获得积分20
12秒前
天真书南发布了新的文献求助10
12秒前
12秒前
13秒前
量子星尘发布了新的文献求助10
13秒前
青木蓝发布了新的文献求助10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to strong mixing conditions volume 1-3 5000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 2000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1000
Real World Research, 5th Edition 800
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5720240
求助须知:如何正确求助?哪些是违规求助? 5259215
关于积分的说明 15290544
捐赠科研通 4869684
什么是DOI,文献DOI怎么找? 2614942
邀请新用户注册赠送积分活动 1564958
关于科研通互助平台的介绍 1522093