Improving Graph Neural Networks by Learning Continuous Edge Directions.

Seong Ho Pahng, Sahand Hormoz
{"title":"Improving Graph Neural Networks by Learning Continuous Edge Directions.","authors":"Seong Ho Pahng, Sahand Hormoz","doi":"","DOIUrl":null,"url":null,"abstract":"<p><p>Graph Neural Networks (GNNs) traditionally employ a message-passing mechanism that resembles diffusion over undirected graphs, which often leads to homogenization of node features and reduced discriminative power in tasks such as node classification. Our key insight for addressing this limitation is to assign fuzzy edge directions-that can vary continuously from node <math><mi>i</mi></math> pointing to node <math><mi>j</mi></math> to vice versa-to the edges of a graph so that features can preferentially flow in one direction between nodes to enable long-range information transmission across the graph. We also introduce a novel complex-valued Laplacian for directed graphs with fuzzy edges where the real and imaginary parts represent information flow in opposite directions. Using this Laplacian, we propose a general framework, called Continuous Edge Direction (CoED) GNN, for learning on graphs with fuzzy edges and prove its expressivity limits using a generalization of the Weisfeiler-Leman (WL) graph isomorphism test for directed graphs with fuzzy edges. Our architecture aggregates neighbor features scaled by the learned edge directions and processes the aggregated messages from in-neighbors and out-neighbors separately alongside the self-features of the nodes. Since continuous edge directions are differentiable, they can be learned jointly with the GNN weights via gradient-based optimization. CoED GNN is particularly well-suited for graph ensemble data where the graph structure remains fixed but multiple realizations of node features are available, such as in gene regulatory networks, web connectivity graphs, and power grids. We demonstrate through extensive experiments on both synthetic and real graph ensemble datasets that learning continuous edge directions significantly improves performance both for undirected and directed graphs compared with existing methods. Our code is available on GitHub.</p>","PeriodicalId":521258,"journal":{"name":"... International Conference on Learning Representations","volume":"2025 ","pages":"46849-46884"},"PeriodicalIF":0.0000,"publicationDate":"2025-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13592212/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"... International Conference on Learning Representations","FirstCategoryId":"1085","ListUrlMain":"","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Graph Neural Networks (GNNs) traditionally employ a message-passing mechanism that resembles diffusion over undirected graphs, which often leads to homogenization of node features and reduced discriminative power in tasks such as node classification. Our key insight for addressing this limitation is to assign fuzzy edge directions-that can vary continuously from node i pointing to node j to vice versa-to the edges of a graph so that features can preferentially flow in one direction between nodes to enable long-range information transmission across the graph. We also introduce a novel complex-valued Laplacian for directed graphs with fuzzy edges where the real and imaginary parts represent information flow in opposite directions. Using this Laplacian, we propose a general framework, called Continuous Edge Direction (CoED) GNN, for learning on graphs with fuzzy edges and prove its expressivity limits using a generalization of the Weisfeiler-Leman (WL) graph isomorphism test for directed graphs with fuzzy edges. Our architecture aggregates neighbor features scaled by the learned edge directions and processes the aggregated messages from in-neighbors and out-neighbors separately alongside the self-features of the nodes. Since continuous edge directions are differentiable, they can be learned jointly with the GNN weights via gradient-based optimization. CoED GNN is particularly well-suited for graph ensemble data where the graph structure remains fixed but multiple realizations of node features are available, such as in gene regulatory networks, web connectivity graphs, and power grids. We demonstrate through extensive experiments on both synthetic and real graph ensemble datasets that learning continuous edge directions significantly improves performance both for undirected and directed graphs compared with existing methods. Our code is available on GitHub.

通过学习连续边缘方向改进图神经网络。
图神经网络(gnn)传统上采用一种类似于无向图扩散的消息传递机制,这通常会导致节点特征的同质化,并降低节点分类等任务中的判别能力。我们解决这一限制的关键见解是为图的边缘分配模糊边缘方向(可以从节点i指向节点j,反之亦然),以便特征可以优先在节点之间沿一个方向流动,从而实现跨图的远程信息传输。我们还引入了一种新的复值拉普拉斯算子,用于具有模糊边的有向图,其中实部和虚部表示相反方向的信息流。利用这个拉普拉斯算子,我们提出了一个通用的框架,称为连续边缘方向(CoED) GNN,用于模糊边图的学习,并利用模糊边有向图的Weisfeiler-Leman (WL)图同构检验的推广证明了它的表达性极限。我们的架构聚合了由学习到的边缘方向缩放的邻居特征,并分别处理来自内邻居和外邻居的聚合消息以及节点的自特征。由于连续边缘方向是可微的,可以通过梯度优化与GNN权值联合学习。CoED GNN特别适合于图形集成数据,其中图形结构保持固定,但可以实现多个节点特征,例如基因调控网络、网络连接图和电网。我们通过在合成和真实图集成数据集上的大量实验证明,与现有方法相比,学习连续边缘方向可显着提高无向图和有向图的性能。我们的代码可以在GitHub上找到。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书