NeRN: Learning Neural Representations for Neural Networks
Abstract
Neural Representations have recently been shown to effectively reconstruct a wide range of signals from 3D meshes and shapes to images and videos. We show that, when adapted correctly, neural representations can be used to directly represent the weights of a pre-trained convolutional neural network, resulting in a Neural Representation for Neural Networks (NeRN). Inspired by coordinate inputs of previous neural representation methods, we assign a coordinate to each convolutional kernel in our network based on its position in the architecture, and optimize a predictor network to map coordinates to their corresponding weights. Similarly to the spatial smoothness of visual scenes, we show that incorporating a smoothness constraint over the original network's weights aids NeRN towards a better reconstruction. In addition, since slight perturbations in pre-trained model weights can result in a considerable accuracy loss, we employ techniques from the field of knowledge distillation to stabilize the learning process. We demonstrate the effectiveness of NeRN in reconstructing widely used architectures on CIFAR-10, CIFAR-100, and ImageNet. Finally, we present two applications using NeRN, demonstrating the capabilities of the learned representations.
Cite
Text
Ashkenazi et al. "NeRN: Learning Neural Representations for Neural Networks." International Conference on Learning Representations, 2023.Markdown
[Ashkenazi et al. "NeRN: Learning Neural Representations for Neural Networks." International Conference on Learning Representations, 2023.](https://mlanthology.org/iclr/2023/ashkenazi2023iclr-nern/)BibTeX
@inproceedings{ashkenazi2023iclr-nern,
title = {{NeRN: Learning Neural Representations for Neural Networks}},
author = {Ashkenazi, Maor and Rimon, Zohar and Vainshtein, Ron and Levi, Shir and Richardson, Elad and Mintz, Pinchas and Treister, Eran},
booktitle = {International Conference on Learning Representations},
year = {2023},
url = {https://mlanthology.org/iclr/2023/ashkenazi2023iclr-nern/}
}