Abstract
In recent years, Graph Neural Networks (GNNs) have shown superior performance on diverse real-world applications. To improve model capacity, GNN topology design is crucial alongside aggregation operations. Traditional designs either stack aggregations, risking over-smoothing, or use multiple aggregations per layer, which is computationally expensive. We propose F²GNN, a novel framework that views GNN topology through a feature fusion lens. By unifying existing designs with selection and fusion strategies and employing an improved differentiable neural architecture search (NAS), F²GNN adaptively utilizes different feature levels. Our results across eight datasets demonstrate that F²GNN outperforms human-designed architectures and effectively mitigates over-smoothing.
Introduction
The performance of Graph Neural Networks (GNNs) is heavily influenced by their topology—the connectivity between layers. Existing designs generally follow two patterns:
- Stacking Aggregations: Piling layers to capture high-level features, which often leads to "over-smoothing" where node representations become indistinguishable.
- Multi-Aggregation: Using multiple operations per layer for detailed local extraction, which becomes costly when scaling to higher-level information.
The authors identify a gap: there isn't a systematic way to combine these two approaches. Most GNNs are hand-designed for specific datasets, and a topology that works for a citation network might fail on a social network. F²GNN addresses these deficiencies by treating topology design as an automated feature fusion problem, allowing for the discovery of optimal connectivity patterns that balance depth and detail.
The F²GNN Framework
The core of F²GNN is the SFA block (Selection, Fusion, and Aggregation), which represents the GNN as a Directed Acyclic Graph (DAG).
As shown in the figure above, each block $i$ performs three key operations:
- Selection: The model determines which features from previous layers ($H^0, \dots, H^{i-1}$) to retain using selection functions $f_s$.
- Fusion: Selected features are merged using a fusion function $f_f$ (e.g., SUM, CONCAT, or Attention).
- Aggregation: A message-passing operation $f_a$ (e.g., GCN, GAT, SAGE, or GIN) is applied to the fused representation.
To find the best configuration, we utilize an improved differentiable Neural Architecture Search (NAS) algorithm. By introducing a temperature parameter in the Softmax function, we bridge the "optimization gap" when choosing between discrete operations like ZERO and IDENTITY, making the search more stable and the final architecture more robust.
Experimental Evaluation
We evaluated F²GNN on eight real-world datasets, including five homophily ones (e.g., Cora, CiteSeer, PubMed) and three heterophily ones (e.g., Wisconsin, Actor, Flickr).
Key Results
- State-of-the-Art Performance: F²GNN achieved the top performance on 7 out of 8 primary datasets compared to human-designed baselines like JK-Net, ResGCN, and GCNII.
- Search Efficiency: The search process is highly efficient; for instance, finding the optimal topology for the Cora dataset took only 0.028 GPU hours, significantly faster than reinforcement learning methods.
- Over-smoothing Resistance: While standard stacked GNNs see a sharp performance drop after 4 layers, F²GNN maintains stable or improving performance even as the number of SFA blocks increases to 10. This is achieved by adaptively selecting lower-level features in later blocks to maintain feature discriminability (measured by the MAD metric).
- Parameter Efficiency: F²GNN achieved better results than wide models like PNA while using up to 35% fewer parameters, proving that the fusion strategy is more important than raw aggregation count.
Conclusion
F²GNN demonstrates that GNN topology is highly data-specific and that automated feature fusion can significantly improve model capacity. A recurring discovery in the searched topologies was the importance of the "Input Block"—fusing raw node features directly into the final output helps maintain node identity and prevent over-smoothing. Future work will explore expanding the search space and scaling the framework to massive graphs.
- Summary based on "Designing the Topology of Graph Neural Networks: A Novel Feature Fusion Perspective."
Summary updated