{"id":"https://openalex.org/W3034573343","doi":"https://doi.org/10.48550/arxiv.2006.16236","title":"Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention","display_name":"Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention","publication_year":2020,"publication_date":"2020-06-29","ids":{"openalex":"https://openalex.org/W3034573343","doi":"https://doi.org/10.48550/arxiv.2006.16236","mag":"3034573343"},"language":"en","primary_location":{"id":"pmh:oai:arXiv.org:2006.16236","doi":null,"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2006.16236","pdf_url":"https://arxiv.org/pdf/2006.16236","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},"parent_works":[],"lineage":["https://openalex.org/W3034573343"],"child_works_count":0,"type":"preprint","is_traditional":true,"indexed_in":["arxiv","datacite"],"open_access":{"is_oa":true,"oa_status":"green","oa_url":"https://arxiv.org/pdf/2006.16236","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5031829458","display_name":"Angelos Katharopoulos","orcid":null,"observed_orcids":[]},"institutions":[{"id":"https://openalex.org/I5124864","display_name":"\u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne","ror":"https://ror.org/02s376052","country_code":"CH","type":"education","lineage":["https://openalex.org/I2799323385","https://openalex.org/I5124864"]}],"countries":["CH"],"is_corresponding":false,"raw_author_name":"Katharopoulos, Angelos","raw_affiliation_strings":["Idiap and EPFL#TAB#"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Idiap and EPFL#TAB#","institution_ids":["https://openalex.org/I5124864"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5108691882","display_name":"Apoorv Vyas","orcid":null,"observed_orcids":[]},"institutions":[{"id":"https://openalex.org/I7495430","display_name":"Idiap Research Institute","ror":"https://ror.org/05932h694","country_code":"CH","type":"facility","lineage":["https://openalex.org/I7495430"]}],"countries":["CH"],"is_corresponding":false,"raw_author_name":"Vyas, Apoorv","raw_affiliation_strings":["IDIAP RESEARCH INSTITUTE"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"IDIAP RESEARCH INSTITUTE","institution_ids":["https://openalex.org/I7495430"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5023518080","display_name":"Nikolaos Pappas","orcid":"https://orcid.org/0000-0002-2004-8111","observed_orcids":["https://orcid.org/0000-0002-2004-8111"]},"institutions":[{"id":"https://openalex.org/I201448701","display_name":"University of Washington","ror":"https://ror.org/00cvxb145","country_code":"US","type":"education","lineage":["https://openalex.org/I201448701"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Pappas, Nikolaos","raw_affiliation_strings":["University of Washington ;"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"University of Washington ;","institution_ids":["https://openalex.org/I201448701"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5076094010","display_name":"Fran\u00e7ois Fleuret","orcid":"https://orcid.org/0000-0001-9457-7393","observed_orcids":["https://orcid.org/0000-0001-9457-7393"]},"institutions":[{"id":"https://openalex.org/I7495430","display_name":"Idiap Research Institute","ror":"https://ror.org/05932h694","country_code":"CH","type":"facility","lineage":["https://openalex.org/I7495430"]}],"countries":["CH"],"is_corresponding":false,"raw_author_name":"Fleuret, Fran\u00e7ois","raw_affiliation_strings":["IDIAP RESEARCH INSTITUTE"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"IDIAP RESEARCH INSTITUTE","institution_ids":["https://openalex.org/I7495430"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":3,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":true,"cited_by_count":3656,"citation_normalized_percentile":null,"cited_by_percentile_year":null,"biblio":{"volume":"1","issue":null,"first_page":"5156","last_page":"5165"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.8339999914169312,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.8339999914169312,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10181","display_name":"Natural Language Processing Techniques","score":0.05820000171661377,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10036","display_name":"Advanced Neural Network Applications","score":0.0364999994635582,"subfield":{"id":"https://openalex.org/subfields/1707","display_name":"Computer Vision and Pattern Recognition"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/linear-transformer","display_name":"linear transformer","score":0.6930000185966492},{"id":"https://openalex.org/keywords/linear-attention","display_name":"linear attention","score":0.7540000081062317},{"id":"https://openalex.org/keywords/self-attention","display_name":"self-attention","score":0.8100000023841858},{"id":"https://openalex.org/keywords/autoregressive-transformer","display_name":"autoregressive transformers","score":0.7829999923706055},{"id":"https://openalex.org/keywords/recurrent-neural-networks","display_name":"recurrent neural networks","score":0.7789999842643738},{"id":"https://openalex.org/keywords/quadratic-complexity","display_name":"quadratic complexity","score":0.6669999957084656},{"id":"https://openalex.org/keywords/iterative-implementation","display_name":"iterative implementation","score":0.5839999914169312},{"id":"https://openalex.org/keywords/computational-efficiency","display_name":"computational efficiency","score":0.4909999966621399}],"concepts":[{"id":"https://openalex.org/C159877910","wikidata":"https://www.wikidata.org/wiki/Q2202883","display_name":"Autoregressive model","level":2,"score":0.8147991299629211},{"id":"https://openalex.org/C66322947","wikidata":"https://www.wikidata.org/wiki/Q11658","display_name":"Transformer","level":3,"score":0.6746999025344849},{"id":"https://openalex.org/C129844170","wikidata":"https://www.wikidata.org/wiki/Q41299","display_name":"Quadratic equation","level":2,"score":0.5568596720695496},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.5185664296150208},{"id":"https://openalex.org/C179799912","wikidata":"https://www.wikidata.org/wiki/Q205084","display_name":"Computational complexity theory","level":2,"score":0.4170502722263336},{"id":"https://openalex.org/C11413529","wikidata":"https://www.wikidata.org/wiki/Q8366","display_name":"Algorithm","level":1,"score":0.41269540786743164},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.33457547426223755},{"id":"https://openalex.org/C165801399","wikidata":"https://www.wikidata.org/wiki/Q25428","display_name":"Voltage","level":2,"score":0.2933123707771301},{"id":"https://openalex.org/C127413603","wikidata":"https://www.wikidata.org/wiki/Q11023","display_name":"Engineering","level":0,"score":0.17727777361869812},{"id":"https://openalex.org/C119599485","wikidata":"https://www.wikidata.org/wiki/Q43035","display_name":"Electrical engineering","level":1,"score":0.11797308921813965},{"id":"https://openalex.org/C105795698","wikidata":"https://www.wikidata.org/wiki/Q12483","display_name":"Statistics","level":1,"score":0.09712094068527222},{"id":"https://openalex.org/C2524010","wikidata":"https://www.wikidata.org/wiki/Q8087","display_name":"Geometry","level":1,"score":0.0}],"mesh":[],"locations_count":5,"locations":[{"id":"pmh:oai:arXiv.org:2006.16236","doi":null,"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2006.16236","pdf_url":"https://arxiv.org/pdf/2006.16236","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"pmh:oai:infoscience.epfl.ch:278853","doi":null,"is_oa":true,"landing_page_url":"http://infoscience.epfl.ch/record/278853","pdf_url":null,"source":{"id":"https://openalex.org/S4306400487","display_name":"Infoscience (Ecole Polytechnique F\u00e9d\u00e9rale de Lausanne)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I5124864","host_organization_name":"\u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne","host_organization_lineage":["https://openalex.org/I5124864"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"report"},{"id":"pmh:oai:infoscience.epfl.ch:288841","doi":null,"is_oa":true,"landing_page_url":"http://infoscience.epfl.ch/record/288841","pdf_url":null,"source":{"id":"https://openalex.org/S4306400487","display_name":"Infoscience (Ecole Polytechnique F\u00e9d\u00e9rale de Lausanne)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I5124864","host_organization_name":"\u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne","host_organization_lineage":["https://openalex.org/I5124864"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by-nc-nd","license_id":"https://openalex.org/licenses/cc-by-nc-nd","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"WoS","raw_type":"conference proceedings"},{"id":"doi:10.48550/arxiv.2006.16236","doi":"https://doi.org/10.48550/arxiv.2006.16236","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2006.16236","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Preprint"},{"id":"mag:3034573343","doi":null,"is_oa":false,"landing_page_url":"http://proceedings.mlr.press/v119/katharopoulos20a/katharopoulos20a.pdf","pdf_url":null,"source":{"id":"https://openalex.org/S4306419644","display_name":"International Conference on Machine Learning","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":null,"host_organization_name":null,"host_organization_lineage":[],"host_organization_lineage_names":[],"type":"conference"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":false,"raw_source_name":"International Conference on Machine Learning","raw_type":null}],"best_oa_location":{"id":"pmh:oai:arXiv.org:2006.16236","doi":null,"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2006.16236","pdf_url":"https://arxiv.org/pdf/2006.16236","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},"sustainable_development_goals":[],"study_designs":[],"awards":[{"id":"https://openalex.org/G1757714911","display_name":"Pal\u00e4ogeographische Entwicklung des helvetischen Ablagerungs- raumes w\u00e4hrend der Kreide und des Terti\u00e4rs (Teilgesuch ZH: Jura/Kreide-Grenze und Barr\u00e8me-Apt in der Ostschweiz)","funder_award_id":"30209","funder_id":"https://openalex.org/F4320320924","funder_display_name":"Schweizerischer Nationalfonds zur F\u00f6rderung der Wissenschaftlichen Forschung"},{"id":"https://openalex.org/G2412398019","display_name":"Analyse palynologique et pal\u00e9obotanique des interstades W\u00fcrmiens et des derniers Interglaciaires dans deux bassins Pr\u00e9-Alpins de Suisse occidentale","funder_award_id":"30224","funder_id":"https://openalex.org/F4320320924","funder_display_name":"Schweizerischer Nationalfonds zur F\u00f6rderung der Wissenschaftlichen Forschung"},{"id":"https://openalex.org/G6424919340","display_name":"UNISON: Universal Structure-Aware Output Learning for Natural Language Understanding and Generation","funder_award_id":"183911","funder_id":"https://openalex.org/F4320320924","funder_display_name":"Schweizerischer Nationalfonds zur F\u00f6rderung der Wissenschaftlichen Forschung"}],"funders":[{"id":"https://openalex.org/F4320320924","display_name":"Schweizerischer Nationalfonds zur F\u00f6rderung der Wissenschaftlichen Forschung","ror":"https://ror.org/00yjd3n13"}],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W3034573343.pdf","grobid_xml":"https://content.openalex.org/works/W3034573343.grobid-xml"},"referenced_works_count":41,"referenced_works":["https://openalex.org/W36903255","https://openalex.org/W1522301498","https://openalex.org/W2024490156","https://openalex.org/W2064675550","https://openalex.org/W2100714283","https://openalex.org/W2127141656","https://openalex.org/W2130942839","https://openalex.org/W2131462252","https://openalex.org/W2176412452","https://openalex.org/W2581236139","https://openalex.org/W2626778328","https://openalex.org/W2774769176","https://openalex.org/W2795138957","https://openalex.org/W2866343820","https://openalex.org/W2940744433","https://openalex.org/W2944815030","https://openalex.org/W2946567085","https://openalex.org/W2949718784","https://openalex.org/W2950813464","https://openalex.org/W2962998615","https://openalex.org/W2963341956","https://openalex.org/W2964110616","https://openalex.org/W2964121744","https://openalex.org/W2964308564","https://openalex.org/W2964324019","https://openalex.org/W2965373594","https://openalex.org/W2968917279","https://openalex.org/W2970100546","https://openalex.org/W2970401203","https://openalex.org/W2970423380","https://openalex.org/W2970565456","https://openalex.org/W2970971581","https://openalex.org/W2975059944","https://openalex.org/W2979314664","https://openalex.org/W2991526275","https://openalex.org/W2994673210","https://openalex.org/W2994759459","https://openalex.org/W2996035354","https://openalex.org/W3000514857","https://openalex.org/W3118608800","https://openalex.org/W3120633509"],"related_works":["https://openalex.org/W4226175209","https://openalex.org/W3033529678","https://openalex.org/W4389519032","https://openalex.org/W7212334141","https://openalex.org/W4226261765","https://openalex.org/W4396718093","https://openalex.org/W4377865076","https://openalex.org/W7166722577","https://openalex.org/W4307929142","https://openalex.org/W2994673210"],"abstract_inverted_index":{"Transformers":[0],"achieve":[1,92],"remarkable":[2],"performance":[3,94],"in":[4],"several":[5],"tasks":[6],"but":[7],"due":[8],"to":[9,15,53,59,85,95,102],"their":[10,83],"quadratic":[11],"complexity,":[12],"with":[13],"respect":[14],"the":[16,33,47,55,64],"input's":[17],"length,":[18],"they":[19,99],"are":[20,100],"prohibitively":[21],"slow":[22],"for":[23],"very":[24,109],"long":[25,110],"sequences.":[26,111],"To":[27],"address":[28],"this":[29,70],"limitation,":[30],"we":[31],"express":[32],"self-attention":[34],"as":[35],"a":[36],"linear":[37,90],"dot-product":[38],"of":[39,46,50,108],"kernel":[40],"feature":[41],"maps":[42],"and":[43,81,98],"make":[44],"use":[45],"associativity":[48],"property":[49],"matrix":[51],"products":[52],"reduce":[54],"complexity":[56],"from":[57],"$\\mathcal{O}\\left(N^2\\right)$":[58],"$\\mathcal{O}\\left(N\\right)$,":[60],"where":[61],"$N$":[62],"is":[63],"sequence":[65],"length.":[66],"We":[67],"show":[68],"that":[69,76],"formulation":[71],"permits":[72],"an":[73],"iterative":[74],"implementation":[75],"dramatically":[77],"accelerates":[78],"autoregressive":[79,106],"transformers":[80,91,97],"reveals":[82],"relationship":[84],"recurrent":[86],"neural":[87],"networks.":[88],"Our":[89],"similar":[93],"vanilla":[96],"up":[101],"4000x":[103],"faster":[104],"on":[105],"prediction":[107]},"counts_by_year":[{"year":2026,"cited_by_count":1239},{"year":2025,"cited_by_count":948},{"year":2024,"cited_by_count":629},{"year":2023,"cited_by_count":381},{"year":2022,"cited_by_count":257},{"year":2021,"cited_by_count":172},{"year":2020,"cited_by_count":29},{"year":2019,"cited_by_count":1}],"updated_date":"2026-11-16T12:05:36.265796","created_date":"2020-06-19T00:00:00"}
