Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Graph Neural Networks for Learning Equivariant Representations of Neural Networks

About

Neural networks that process the parameters of other neural networks find applications in domains as diverse as classifying implicit neural representations, generating neural network weights, and predicting generalization errors. However, existing approaches either overlook the inherent permutation symmetry in the neural network or rely on intricate weight-sharing patterns to achieve equivariance, while ignoring the impact of the network architecture itself. In this work, we propose to represent neural networks as computational graphs of parameters, which allows us to harness powerful graph neural networks and transformers that preserve permutation symmetry. Consequently, our approach enables a single model to encode neural computational graphs with diverse architectures. We showcase the effectiveness of our method on a wide range of tasks, including classification and editing of implicit neural representations, predicting generalization performance, and learning to optimize, while consistently outperforming state-of-the-art methods. The source code is open-sourced at https://github.com/mkofinas/neural-graphs.

Miltiadis Kofinas, Boris Knyazev, Yan Zhang, Yunlu Chen, Gertjan J. Burghouts, Efstratios Gavves, Cees G. M. Snoek, David W. Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationMNIST (test)
Accuracy91.4
882
Image ClassificationFashion MNIST (test)
Accuracy68
568
ClassificationCIFAR10 (test)
Accuracy36.04
266
INR classificationF-MNIST Implicit Neural Representations (test)
Accuracy68
15
Weight-space INR classificationMNIST (test)
Test Accuracy91.4
13
INR DilationMNIST INR
MSE2.06
8
INR classificationCIFAR-10 Implicit Neural Representations (test)
Accuracy36.04
7
INR classificationAugmented CIFAR-10 Implicit Neural Representations (test)
Accuracy45.7
7
Generalization predictionSmallCNN Zoo CIFAR-10-GS Tanh (test)
Kendall's Tau0.934
6
Generalization predictionSmallCNN Zoo SVHN-GS Tanh (test)
Kendall's Tau0.862
6
Showing 10 of 13 rows

Other info

Follow for update