Structural Entropy Based Graph Structure Learning for Node Classification

Liang Duan, Xiang Chen, Wenjie Liu, Daliang Liu, Kun Yue, Angsheng Li

Abstract

Graph Neural Networks (GNNs) are highly dependent on the quality of the underlying graph structure, which is often noisy or incomplete in real-world applications. This paper introduces a novel Graph Structure Learning (GSL) framework that leverages structural entropy and encoding trees to optimize graphs for node classification. By treating a graph as a hierarchical abstraction, the proposed method effectively filters out redundant noise while capturing essential community-level semantics. Our approach achieves state-of-the-art performance across multiple benchmarks and demonstrates significantly higher robustness against edge-level attacks compared to existing GSL methods.

Introduction

The performance of Graph Neural Networks (GNNs) is heavily dictated by the quality of the input graph. However, real-world graphs are frequently "noisy," containing edges that do not represent meaningful relationships, and complex, possessing hierarchical community structures that simple neighborhood-based GNNs often fail to capture.

Existing Graph Structure Learning (GSL) methods attempt to learn an optimized graph structure but often rely on traditional mutual information metrics that are insufficient for quantifying complex structural information. Furthermore, most GSL approaches focus on local node features and ignore broader "graph semantics," such as hierarchical clustering. This research addresses the challenge of mathematically defining and extracting an optimal graph structure that retains classification-relevant data while discarding noise.

Methodology

The framework is grounded in Structural Information Theory, utilizing several key components to refine the graph structure:

Structural Entropy and Encoding Trees

The core of the approach is the use of an "encoding tree" to represent a graph's hierarchical abstraction. By minimizing the $K$-dimensional structural entropy of this tree, the model identifies a structure containing "minimal sufficient information"—a clean version of the graph that preserves vital community structures while eliminating noise.

Framework Components

  1. Basic View Enhancement: The model processes multiple graph views (e.g., original adjacency and feature-based similarity). It constructs a $k$-nearest neighbor ($k$NN) graph where $k$ is automatically optimized via one-dimensional structural entropy minimization.
  2. Community Influence Fusion: Instead of simple averaging, a fusion mechanism weights node importance based on "community influence" (derived from the encoding tree) and prediction confidence.
  3. Hierarchical Training: The model is optimized using a combination of standard cross-entropy loss and a hierarchical contrastive loss. This ensures node embeddings align with their corresponding community embeddings across different levels of the encoding tree.
Overview of the proposed structural entropy-based GSL framework, illustrating (a) the overall pipeline, (b) basic view enhancement, and (c) the hierarchical contrastive learning component.

Experimental Results

The method was evaluated on eight benchmark datasets, including citation networks (Citeseer, MS Academic), web networks (Texas, Wiki-CS), and non-graph datasets converted via $k$NN (Cancer, Digits).

Performance and Robustness

The proposed method consistently outperformed state-of-the-art competitors such as PROSE, CoGSL, and IDGL. For instance, on the Texas dataset, it achieved an F1-micro score of 61.3%, surpassing the next best competitor, gCooL (59.0%).

Crucially, the model demonstrated exceptional robustness. In scenarios involving "edge attacks" (randomly adding or deleting edges), the performance of standard GNNs and other GSL methods declined sharply. In contrast, the structural entropy-based approach remained remarkably stable, proving that its hierarchical abstraction is resilient to structural perturbations.

Robustness analysis showing F1-micro scores under varying edge deletion and addition rates for the Texas and MS Academic datasets. The proposed method maintains superior stability compared to baselines.

Conclusion and Future Work

This work provides a theoretically grounded approach to Graph Structure Learning by applying the Graph Information Bottleneck principle through structural entropy. While the method is highly effective and robust, constructing optimal encoding trees for extremely large graphs remains computationally intensive. Future research will focus on scaling these algorithms to graphs with millions of nodes and extending the principles of structural entropy to heterogeneous and dynamic graph structures.

Summary updated

BibTeX
@inproceedings{duan2024structural,
  author = {Liang Duan and Xiang Chen and Wenjie Liu and Daliang Liu and Kun Yue and Angsheng Li},
  title = {{Structural Entropy Based Graph Structure Learning for Node Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i8.28679},
}
Figure