mlsanityData to 7 Oct 2026

Mnemosyne: Learning to Train Transformers with Transformers

arXiv 2302.01128 ↗First posted 2 Feb 2023cs.LG cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

In this work, we propose a new class of learnable optimizers, called textitMnemosyne. It is based on the novel spatio-temporal low-rank implicit attention Transformers that can learn to train entire neural network architectures, including other Transformers, without any task-specific optimizer tuning. We show that Mnemosyne: (a) outperforms popular LSTM optimizers (also with new feature engineering to mitigate catastrophic forgetting of LSTMs), (b) can successfully train Transformers while using simple meta-training strategies that require minimal computational resources, (c) matches accuracy-wise SOTA hand-designed optimizers with carefully tuned hyper-parameters (often producing top performing models). Furthermore, Mnemosyne provides space complexity comparable to that of its hand-designed first-order counterparts, which allows it to scale to training larger sets of parameters. We conduct an extensive empirical evaluation of Mnemosyne on: (a) fine-tuning a wide range of Vision Transformers (ViTs) from medium-size architectures to massive ViT-Hs (36 layers, 16 heads), (b) pre-training BERT models and (c) soft prompt-tuning large 11B+ T5XXL models. We complement our results with a comprehensive theoretical analysis of the compact associative memory used by Mnemosyne which we believe was never done before.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 60 of its 85 references that are in the map. First posted on arXiv 2 Feb 2023.

Builds on

60 of 85 references.

References · 60

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2020Extracting Training Data from Large Language Modelscited by 2,144
  11. 2022RT-1: Robotics Transformer for Real-World Control at Scalecited by 2,007
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
38 more
  1. 2020Reformer: The Efficient Transformercited by 1,658
  2. 2020Rethinking Attention with Performerscited by 1,584
  3. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  4. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  5. 2021Ethical and social risks of harm from Language Modelscited by 957
  6. 2020Efficient Transformers: A Surveycited by 784
  7. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  8. 2016Learning to learn by gradient descent by gradient descentcited by 616
  9. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  10. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  11. 2020Hopfield Networks is All You Needcited by 461
  12. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  13. 2020Understanding the Difficulty of Training Transformerscited by 210
  14. 2021Learning to Optimize: A Primer and A Benchmarkcited by 206
  15. 2016Learning to Optimizecited by 195
  16. 2018Sim-to-Real via Sim-to-Sim: Data-efficient Robotic Grasping via Randomized-to-Canonical Adaptation Networkscited by 171
  17. 2018A Sufficient Condition for Convergences of Adam and RMSPropcited by 124
  18. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
  19. 2017Learned Optimizers that Scale and Generalizecited by 109
  20. 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
  21. 2018Understanding and correcting pathologies in the training of learned optimizerscited by 97
  22. 2022Towards Learning Universal Hyperparameter Optimizers with Transformerscited by 81
  23. 2020Tasks, stability, architecture, and compute: Training more effective learned optimizers, and using them to train themselvescited by 57
  24. 2022VeLO: Training Versatile Learned Optimizers by Scaling Upcited by 57
  25. 2021Offline Meta-Reinforcement Learning with Online Self-Supervisioncited by 52
  26. 2021Unbiased Gradient Estimation in Unrolled Computation Graphs with Persistent Evolution Strategiescited by 52
  27. 2018Modular meta-learningcited by 51
  28. 2017Learning Gradient Descent: Better Generalization and Longer Horizonscited by 50
  29. 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
  30. 2021Meta-Learning with Fewer Tasks through Task Interpolationcited by 45
  31. 2019Differentially Private Meta-Learningcited by 40
  32. 2021From block-Toeplitz matrices to differential equations on graphs: towards a general theory for scalable masked Transformerscited by 38
  33. 2021Generalization of Model-Agnostic Meta-Learning Algorithms: Recurring and Unseen Taskscited by 36
  34. 2020Training Stronger Baselines for Learning to Optimizecited by 31
  35. 2022Learning Model Predictive Controllers with Real-Time Attention for Real-World Navigationcited by 27
  36. 2019Learning to Optimize in Swarmscited by 23
  37. 2020MELD: Meta-Reinforcement Learning from Images via Latent State Modelscited by 22
  38. 2022Chefs' Random Tables: Non-Trigonometric Random Featurescited by 20

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

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

9 papers.