Learnable Commutative Monoids for Graph Neural Networks

LOG IN Pub Date : 2022-12-16 DOI:10.48550/arXiv.2212.08541
Euan Ong, Petar Velickovic
{"title":"Learnable Commutative Monoids for Graph Neural Networks","authors":"Euan Ong, Petar Velickovic","doi":"10.48550/arXiv.2212.08541","DOIUrl":null,"url":null,"abstract":"Graph neural networks (GNNs) have been shown to be highly sensitive to the choice of aggregation function. While summing over a node's neighbours can approximate any permutation-invariant function over discrete inputs, Cohen-Karlik et al. [2020] proved there are set-aggregation problems for which summing cannot generalise to unbounded inputs, proposing recurrent neural networks regularised towards permutation-invariance as a more expressive aggregator. We show that these results carry over to the graph domain: GNNs equipped with recurrent aggregators are competitive with state-of-the-art permutation-invariant aggregators, on both synthetic benchmarks and real-world problems. However, despite the benefits of recurrent aggregators, their $O(V)$ depth makes them both difficult to parallelise and harder to train on large graphs. Inspired by the observation that a well-behaved aggregator for a GNN is a commutative monoid over its latent space, we propose a framework for constructing learnable, commutative, associative binary operators. And with this, we construct an aggregator of $O(\\log V)$ depth, yielding exponential improvements for both parallelism and dependency length while achieving performance competitive with recurrent aggregators. Based on our empirical observations, our proposed learnable commutative monoid (LCM) aggregator represents a favourable tradeoff between efficient and expressive aggregators.","PeriodicalId":379381,"journal":{"name":"LOG IN","volume":"48 11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"LOG IN","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2212.08541","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

Graph neural networks (GNNs) have been shown to be highly sensitive to the choice of aggregation function. While summing over a node's neighbours can approximate any permutation-invariant function over discrete inputs, Cohen-Karlik et al. [2020] proved there are set-aggregation problems for which summing cannot generalise to unbounded inputs, proposing recurrent neural networks regularised towards permutation-invariance as a more expressive aggregator. We show that these results carry over to the graph domain: GNNs equipped with recurrent aggregators are competitive with state-of-the-art permutation-invariant aggregators, on both synthetic benchmarks and real-world problems. However, despite the benefits of recurrent aggregators, their $O(V)$ depth makes them both difficult to parallelise and harder to train on large graphs. Inspired by the observation that a well-behaved aggregator for a GNN is a commutative monoid over its latent space, we propose a framework for constructing learnable, commutative, associative binary operators. And with this, we construct an aggregator of $O(\log V)$ depth, yielding exponential improvements for both parallelism and dependency length while achieving performance competitive with recurrent aggregators. Based on our empirical observations, our proposed learnable commutative monoid (LCM) aggregator represents a favourable tradeoff between efficient and expressive aggregators.
图神经网络的可学习交换一元群
图神经网络(gnn)对聚合函数的选择具有高度敏感性。虽然对节点的邻居求和可以近似离散输入上的任何置换不变函数,但Cohen-Karlik等人[2020]证明存在集合聚集问题,其中求和不能推广到无界输入,并提出了正则化的循环神经网络作为更具表现力的聚合器。我们表明,这些结果延续到图域:配备循环聚合器的gnn在合成基准和现实问题上都与最先进的排列不变聚合器竞争。然而,尽管循环聚合器有好处,但它们的$O(V)$深度使它们难以并行化,也难以在大型图上进行训练。由于观察到一个表现良好的GNN聚合器是其潜在空间上的可交换单群,我们提出了一个构造可学习的、可交换的、关联的二元算子的框架。有了这个,我们构建了一个$O(\log V)$深度的聚合器,在并行性和依赖长度方面都得到了指数级的改进,同时实现了与循环聚合器竞争的性能。根据我们的经验观察,我们提出的可学习交换单元(LCM)聚合器代表了高效和表达聚合器之间的有利权衡。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信