HyperAggregation: Aggregating over Graph Edges with Hypernetworks

Nicolas Lell, Ansgar Scherp
7/16/2024
cs.LG

Official code: Foisunt/HyperAggregation (1 star, last commit 2024-07-17).

Abstract

HyperAggregation is a hypernetwork-based aggregation function for Graph Neural Networks. It uses a hypernetwork to dynamically generate weights in the size of the current neighborhood, which are then used to aggregate this neighborhood. This aggregation with the generated weights is done like an MLP-Mixer channel mixing over variable-sized vertex neighborhoods. We demonstrate HyperAggregation in two models, GraphHyperMixer is a model based on MLP-Mixer while GraphHyperConv is derived from a GCN but with a hypernetwork-based aggregation function. We perform experiments on diverse benchmark datasets for the vertex classification, graph classification, and graph regression tasks. The results show that HyperAggregation can be effectively used for homophilic and heterophilic datasets in both inductive and transductive settings. GraphHyperConv performs better than GraphHyperMixer and is especially strong in the transductive setting. On the heterophilic dataset Roman-Empire it reaches a new state of the art. On the graph-level tasks our models perform in line with similarly sized models. Ablation studies investigate the robustness against various hyperparameter choices. The implementation of HyperAggregation as well code to reproduce all experiments is available under https://github.com/Foisunt/HyperAggregation .

View on arXivView PDF

Code Implementations(1)

This is the git repo for the IJCNN '24 paper HyperAggregation: Aggregating over Graph Edges with Hypernetworks

10Python, Jupyter NotebookMar 26, 20242 years ago

Similar Papers

Cite this paper

@article{lell2024hyperaggregation,
  title  = {HyperAggregation: Aggregating over Graph Edges with Hypernetworks},
  author = {Nicolas Lell and Ansgar Scherp},
  year   = {2024},
  eprint = {2407.11596},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.11596v1}
}

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

Discussion