What's Hidden in a Randomly Weighted Neural Network?

Vivek Ramanujan, Mitchell Wortsman, Aniruddha Kembhavi, Ali Farhadi, Mohammad Rastegari
11/29/2019
429 citations
cs.CVcs.LG

Official code: allenai/hidden-networks (197 stars, Python, Apache-2.0, last commit 2026-03-05).

Abstract

Training a neural network is synonymous with learning the values of the weights. By contrast, we demonstrate that randomly weighted neural networks contain subnetworks which achieve impressive performance without ever training the weight values.

Show full abstract

Hidden in a randomly weighted Wide ResNet-50 we show that there is a subnetwork (with random weights) that is smaller than, but matches the performance of a ResNet-34 trained on ImageNet. Not only do these "untrained subnetworks" exist, but we provide an algorithm to effectively find them. We empirically show that as randomly weighted neural networks with fixed weights grow wider and deeper, an "untrained subnetwork" approaches a network with learned weights in accuracy. Our code and pretrained models are available at https://github.com/allenai/hidden-networks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
19757PythonNov 19, 20199 months agoApache-2.0

Similar Papers

Cite this paper

@article{ramanujan2019whats,
  title  = {What's Hidden in a Randomly Weighted Neural Network?},
  author = {Vivek Ramanujan and Mitchell Wortsman and Aniruddha Kembhavi and Ali Farhadi and Mohammad Rastegari},
  year   = {2019},
  eprint = {1911.13299},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.13299}
}

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/1911.13299.svg)](https://codeofpaper.com/paper/1911.13299)

Discussion