paper-with-me

홈 › Papers

Going Beyond Linear Transformers with Recurrent Fast Weight Programmers

2021-06-11 · NeurIPS 2021 12 · Kazuki Irie, Imanol Schlag, Róbert Csordás, Jürgen Schmidhuber

Transformers with linearised attention (''linear Transformers'') have demonstrated the practical scalability and effectiveness of outer product-based Fast Weight Programmers (FWPs) from the '90s. However, the original FWP formulation is more general than the one of linear Transformers: a slow neural network (NN) continually reprograms the weights of a fast NN with arbitrary architecture. In existing linear Transformers, both NNs are feedforward and consist of a single layer. Here we explore new variations by adding recurrence to the slow and fast nets. We evaluate our novel recurrent FWPs (RFWPs) on two synthetic algorithmic tasks (code execution and sequential ListOps), Wikitext-103 language models, and on the Atari 2600 2D game environment. Our models exhibit properties of Transformers and RNNs. In the reinforcement learning setting, we report large improvements over LSTM in several Atari games. Our code is public.

📄 PDF Abstract BibTeX arXiv:2106.06295

Code (5)

IDSIA/recurrent-fwp 공식 구현 pytorch
IDSIA/lmtool-fwms pytorch
IDSIA/lmtool-fwp pytorch
idsia/modern-srwm pytorch
idsia/neuraldiffeq-fwp pytorch

Tasks

Atari GamesListOps

Methods 이 논문이 사용한 방법론

Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…

Similar Papers 제목 키워드 기반

It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization

2025-04-17 · Ali Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab Mirrokni

Designing efficient and effective architectural backbones has been in the core of research efforts to enhance the capability of foundation models. Inspired by the human cognitive phenomenon of attentional bias-the natura…

AllLanguage ModelingLanguage ModellingMemorization

Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention

2020-06-29 · ICML 2020 1 · Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François Fleuret

Transformers achieve remarkable performance in several tasks but due to their quadratic complexity, with respect to the input's length, they are prohibitively slow for very long sequences. To address this limitation, we …

D4RLLanguage ModellingOffline RL

Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensions

2023-10-24 · Kazuki Irie, Róbert Csordás, Jürgen Schmidhuber

Recent studies of the computational power of recurrent neural networks (RNNs) reveal a hierarchy of RNN architectures, given real-time and finite-precision assumptions. Here we study auto-regressive Transformers with lin…

Transformers learn to implement preconditioned gradient descent for in-context learning

2023-09-21 · NeurIPS 2023 11

Motivated by the striking ability of transformers for in-context learning, several works demonstrate that transformers can implement algorithms like gradient descent. By a careful construction of weights, these works sho…

Recurrent Vision Transformers for Object Detection with Event Cameras

2022-12-11 · CVPR 2023 1 · Mathias Gehrig, Davide Scaramuzza

We present Recurrent Vision Transformers (RVTs), a novel backbone for object detection with event cameras. Event cameras provide visual information with sub-millisecond latency at a high-dynamic range and with strong rob…

Event-based visionGPUobject-detectionObject Detection