mlsanityData to 7 Oct 2026

AGaLiTe: Approximate Gated Linear Transformers for Online Reinforcement Learning

arXiv 2310.15719 ↗First posted 24 Oct 2023cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

In this paper we investigate transformer architectures designed for partially observable online reinforcement learning. The self-attention mechanism in the transformer architecture is capable of capturing long-range dependencies and it is the main reason behind its effectiveness in processing sequential data. Nevertheless, despite their success, transformers have two significant drawbacks that still limit their applicability in online reinforcement learning: (1) in order to remember all past information, the self-attention mechanism requires access to the whole history to be provided as context. (2) The inference cost in transformers is expensive. In this paper, we introduce recurrent alternatives to the transformer self-attention mechanism that offer context-independent inference cost, leverage long-range dependencies effectively, and performs well in online reinforcement learning task. We quantify the impact of the different components of our architecture in a diagnostic environment and assess performance gains in 2D and 3D pixel-based partially-observable environments (e.g. T-Maze, Mystery Path, Craftax, and Memory Maze). Compared with a state-of-the-art architecture, GTrXL, inference in our approach is at least 40% cheaper while reducing memory use more than 50%. Our approach either performs similarly or better than GTrXL, improving more than 37% upon GTrXL performance in harder tasks.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 53 of its 71 references that are in the map. First posted on arXiv 24 Oct 2023.

Builds on

53 of 71 references.

References · 53

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2017Proximal Policy Optimization Algorithmscited by 14,441
  6. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2015Trust Region Policy Optimizationcited by 2,503
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
38 more
  1. 2020Reformer: The Efficient Transformercited by 1,658
  2. 2020Rethinking Attention with Performerscited by 1,584
  3. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2023Mastering Diverse Domains through World Modelscited by 1,193
  6. 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,061
  7. 2020Mastering Atari with Discrete World Modelscited by 990
  8. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  9. 2019Are Sixteen Heads Really Better than One?cited by 803
  10. 2022A Generalist Agentcited by 802
  11. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  12. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
  13. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  14. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  15. 2015Deep Recurrent Q-Learning for Partially Observable MDPscited by 457
  16. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  17. 2016Benchmarking Deep Reinforcement Learning for Continuous Controlcited by 361
  18. 2021Random Feature Attentioncited by 350
  19. 2017StarCraft II: A New Challenge for Reinforcement Learningcited by 268
  20. 2019Stabilizing Transformers for Reinforcement Learningcited by 262
  21. 2022Multi-Game Decision Transformerscited by 212
  22. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
  23. 2022Recurrent Memory Transformercited by 197
  24. 2021Benchmarking the Spectrum of Agent Capabilitiescited by 193
  25. 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
  26. 2022TransDreamer: Reinforcement Learning with Transformer World Modelscited by 143
  27. 2017Scalable trust-region method for deep reinforcement learning using Kronecker-factored approximationcited by 119
  28. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  29. 2023Structured State Space Models for In-Context Reinforcement Learningcited by 109
  30. 2020Sample Factory: Egocentric 3D Control from Pixels at 100000 FPS with Asynchronous Reinforcement Learningcited by 84
  31. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 84
  32. 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
  33. 2023POPGym: Benchmarking Partially Observable Reinforcement Learningcited by 59
  34. 2022Evaluating Long-Term Memory in 3D Mazescited by 41
  35. 2021Efficient Transformers in Reinforcement Learning using Actor-Learner Distillationcited by 35
  36. 2023Online learning of long-range dependenciescited by 25
  37. 2023Searching for High-Value Molecules Using Reinforcement Learning and Transformerscited by 18
  38. 2015Training recurrent networks online without backtrackingcited by 10

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1; 2025: 3.

5 papers.