HackerPapers

arXiv:2110.13100cs.LG

Parameter Prediction for Unseen Deep Architectures

Boris Knyazev, Michal Drozdzal, Graham W. Taylor, Adriana Romero-Soriano

Abstract

Deep learning has been successful in automating the design of features in machine learning pipelines. However, the algorithms optimizing neural network parameters remain largely hand-designed and computationally inefficient. We study if we can use deep learning to directly predict these parameters by exploiting the past knowledge of training other networks. We introduce a large-scale dataset of diverse computational graphs of neural architectures - DeepNets-1M - and use it to explore parameter prediction on CIFAR-10 and ImageNet. By leveraging advances in graph neural networks, we propose a hypernetwork that can predict performant parameters in a single forward pass taking a fraction of a second, even on a CPU. The proposed model achieves surprisingly good performance on unseen and diverse networks. For example, it is able to predict all 24 million parameters of a ResNet-50 achieving a 60% accuracy on CIFAR-10. On ImageNet, top-5 accuracy of some of our networks approaches 50%. Our task along with the model and results can potentially lead to a new, more computationally efficient paradigm of training networks. Our model also learns a strong representation of neural architectures enabling their analysis.

arXiv comments
NeurIPS 2021 camera ready, the code is available at https://github.com/facebookresearch/ppuda
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence cs.CVComputer Vision and Pattern Recognition stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Jan 2022 to Nov 2026. Found in 2 HN submissions from Nov 2021 to Mar 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • I think the subfield has been there for a long time. See a small section of papers on the topic of generating dynamic weights during inference, predicting weights from network architecture, and learning the distribution of previously trained network parameters, just to name a…

      _bobmView on HNParent context

    • The paper is well-written, and I would recommend reading its abstract and introduction over the OP.[a] The big idea is that a graph neural network (GNN) can be trained to predict the weights of any other neural network for performing a task, given the architecture as an input.…

      cs702View on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.