Abstract
Standard Graph Neural Networks (GNNs) typically apply uniform aggregation weights across all feature dimensions during message passing. This "one-size-fits-all" approach often fails in real-world graphs where different features require varying levels of smoothing, particularly in disassortative networks. We present Graph Feature Gating Networks (GFGN), a framework that introduces learnable gating mechanisms to allow dimension-wise adaptive aggregation. By framing the problem as graph signal denoising, GFGN effectively mitigates over-smoothing and noise injection, achieving significant performance gains on both homophilous and heterophilous datasets.
Introduction
The core of most GNN architectures is the message-passing scheme, where a node's representation is updated by aggregating information from its neighbors. Traditionally, this process uses a single scalar coefficient (like the edge weight in GCN or attention score in GAT) for the entire feature vector. However, real-world features are rarely uniform. In a social network, two connected individuals might share similar professional backgrounds but hold divergent political views. Forcing the same level of smoothing on both dimensions can lead to the loss of discriminative information or the introduction of noise.
This limitation is particularly pronounced in disassortative graphs—networks where connected nodes are likely to have different labels or features (e.g., dating networks or protein-protein interactions). In such cases, standard aggregation can lead to "over-smoothing," where node features become indistinguishable across the graph.
Methodology: Graph Feature Gating
GFGN addresses this by deriving a gating mechanism from the mathematical principles of Graph Signal Denoising. The model is designed to recover a "clean" signal while allowing for varying smoothness across different feature dimensions.
The authors propose three hierarchical variants of the architecture:
- GFGN-graph: Employs a single global gating vector for the entire graph.
- GFGN-neighbor: Learns node-specific gating vectors based on local neighborhood characteristics.
- GFGN-pair: The most granular approach, learning unique gating vectors for every individual edge.
To maintain computational efficiency and prevent parameter explosion, GFGN utilizes a Multi-head Gating mechanism. Similar to multi-head attention, this allows the model to capture complex interactions between feature dimensions without a linear increase in memory or compute requirements.
Key Insights: The Smoothness Spectrum
A central finding of this work is that different features indeed require different levels of smoothing. By analyzing the learned "smoothing scores" across dimensions, the authors observed that disassortative graphs exhibit much higher variance in these scores.
As shown in Figure 6, the distribution of score values varies significantly between datasets like BlogCatalog and Cora. The gating mechanism allows the model to "block" or "gate" specific dimensions across edges where smoothing would be detrimental, effectively adapting to the local graph topology and feature distribution.
Results and Robustness
The GFGN framework was evaluated across 11 benchmark datasets, including social networks, citation graphs, and protein-protein interaction (PPI) networks.
Performance on Disassortative Graphs
The most dramatic improvements were seen on heterophilous datasets. Compared to standard GCNs, GFGN achieved relative accuracy increases of 42.0% on Cornell and 38.6% on Wisconsin. In the inductive setting (PPI dataset), GFGN-neighbor reached a Micro-F1 score of 99.32, significantly outperforming GAT (97.3).
Robustness to Noise
Because the gating mechanism can selectively ignore noisy dimensions or edges, GFGN exhibits superior robustness compared to traditional GNNs.
In experiments where random edges were injected into the Cora dataset (Figure 5), GFGN variants maintained high accuracy even at 100% noise ratio, whereas standard models like GCN and SGC experienced sharp performance declines.
Conclusion
Graph Feature Gating Networks provide a principled solution to the limitations of uniform aggregation in GNNs. By allowing for dimension-wise adaptivity, GFGN excels in handling complex, noisy, and disassortative graph data. While theoretical spectral analysis for the more granular "neighbor" and "pair" variants remains an area for future research, the empirical results demonstrate that GFGN is a powerful and efficient alternative for modern graph representation learning.
Summary updated