Improving Graph Neural Networks by Learning Continuous Edge Directions
Seong Ho Pahng, Sahand Hormoz
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 gradientbased 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext af671e9b-1ffc-412f-bffb-ceae02f904b0Cited by top-tier papers2
- Escaping the Homophily Trap: A Threshold-free Graph Outlier Detection Framework via Clustering-guided Edge ReweightingYunhe Zhang, Jinyu Cai, Qi Hao, Pengyang Wang et al.ICLR 2026
- Mag-Mamba: Modeling Coupled Spatio-temporal Asymmetry for POI RecommendationZhuoxuan Li, Tangwei Ye, Jieyuan Pei, Haina Liang et al.KDD 2026
Builds on28
- Simple and Deep Graph Convolutional NetworksMing Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding et al.ICML 2020 · 1,910 citations
- DropEdge: Towards Deep Graph Convolutional Networks on Node ClassificationYu Rong, Wenbing Huang, Tingyang Xu, Junzhou HuangICLR 2020 · 1,599 citations
- Geom-GCN: Geometric Graph Convolutional NetworksHongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei et al.ICLR 2020 · 1,445 citations
- Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological ViewDeli Chen, Yankai Lin, Wei Li, Peng Li et al.AAAI 2020 · 1,353 citations
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu et al.NeurIPS 2022 · 1,216 citations
Related papers
- Identity-aware Graph Neural NetworksJiaxuan You, Jonathan Michael Gomes Selman, Rex Ying, Jure LeskovecAAAI 2021 · 316 citations
- Sheaves Reloaded: A Direction AwakeningStefano Fiorini, Hakan Emre Aktas, Iulia Duta, Pietro Morerio et al.ICLR 2026
- RSGNN: A Model-agnostic Approach for Enhancing the Robustness of Signed Graph Neural NetworksZeyu Zhang, Jiamou Liu, Xianda Zheng, Yifei Wang et al.WWW 2023 · 32 citations
- Topology-aware Neural Flux Prediction Guided by PhysicsHaoyang Jiang, Jindong Wang, Xingquan Zhu, Yi HeICML 2025
- A Fractional Graph Laplacian Approach to OversmoothingSohir Maskey, Raffaele Paolino, Aras Bacho, Gitta KutyniokNeurIPS 2023 · 66 citations
