Fast weight programming and linear transformers: from machine learning to neurobiology. Irie, K. & Gershman, S. J. August, 2025. arXiv:2508.08435 [cs]
Paper doi abstract bibtex Recent advances in artificial neural networks for machine learning, and language modeling in particular, have established a family of recurrent neural network (RNN) architectures that, unlike conventional RNNs with vector-form hidden states, use two-dimensional (2D) matrixform hidden states. Such 2D-state RNNs, known as Fast Weight Programmers (FWPs), can be interpreted as a neural network whose synaptic weights (called fast weights) dynamically change over time as a function of input observations, and serve as short-term memory storage; corresponding synaptic weight modifications are controlled or programmed by another network (the programmer) whose parameters are trained (e.g., by gradient descent). In this Primer, we review the technical foundations of FWPs, their computational characteristics, and their connections to transformers and state space models. We also discuss connections between FWPs and models of synaptic plasticity in the brain, suggesting a convergence of natural and artificial intelligence.
@misc{irieFastWeightProgramming2025,
title = {Fast weight programming and linear transformers: from machine learning to neurobiology},
shorttitle = {Fast weight programming and linear transformers},
url = {http://arxiv.org/abs/2508.08435},
doi = {10.48550/arXiv.2508.08435},
abstract = {Recent advances in artificial neural networks for machine learning, and language modeling in particular, have established a family of recurrent neural network (RNN) architectures that, unlike conventional RNNs with vector-form hidden states, use two-dimensional (2D) matrixform hidden states. Such 2D-state RNNs, known as Fast Weight Programmers (FWPs), can be interpreted as a neural network whose synaptic weights (called fast weights) dynamically change over time as a function of input observations, and serve as short-term memory storage; corresponding synaptic weight modifications are controlled or programmed by another network (the programmer) whose parameters are trained (e.g., by gradient descent). In this Primer, we review the technical foundations of FWPs, their computational characteristics, and their connections to transformers and state space models. We also discuss connections between FWPs and models of synaptic plasticity in the brain, suggesting a convergence of natural and artificial intelligence.},
language = {en},
urldate = {2025-09-24},
publisher = {arXiv},
author = {Irie, Kazuki and Gershman, Samuel J.},
month = aug,
year = {2025},
note = {arXiv:2508.08435 [cs]},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Quantitative Biology - Neurons and Cognition},
}
Downloads: 0
{"_id":"hnrC7wDh3nSjYjRSx","bibbaseid":"irie-gershman-fastweightprogrammingandlineartransformersfrommachinelearningtoneurobiology-2025","author_short":["Irie, K.","Gershman, S. J."],"bibdata":{"bibtype":"misc","type":"misc","title":"Fast weight programming and linear transformers: from machine learning to neurobiology","shorttitle":"Fast weight programming and linear transformers","url":"http://arxiv.org/abs/2508.08435","doi":"10.48550/arXiv.2508.08435","abstract":"Recent advances in artificial neural networks for machine learning, and language modeling in particular, have established a family of recurrent neural network (RNN) architectures that, unlike conventional RNNs with vector-form hidden states, use two-dimensional (2D) matrixform hidden states. Such 2D-state RNNs, known as Fast Weight Programmers (FWPs), can be interpreted as a neural network whose synaptic weights (called fast weights) dynamically change over time as a function of input observations, and serve as short-term memory storage; corresponding synaptic weight modifications are controlled or programmed by another network (the programmer) whose parameters are trained (e.g., by gradient descent). In this Primer, we review the technical foundations of FWPs, their computational characteristics, and their connections to transformers and state space models. We also discuss connections between FWPs and models of synaptic plasticity in the brain, suggesting a convergence of natural and artificial intelligence.","language":"en","urldate":"2025-09-24","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Irie"],"firstnames":["Kazuki"],"suffixes":[]},{"propositions":[],"lastnames":["Gershman"],"firstnames":["Samuel","J."],"suffixes":[]}],"month":"August","year":"2025","note":"arXiv:2508.08435 [cs]","keywords":"Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Quantitative Biology - Neurons and Cognition","bibtex":"@misc{irieFastWeightProgramming2025,\n\ttitle = {Fast weight programming and linear transformers: from machine learning to neurobiology},\n\tshorttitle = {Fast weight programming and linear transformers},\n\turl = {http://arxiv.org/abs/2508.08435},\n\tdoi = {10.48550/arXiv.2508.08435},\n\tabstract = {Recent advances in artificial neural networks for machine learning, and language modeling in particular, have established a family of recurrent neural network (RNN) architectures that, unlike conventional RNNs with vector-form hidden states, use two-dimensional (2D) matrixform hidden states. Such 2D-state RNNs, known as Fast Weight Programmers (FWPs), can be interpreted as a neural network whose synaptic weights (called fast weights) dynamically change over time as a function of input observations, and serve as short-term memory storage; corresponding synaptic weight modifications are controlled or programmed by another network (the programmer) whose parameters are trained (e.g., by gradient descent). In this Primer, we review the technical foundations of FWPs, their computational characteristics, and their connections to transformers and state space models. We also discuss connections between FWPs and models of synaptic plasticity in the brain, suggesting a convergence of natural and artificial intelligence.},\n\tlanguage = {en},\n\turldate = {2025-09-24},\n\tpublisher = {arXiv},\n\tauthor = {Irie, Kazuki and Gershman, Samuel J.},\n\tmonth = aug,\n\tyear = {2025},\n\tnote = {arXiv:2508.08435 [cs]},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Quantitative Biology - Neurons and Cognition},\n}\n\n\n\n","author_short":["Irie, K.","Gershman, S. J."],"key":"irieFastWeightProgramming2025","id":"irieFastWeightProgramming2025","bibbaseid":"irie-gershman-fastweightprogrammingandlineartransformersfrommachinelearningtoneurobiology-2025","role":"author","urls":{"Paper":"http://arxiv.org/abs/2508.08435"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Machine Learning","Quantitative Biology - Neurons and Cognition"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/saurabhr","dataSources":["nxjWwW7fWbb5tfpKz"],"keywords":["computer science - artificial intelligence","computer science - machine learning","quantitative biology - neurons and cognition"],"search_terms":["fast","weight","programming","linear","transformers","machine","learning","neurobiology","irie","gershman"],"title":"Fast weight programming and linear transformers: from machine learning to neurobiology","year":2025}