Introduction
Standard Graph Neural Networks (GNNs), such as Graph Convolutional Networks (GCN) and Graph Attention Networks (GAT), primarily focus on learning node embeddings. In these models, edges are typically treated as binary connections or simple scalar weights. However, in many real-world applications, edges carry rich, multi-dimensional information. For instance, in molecular graphs, edges represent chemical bonds with specific types and properties. In citation networks, the direction of a citation is a critical feature. This paper introduces the Edge Enhanced Graph Neural Network (EGNN), a framework that elevates multi-dimensional edge features to first-class citizens that evolve across network layers.
The EGNN Framework
The core innovation of EGNN is the transition from a static, scalar adjacency matrix to an adaptive, multi-dimensional edge tensor.
Architectural Innovations
- Multi-dimensional Edge Tensors: EGNN replaces the $N \times N$ adjacency matrix with an $N \times N \times P$ tensor, where $P$ is the number of edge feature channels.
- Edge Adaptiveness: Unlike standard GNNs where the graph structure is fixed, EGNN updates edge features at each layer. The edge state $E^l$ is updated based on the previous layer's node states $X^{l-1}$ and edge states $E^{l-1}$.
- Doubly Stochastic Normalization: To ensure training stability and prevent signal explosion or vanishing, EGNN employs doubly stochastic normalization, where both rows and columns of the edge weights sum to one.
- Directionality Encoding: For directed graphs, EGNN encodes direction as a 3D feature (forward, backward, undirected), allowing the model to distinguish between different types of neighborhood relationships.
Experimental Evaluation
The authors evaluated EGNN on two primary domains: citation networks (Cora, Citeseer, and Pubmed) and molecular datasets (Tox21, Lipophilicity, and Freesolv).
The citation networks were used for node classification. Notably, the authors utilized the original directed versions of these graphs to test EGNN's ability to leverage edge-direction encoding. As shown in the figure above, these datasets exhibit significant class imbalance, providing a rigorous test for model resilience.
Key Results and Discussion
EGNN consistently outperformed standard baselines like GCN and GAT. On the Cora dataset, EGNN achieved approximately 83% accuracy, a significant improvement over GAT's 75%. The model also demonstrated superior performance on molecular tasks; for example, on the Freesolv regression task, EGNN reduced the Root Mean Square Error (RMSE) from 1.37 to 1.01.
Resilience to Imbalance
A key finding was EGNN's resilience to class imbalance. While standard GNNs often struggle when certain classes are underrepresented, the adaptive edge features in EGNN allow the network to learn more nuanced relationships that help maintain performance across skewed distributions.
Limitations
Despite its performance gains, EGNN introduces higher computational complexity. The attention-based variant, EGNN(A), is significantly slower than GCN (e.g., 159ms vs. 22ms per epoch on Cora). Additionally, the benefits of edge enhancement are less pronounced on very sparse graphs, such as Citeseer, where the low average degree provides fewer edges for the model to "enhance."
Conclusion
By treating edges as evolving, multi-dimensional features, EGNN addresses a significant limitation in current graph learning architectures. The framework's ability to adapt graph structure alongside node embeddings leads to state-of-the-art performance in both citation and molecular domains, particularly in the presence of directed connections and class imbalance.
Summary updated