Lune

ICML2021顶会

Linear Transformers Are Secretly Fast Weight Programmers

Imanol Schlag, Kazuki Irie, Jürgen Schmidhuber

摘要

We show the formal equivalence of linearised self-attention mechanisms and fast weight controllers from the early '90s, where a slow"neural net learns by gradient descent to program the fast weights"of another net through sequences of elementary programming instructions which are additive outer products of self-invented activation patterns (today called keys and values). Such Fast Weight Programmers (FWPs) learn to manipulate the contents of a finite memory and dynamically interact with it. We infer a memory capacity limitation of recent linearised softmax attention variants, and replace the purely additive outer products by a delta rule-like programming instruction, such that the FWP can more easily learn to correct the current mapping from keys to values. The FWP also learns to compute dynamically changing learning rates. We also propose a new kernel function to linearise attention which balances simplicity and effectiveness. We conduct experiments on synthetic retrieval problems as well as standard machine translation and language modelling tasks which demonstrate the benefits of our methods.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 177 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Hyena Hierarchy: Towards Larger Convolutional Language Models 引用了 Compressive Transformers for Long-Range Sequence Modelling
  • xLSTM: Extended Long Short-Term Memory 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • xLSTM: Extended Long Short-Term Memory 引用了 Long Range Arena : A Benchmark for Efficient Transformers
  • xLSTM: Extended Long Short-Term Memory 引用了 Hyena Hierarchy: Towards Larger Convolutional Language Models
  • xLSTM: Extended Long Short-Term Memory 引用了 Hopfield Networks is All You Need
  • Random Feature Attention 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Random Feature Attention 引用了 Long Range Arena : A Benchmark for Efficient Transformers
  • Random Feature Attention 引用了 Compressive Transformers for Long-Range Sequence Modelling
  • Choose a Transformer: Fourier or Galerkin 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Choose a Transformer: Fourier or Galerkin 引用了 Random Feature Attention
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 Hyena Hierarchy: Towards Larger Convolutional Language Models
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 xLSTM: Extended Long Short-Term Memory
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 Random Feature Attention
  • Transformers Learn In-Context by Gradient Descent 引用了 Hopfield Networks is All You Need
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper177

  1. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 次引用
  2. Transformers Learn In-Context by Gradient DescentJohannes von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento 等ICML 2023 · 729 次引用
  3. xLSTM: Extended Long Short-Term MemoryMaximilian Beck, Korbinian Pöppel, Markus Spanring, Andreas Auer 等NeurIPS 2024 · 703 次引用
  4. Choose a Transformer: Fourier or GalerkinShuhao CaoNeurIPS 2021 · 516 次引用
  5. Hyena Hierarchy: Towards Larger Convolutional Language ModelsMichael Poli, Stefano Massaroli, Eric Nguyen, Daniel Y. Fu 等ICML 2023 · 481 次引用

它引用的 Paper9

  1. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
  2. Long Range Arena : A Benchmark for Efficient TransformersYi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen 等ICLR 2021 · 881 次引用
  3. Compressive Transformers for Long-Range Sequence ModellingJack W. Rae, Anna Potapenko, Siddhant M. Jayakumar, Chloe Hillier 等ICLR 2020 · 833 次引用
  4. Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl 等ICLR 2021 · 620 次引用
  5. Random Feature AttentionHao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz 等ICLR 2021 · 425 次引用

相关 Paper

  1. Going Beyond Linear Transformers with Recurrent Fast Weight ProgrammersKazuki Irie, Imanol Schlag, Róbert Csordás, Jürgen SchmidhuberNeurIPS 2021 · 101 次引用
  2. Blending Complementary Memory Systems in Hybrid Quadratic-Linear TransformersKazuki Irie, Morris Yau, Samuel J. GershmanNeurIPS 2025 · 13 次引用
  3. A Modern Self-Referential Weight Matrix That Learns to Modify ItselfKazuki Irie, Imanol Schlag, Róbert Csordás, Jürgen SchmidhuberICML 2022 · 42 次引用
  4. Images as Weight Matrices: Sequential Image Generation Through Synaptic Learning RulesKazuki Irie, Jürgen SchmidhuberICLR 2023 · 1 次引用
  5. Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song 等ICLR 2021 · 122 次引用
黄昏的海面,两侧是细线勾勒的悬崖