Learning Backtrackless Aligned-Spatial Graph Convolutional Networks for Graph Classification

Lu Bai, Lixin Cui, Yuhang Jiao, Luca Rossi, Edwin R. Hancock

Introduction

Graph classification is a fundamental task in machine learning with applications ranging from bioinformatics to social network analysis. Unlike images or audio, which possess a rigid grid-like structure, graphs are irregular and vary in size and topology. Traditional Spatial Graph Convolutional Networks (GCNs) have attempted to bridge this gap, but they frequently encounter three significant hurdles: information loss during pooling, the "tottering" problem where features redundantly propagate back and forth between adjacent nodes, and the lack of consistent vertex correspondence across different graphs in a dataset.

To address these challenges, this paper introduces the Backtrackless Aligned-Spatial Graph Convolutional Network (BASGCN). This novel framework maps arbitrary-sized graphs onto fixed-sized "backtrackless aligned grid structures," enabling the use of standard, high-performance convolutional neural network (CNN) architectures for graph data.

The BASGCN Architecture

The BASGCN model operates through a sophisticated three-layer pipeline that transforms raw graph data into a format suitable for traditional deep learning classifiers. The architecture is designed to preserve structural nuances while eliminating the noise associated with undirected feature propagation.

The overall architecture of the BASGCN model, illustrating the transition from graph structures to fixed-size grids and standard CNN layers.

1. Transitive Vertex Alignment

A core innovation of BASGCN is the alignment of vertices across the entire dataset to a common set of global "prototypes." Instead of treating each graph in isolation, the model uses $k$-means clustering on "depth-based" vertex representations to identify $M$ prototypes. Every vertex in every graph is then aligned to these prototypes, effectively warping diverse graphs into a fixed-sized grid of $M$ slots. This ensures that a specific "slot" in the grid represents a similar topological role across all graphs, solving the vertex correspondence problem without aggressive pooling.

The three-step process for transitive vertex alignment, mapping diverse graph vertices to a common set of global prototypes.

2. Backtrackless Structure and Dual-Stream Convolution

To solve the "tottering" problem—where information in undirected graphs creates redundant and noisy features by moving back and forth between nodes—the authors convert undirected edges into directed ones. This is achieved by calculating the steady-state random walk probability for each node; edges are then directed from nodes with lower probabilities to those with higher probabilities. This creates a mathematical "one-way street" for information flow.

The model then employs a dual-stream convolution approach:

  • In-BASGCN: Aggregates features from incoming edges.
  • Out-BASGCN: Aggregates features from outgoing edges.

By sharing parameters between these streams, the model captures comprehensive structural information while maintaining a non-backtracking flow.

3. Integration with Traditional CNNs

Because the alignment process produces a consistent, fixed-size grid, the output of the spatial convolution layers can be fed directly into traditional 1D-CNN layers. This allows the model to leverage standard operations like 1D convolution, pooling, and SoftMax, effectively treating the graph like a 1D image where each "pixel" (prototype) has a consistent meaning across the dataset.

Experimental Results

The BASGCN model was evaluated on eight standard benchmark datasets across bioinformatics (MUTAG, PROTEINS, D&D, PTC) and social networks (IMDB-B, IMDB-M, RED-B, COLLAB). The results demonstrate that BASGCN consistently outperforms or matches state-of-the-art competitors, including both classic graph kernels and modern deep learning models like DGCNN and PSGCNN.

Key performance highlights include:

  • State-of-the-Art Accuracy: The model achieved 91.00% accuracy on RED-B and 79.60% on COLLAB, outperforming nearly all existing methods.
  • Efficiency: Despite the complexity of the alignment step, training times remain competitive with highly optimized kernels, making it viable for large-scale datasets.
  • Robustness: The model shows stability as the number of prototypes ($M$) increases, suggesting it is not overly sensitive to hyperparameter tuning.

Conclusion and Future Work

BASGCN represents a significant step forward in graph classification by treating graphs as "pseudo-images" through transitive vertex alignment and breaking symmetry to reduce noise. While the current implementation relies on $k$-means as a preprocessing step, future iterations could involve learning these prototypes end-to-end within the neural network. Additionally, exploring automated architecture search to optimize the grid structure for specific datasets remains a promising avenue for further research.

Summary updated

BibTeX
@article{bai2022learning,
  author = {Lu Bai and Lixin Cui and Yuhang Jiao and Luca Rossi and Edwin R. Hancock},
  title = {{Learning Backtrackless Aligned-Spatial Graph Convolutional Networks for Graph Classification}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  doi = {10.1109/tpami.2020.3011866},
}
Figure