Substructure Assembling Network for Graph Classification

Xiaohan Zhao, Bo Zong, Ziyu Guan, Kai Zhang, Wei Zhao

Introduction

Graph classification—predicting the category of an entire graph, such as a molecule or a social network—is a fundamental challenge in machine learning. Historically, researchers have relied on two distinct approaches: interpretable but rigid graph kernels that search for specific sub-patterns, and flexible but "black-box" Graph Neural Networks (GNNs). The Substructure Assembling Network (SAN) bridges this gap by introducing a novel architecture that combines the flexibility of pattern search with the end-to-end optimizability of deep learning.

The Substructure Assembling Unit (SAU)

The core innovation of this work is the Substructure Assembling Unit (SAU), a specialized variant of a Recurrent Neural Network (RNN) designed for graph topology. Unlike standard GNNs that aggregate information from all neighbors equally, the SAU treats the discovery of discriminative subgraphs as a trainable, probabilistic decision process.

The overall architecture of SAN, illustrating the flow from an input graph through hierarchical SAU layers to the final classification output.

Hierarchical Feature Assembly

SAN operates through multiple layers to hierarchically "grow" complex graph features:

  • Sequential Edge Selection: For every node, the SAU iterates through its neighbors. Instead of a binary "hard" choice, it makes a "soft" probabilistic decision to include an edge, allowing the search trajectory to be optimized via backpropagation.
  • Edge Residues: To manage the "budget" of structural information and prevent redundancy, the model tracks "edge residues," which represent how much potential an edge has left to contribute to higher-level features.
  • Neighborhood Shuffling: To ensure the model remains invariant to node ordering, neighbor sequences are randomly shuffled during training.

Key Insights: Differentiable Search and Anti-Gating

A significant finding in this research is the "anti-gating" argument. While standard RNNs like LSTMs use "forget gates" to manage dependencies, the authors found these counter-intuitive for building substructures. In the SAU, every selection is designed to have a permanent, additive impact on the feature being constructed, leading to superior performance over standard gated units.

Experimental Results and Interpretability

SAN was evaluated on five benchmark datasets, including MUTAG (nitro compounds) and NCI1 (chemical compounds screened for cancer activity). The model consistently matched or outperformed state-of-the-art methods, such as Weisfeiler-Lehman kernels, achieving a notable 94.30% accuracy on MUTAG.

Beyond accuracy, SAN offers rare interpretability. By visualizing the learned "edge contribution weights," the model can highlight the specific chemical motifs or structural patterns that drive a classification decision.

Visualization of edge contribution weights in positive and negative examples, showing how SAN identifies specific discriminative substructures.

Conclusion

The Substructure Assembling Network represents a significant advancement in making graph deep learning both powerful and interpretable. By framing substructure discovery as a differentiable assembly process, SAN provides granular control over feature extraction, allowing it to ignore noise and isolate the critical structural motifs necessary for accurate classification.

Summary updated

BibTeX
@inproceedings{zhao2018substructure,
  author = {Xiaohan Zhao and Bo Zong and Ziyu Guan and Kai Zhang and Wei Zhao},
  title = {{Substructure Assembling Network for Graph Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11742},
}
Figure