paper-with-me

홈 › Papers

Mnemosyne: Learning to Train Transformers with Transformers

2023-02-02 · NeurIPS 2023 11

In this work, we propose a new class of learnable optimizers, called \textit{Mnemosyne}. 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.

📄 PDF Abstract BibTeX arXiv:2302.01128

Code (0)

등록된 구현이 없습니다.

Tasks

Feature Engineering

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Sigmoid Activation 설명 없음
Adam 설명 없음
Multi-Head Attention 설명 없음
Weight Decay 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Mnemosyne: An Unsupervised, Human-Inspired Long-Term Memory Architecture for Edge-Based LLMs

2025-10-07 · Aneesh Jonelagadda, Christina Hahn, Haoze Zheng, Salvatore Penachio arxiv

Long-term memory is essential for natural, realistic dialogue. However, current large language model (LLM) memory systems rely on either brute-force context expansion or static retrieval pipelines that fail on edge-const…

Mnemosyne: Agentic Transaction Processing for Validating and Repairing AI-generated Workflows

2026-06-30 · Edward Y. Chang, Longling Geng, Emily J. Chang arxiv

LLMs increasingly generate workflow actions, repairs, and plans, but a generated action may be syntactically valid yet stale, infeasible, conflicting, or destructive of the evidence that triggered a repair. We introduce …

Transformers self-organize like newborn visual systems when trained in prenatal worlds

2026-01-06 · Lalit Pandey, Samantha M. W. Wood, Justin N. Wood arxiv

Do transformers learn like brains? A key challenge in addressing this question is that transformers and brains are trained on fundamentally different data. Brains are initially "trained" on prenatal sensory experiences (…

Adversarial Robustness of In-Context Learning in Transformers for Linear Regression

2024-11-07 · Usman Anwar, Johannes von Oswald, Louis Kirsch, David Krueger 외

Transformers have demonstrated remarkable in-context learning capabilities across various domains, including statistical learning tasks. While previous work has shown that transformers can implement common learning algor…

Adversarial RobustnessIn-Context Learningregression

Discovering Interpretable Algorithms by Decompiling Transformers to RASP

2026-02-09 · Xinting Huang, Aleksandra Bakalova, Satwik Bhattamishra, William Merrill 외 arxiv

Recent work has shown that the computations of Transformers can be simulated in the RASP family of programming languages. These findings have enabled improved understanding of the expressive capacity and generalization a…