Improving Subgraph-GNNs via Edge-Level Ego-Network Encodings
Nurudin Alvarez-Gonzalez, Andreas Kaltenbrunner, Vicenç Gómez
TL;DR
This work introduces ELENE, an edge-level ego-network encoding that augments MP-GNNs with edge-centric structural signals to boost expressivity, notably distinguishing SRGs beyond node-centric methods. It presents two learning variants, ELENE and ELENE-L, with Node-Centric (ND) and Edge-Centric (ED) encodings and embeddings, establishing that ED is strictly more expressive than ND and that ELENE-L can emulate Shortest Path Neural Networks and Graphormers. Empirical evaluation across expressivity benchmarks, h-Proximity, and real-world datasets demonstrates competitive performance and, in some settings, substantial memory savings (up to 18.1x) compared to sub-graph GNN baselines. The results position ELENE as a versatile bridge between MP-GNNs, SPNNs, and Graph Transformers, offering a scalable, interpretable edge-level encoding that enhances graph representation learning.
Abstract
We present a novel edge-level ego-network encoding for learning on graphs that can boost Message Passing Graph Neural Networks (MP-GNNs) by providing additional node and edge features or extending message-passing formats. The proposed encoding is sufficient to distinguish Strongly Regular Graphs, a family of challenging 3-WL equivalent graphs. We show theoretically that such encoding is more expressive than node-based sub-graph MP-GNNs. In an empirical evaluation on four benchmarks with 10 graph datasets, our results match or improve previous baselines on expressivity, graph classification, graph regression, and proximity tasks -- while reducing memory usage by 18.1x in certain real-world settings.
