Training and Generating Neural Networks in Compressed Weight Space

Kazuki Irie, Jürgen Schmidhuber
12/31/2021
cs.LGcs.CL

Official code: kazuki-irie/dct-fast-weights (5 stars, Python, MIT, PyTorch, last commit 2025-06-11).

Abstract

The inputs and/or outputs of some neural nets are weight matrices of other neural nets. Indirect encodings or end-to-end compression of weight matrices could help to scale such approaches.

Show full abstract

Our goal is to open a discussion on this topic, starting with recurrent neural networks for character-level language modelling whose weight matrices are encoded by the discrete cosine transform. Our fast weight version thereof uses a recurrent neural network to parameterise the compressed weights. We present experimental results on the enwik8 dataset.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

PyTorch implementation of DCT fast weight RNNs

50PythonMay 3, 20211 years agoMIT
dctfast-weight-programmersfast-weightslanguage-modelingpytorch+1 more

Similar Papers

Cite this paper

@article{irie2021training,
  title  = {Training and Generating Neural Networks in Compressed Weight Space},
  author = {Kazuki Irie and Jürgen Schmidhuber},
  year   = {2021},
  eprint = {2112.15545},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.15545}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.15545.svg)](https://codeofpaper.com/paper/2112.15545)

Discussion