mlsanityData to 7 Oct 2026

Learning Useful Representations of Recurrent Neural Network Weight Matrices

arXiv 2403.11998 ↗First posted 18 Mar 2024cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

Recurrent Neural Networks (RNNs) are general-purpose parallel-sequential computers. The program of an RNN is its weight matrix. How to learn useful representations of RNN weights that facilitate RNN analysis as well as downstream tasks? While the mechanistic approach directly looks at some RNN's weights to predict its behavior, the functionalist approach analyzes its overall functionality-specifically, its input-output mapping. We consider several mechanistic approaches for RNN weights and adapt the permutation equivariant Deep Weight Space layer for RNNs. Our two novel functionalist approaches extract information from RNN weights by 'interrogating' the RNN through probing inputs. We develop a theoretical framework that demonstrates conditions under which the functionalist approach can generate rich representations that help determine RNN behavior. We release the first two 'model zoo' datasets for RNN weight representation learning. One consists of generative models of a class of formal languages, and the other one of classifiers of sequentially processed MNIST digits. With the help of an emulation-based self-supervised learning technique we compare and evaluate the different RNN weight encoding techniques on multiple downstream applications. On the most challenging one, namely predicting which exact task the RNN was trained on, functionalist approaches show clear superiority.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 30 of its 43 references that are in the map. First posted on arXiv 18 Mar 2024.

Builds on

30 of 43 references.

References · 30

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  3. 2022In-context Learning and Induction Headscited by 930
  4. 2019Deep Equilibrium Modelscited by 603
  5. 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
  6. 2018Behavioral Cloning from Observationcited by 482
  7. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  8. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  9. 2022From data to functa: Your data point is a function and you can treat it like onecited by 183
  10. 2023A Survey of Imitation Learning: Algorithms, Recent Developments, and Challengescited by 145
  11. 2020Predicting Neural Network Accuracy from Weightscited by 107
  12. 2023Equivariant Architectures for Learning in Deep Weight Spacescited by 106
18 more
  1. 2023Mindstorms in Natural Language-Based Societies of Mindcited by 105
  2. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 84
  3. 2023Permutation Equivariant Neural Functionalscited by 69
  4. 2017Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamplescited by 66
  5. 2020Classifying the classifier: dissecting the weight space of neural networkscited by 62
  6. 2019Sequential Neural Networks as Automatacited by 54
  7. 2021Model Zoo: A Growing "Brain" That Learns Continuallycited by 53
  8. 2015On Learning to Think: Algorithmic Information Theory for Novel Combinations of Reinforcement Learning Controllers and Recurrent Neural World Modelscited by 52
  9. 2022Signal Processing for Implicit Neural Representationscited by 46
  10. 2020Meta-Consolidation for Continual Learningcited by 40
  11. 2022Model Zoos: A Dataset of Diverse Populations of Neural Network Modelscited by 38
  12. 2020Policy Evaluation Networkscited by 28
  13. 2020Parameter-Based Value Functionscited by 24
  14. 2020Fast Adaptation via Policy-Dynamics Value Functionscited by 13
  15. 2022General Policy Evaluation and Improvement by Learning to Identify Few But Crucial Statescited by 10
  16. 2021Hyper-Representations: Self-Supervised Representation Learning on Neural Network Weights for Model Characteristic Predictioncited by 9
  17. 2022Goal-Conditioned Generators of Deep Policiescited by 9
  18. 2022Learning One Abstract Bit at a Time Through Self-Invented Experiments Encoded as Neural Networkscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 7; 2026: 3.

13 papers.

Sort: