Graph Neural Networks for Learning Equivariant Representations of Neural Networks

Miltiadis Kofinas, Boris Knyazev, Yan Zhang, Yunlu Chen, Gertjan J. Burghouts +3 more
3/18/2024
cs.LGcs.AIstat.ML

Official code: mkofinas/neural-graphs (85 stars, MIT, last commit 2024-07-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Official source code for "Graph Neural Networks for Learning Equivariant Representations of Neural Networks". In ICLR 2024 (oral).

855Shell, PythonMar 16, 20242 years agoMIT
deep-weight-spacegraph-neural-networksimplicit-neural-representationnetworks-for-networksneural-graphs+2 more

Similar Papers

Cite this paper

@article{kofinas2024graph,
  title  = {Graph Neural Networks for Learning Equivariant Representations of Neural Networks},
  author = {Miltiadis Kofinas and Boris Knyazev and Yan Zhang and Yunlu Chen and Gertjan J. Burghouts and Efstratios Gavves and Cees G. M. Snoek and David W. Zhang},
  year   = {2024},
  eprint = {2403.12143},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.12143v3},
  journal = {ICLR 2024 2024}
}

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

Discussion