Open Interpretability Models Contributors Research Posts About

HyperNetworks

Source

Citation. David Ha, Andrew Dai and Quoc V. Le, Google Brain. "HyperNetworks". arXiv 1609.09106, v4 of 1 December 2016. v1 is of 27 September 2016. Paper. The issue gives the venue as ICLR 2017. The v4 PDF names no venue, so we did not check the venue in the source. Ha did the work in the Google Brain Residency program. The paper links a TensorFlow reference implementation and an MNIST notebook at blog.otoro.net/2016/09/28/hyper-networks/. We did not open that page. The paper gives no funding statement.

Status. Planned. #4782 would use it in its strand on weight-space programming and fast weights, and #3381 (weight-space programming) would cite it. No code, skill or protocol in this repo depends on it. The maintainer designs any campaign to fix a model, so this page reports evidence and records questions only.

Read. We read the v4 PDF on 2026-11-19. We downloaded it with curl and converted it with pdftotext. pdftotext reported a damaged cross-reference table but gave the text of all 29 pages. We read all of it in the source's own text: Sections 1 to 5, the references and Appendices A.1 to A.6. We read the tables as extracted text. In Tables 2 to 5 the footnote marks merge with the model names. For example, "Wide Residual Network 40-12" is WRN 40-1 with footnote 2. That footnote says "our implementation". We did not see the figures as images, so we have only their captions and the text about them. We did not open the linked code.

Summary

Claim. A small network, the hypernetwork, can make the weights of a larger main network. Both networks train together by backpropagation. A static hypernetwork makes the kernels of a convolutional network from a small embedding per layer. It needs far fewer parameters and loses a little accuracy. A dynamic hypernetwork changes the weights of an LSTM at each time step. That "HyperLSTM" scores near the best published results on language modelling, handwriting and translation.

Method.

Findings, as the source reports them.

Setting Result
MNIST, hypernetwork makes the 7x7x16x16 second kernel, N_z = 4 Test accuracy 99.24% against 99.28% for the normal ConvNet
Same, size 12,544 kernel weights from a 4-number embedding and a hypernetwork of 4,240 parameters (Table 7 gives 4,244)
CIFAR-10, WRN 40-1, authors' implementation, against the hypernetwork version Test error 6.73% with 0.563 M parameters, against 8.02% with 0.097 M
CIFAR-10, WRN 40-2, same comparison 5.66% with 2.236 M, against 7.23% with 0.148 M
Penn Treebank, 1000 units, test bits per character LSTM 1.312 (4.25 M), Layer Norm LSTM 1.267 (4.26 M), HyperLSTM 1.265 (4.91 M), Layer Norm HyperLSTM 1.250 (4.92 M)
Penn Treebank, two layers 2-Layer LSTM 1.281 (12.26 M), 2-Layer Norm HyperLSTM 1.219 (14.41 M)
enwik8, test bits per character Layer Norm LSTM 1800 units 1.402 (14.82 M), HyperLSTM 1800 units 1.391 (18.71 M), Layer Norm HyperLSTM 2048 units 1.340 (26.54 M)
IAM handwriting, validation log-loss LSTM 900 units −1,055, Layer Norm LSTM 900 units −1,096, HyperLSTM 900 units −1,162, Layer Norm HyperLSTM 900 units −1,067
WMT'14 En→Fr, newstest2014, single model GNMT LSTM 38.95 BLEU, GNMT HyperLSTM 40.03 BLEU. Log perplexity 1.027 against 0.993
MNIST, fully connected 784-256-10, hypernetwork reads pixel and unit coordinates (Appendix A.1) Best accuracy 93.5%, against 98.5% for the normal network

The authors also report two observations without a number. The weights change most between words and at brackets, and least inside words such as "Europeans". Most of the time, the HyperLSTM's cell output sits in tanh's saturated range, unlike that of the Layer Norm LSTM.

Where the claims go beyond the evidence

The authors state some limits themselves. The static form loses accuracy on CIFAR-10. Layer norm does not combine well with HyperLSTM on handwriting. The coordinate-based hypernetwork does poorly on MNIST, which is why they use embeddings.

Use in this repo