Saliency-aware regularized graph neural network

Wenjie Pei, Weina Xu, Zongze Wu, Weichao Li, Jinfan Wang, Guangming Lu, Xiangrong Wang

Abstract

Graph classification is a fundamental task in graph learning, yet standard Graph Neural Networks (GNNs) often struggle with "local myopia" and suboptimal readout mechanisms. We present the Saliency-Aware Regularized Graph Neural Network (SAR-GNN), a framework designed to explicitly identify and leverage salient nodes for improved classification. By integrating a Graph Neural Memory (GNM) module that distills a global graph representation, SAR-GNN guides local message-passing to amplify relevant signals and suppress noise. Our evaluation across seven diverse datasets shows that SAR-GNN consistently outperforms state-of-the-art models, achieving significant accuracy gains in both biochemical and structural graph tasks.

Introduction

Graph classification involves predicting labels for entire graph structures, such as determining the toxicity of a molecule or the category of a social network. Despite the success of GNNs, two primary limitations hinder their performance:

  1. Local Myopia: Standard GNNs aggregate features from immediate neighborhoods, often failing to recognize which specific nodes are critical to the global classification goal. In complex structures, only a small subset of nodes may determine the graph's overall property.
  2. Suboptimal Readouts: Traditional methods often use simple pooling (e.g., sum or mean) to generate a graph-level vector. This approach frequently fails to capture high-level structural information, as the model's capacity is primarily consumed by learning individual node features rather than the "big picture."

SAR-GNN addresses these gaps by introducing a mechanism that explicitly measures and utilizes global node saliency.

Methodology: The SAR-GNN Framework

The SAR-GNN architecture consists of two interdependent modules that interact iteratively across multiple layers: the Backbone Network and the Graph Neural Memory (GNM).

Architecture Overview

  • Backbone Network: This is a traditional GNN (such as GCN, GIN, or GraphSAGE) responsible for learning node-level features through standard neighborhood aggregation.
  • Graph Neural Memory (GNM): This novel module employs a cross-attention mechanism to distill a compact, global representation of the entire graph. It acts as a "summary" that evolves alongside the node features.
The SAR-GNN architecture showing the interaction between the Backbone Network and Graph Neural Memory.

Saliency-Aware Regularization (SAR)

The core innovation lies in the interaction between these modules. The GNM's global summary is compared against individual node features to calculate a Global Saliency score. This score quantifies how much a specific node aligns with the overall identity of the graph.

This saliency score is then used to regularize the backbone's message-passing. Instead of treating all neighbors equally, the backbone weights its aggregation based on these scores—salient nodes are amplified, while irrelevant or noisy nodes are suppressed. This creates a "virtuous cycle" where improved node features lead to a more accurate global summary, which in turn provides better saliency guidance.

Experimental Evaluation

The researchers evaluated SAR-GNN on seven benchmarks spanning bioinformatics (MUTAG, PROTEINS, ENZYMES), social networks (IMDB-BINARY, IMDB-MULTI), and structural/synthetic tasks (TRIANGLES, Letter-high).

Key Results

SAR-GNN achieved state-of-the-art performance on six of the seven datasets:

  • Significant Accuracy Gains: On the MUTAG dataset, adding the SAR framework to a standard GCN improved accuracy by 10.6%. On the TRIANGLES structural dataset, the improvement was a remarkable 35.7%.
  • Backbone Agnosticism: The framework proved highly flexible, consistently boosting the performance of various backbones including GCN, GIN, and GraphSAGE.
  • Interpretability: Qualitative analysis confirmed that the model learns chemically and structurally significant features. In chemical datasets, it assigned high saliency to fused rings; in the TRIANGLES dataset, it correctly identified nodes belonging to multiple triangles as the most salient.

Discussion and Conclusion

SAR-GNN demonstrates that explicitly modeling global saliency can overcome the inherent limitations of local message-passing in GNNs. By defining importance through alignment with a distilled global memory, the model achieves a more nuanced understanding of graph topology.

While highly effective, the authors note that the optimal method for fusing saliency weights can vary by backbone, and the iterative cross-attention mechanism introduces a manageable but present computational overhead. Future work may involve exploring theoretical bounds for regularization across different graph topologies and optimizing the fusion mechanisms for specific architectural backbones.

Summary updated

BibTeX
@article{pei2024saliency,
  author = {Wenjie Pei and Weina Xu and Zongze Wu and Weichao Li and Jinfan Wang and Guangming Lu and Xiangrong Wang},
  title = {{Saliency-aware regularized graph neural network}},
  journal = {Artificial Intelligence},
  year = {2024},
  doi = {10.1016/j.artint.2024.104078},
}

Loading related content...

Figure