Scale Equivariant Graph Metanetworks

Ioannis Kalogeropoulos, Giorgos Bouritsas, Yannis Panagakis
6/15/2024
cs.LG

Official code: jkalogero/scalegmn (23 stars, MIT, last commit 2024-11-24). 2 more implementations below.

Abstract

This paper pertains to an emerging machine learning paradigm: learning higher-order functions, i.e. functions whose inputs are functions themselves, $\textit{particularly when these inputs are Neural Networks (NNs)}$. With the growing interest in architectures that process NNs, a recurring design principle has permeated the field: adhering to the permutation symmetries arising from the connectionist structure of NNs. $\textit{However, are these the sole symmetries present in NN parameterizations}$? Zooming into most practical activation functions (e.g. sine, ReLU, tanh) answers this question negatively and gives rise to intriguing new symmetries, which we collectively refer to as $\textit{scaling symmetries}$, that is, non-zero scalar multiplications and divisions of weights and biases. In this work, we propose $\textit{Scale Equivariant Graph MetaNetworks - ScaleGMNs}$, a framework that adapts the Graph Metanetwork (message-passing) paradigm by incorporating scaling symmetries and thus rendering neuron and edge representations equivariant to valid scalings. We introduce novel building blocks, of independent technical interest, that allow for equivariance or invariance with respect to individual scalar multipliers or their product and use them in all components of ScaleGMN. Furthermore, we prove that, under certain expressivity conditions, ScaleGMN can simulate the forward and backward pass of any input feedforward neural network. Experimental results demonstrate that our method advances the state-of-the-art performance for several datasets and activation functions, highlighting the power of scaling symmetries as an inductive bias for NN processing. The source code is publicly available at https://github.com/jkalogero/scalegmn.

View on arXivView PDF

Code Implementations(3)

jkalogero/scalegmnOfficial100%
MIT

[NeurIPS'24 Oral] Official repository for the paper "Scale Equivariant Graph Metanetworks"

234PythonOct 14, 20241 years agoMIT

Repository for 'Neural Network Pruning with Scale Equivariant Graph Metanetworks' (2025)

10PythonMay 29, 20251 years ago
MIT

[UniReps Extended Abstract, 2025] Codebase for the paper 'Symmetry-Aware Fully-Amortized Optimization with Scale Equivariant Graph Metanetworks'.

10PythonOct 9, 20251 years agoMIT

Similar Papers

Cite this paper

@article{kalogeropoulos2024scale,
  title  = {Scale Equivariant Graph Metanetworks},
  author = {Ioannis Kalogeropoulos and Giorgos Bouritsas and Yannis Panagakis},
  year   = {2024},
  eprint = {2406.10685},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.10685},
  url    = {http://arxiv.org/abs/2406.10685v2},
  journal = {NEURIPS 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/2406.10685.svg)](https://codeofpaper.com/paper/2406.10685)

Discussion