Graph Neural Networks for Learning Equivariant Representations of Neural Networks
<|reference_start|>Graph Neural Networks for Learning Equivariant Representations of Neural Networks: 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.<|reference_end|>
@article{kofinas2024graph,
    title={Graph Neural Networks for Learning Equivariant Representations of Neural
  Networks},
    author={Miltiadis Kofinas, Boris Knyazev, Yan Zhang, Yunlu Chen, Gertjan J.
  Burghouts, Efstratios Gavves, Cees G. M. Snoek, David W. Zhang},
    journal={arXiv preprint arXiv:2403.12143},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.12143},
    primaryClass={cs.LG cs.AI stat.ML}
}