Abstract
This paper introduces the Aligned Vertex Convolutional Network (AVCN), a novel graph neural network architecture for graph classification. By using a global clustering technique to align vertices across an entire dataset, the model transforms arbitrary-sized graphs into fixed-size, structurally consistent grids. This allows standard 1D convolutions to extract rich, multi-scale local features without the severe information loss typical of traditional graph pooling methods.
Introduction
Graph classification is a fundamental task in machine learning, requiring the transformation of discrete mathematical structures into numeric feature vectors. While Graph Convolutional Networks (GCNs) have shown promise, spatial methods often rely on global pooling layers (e.g., SumPooling) that aggregate local vertex features into a single vector. This process frequently destroys local topological details, limiting the model's expressive power.
Existing attempts to address this, such as DGCNN or PSGCNN, attempt to sort vertices into fixed-size grids. However, these methods typically sort vertices based on local graph structure in isolation, failing to establish correspondence between vertices across different graphs in a dataset. Furthermore, they often discard "low-ranking" vertices to maintain fixed dimensions, leading to significant information loss. The Aligned Vertex Convolutional Network (AVCN) aims to solve both the correspondence and information loss problems.
Methodology
The AVCN architecture relies on three key steps to process graphs of varying sizes into a consistent format for convolution.
1. Transitive Vertex Alignment
Unlike previous methods that align vertices locally, AVCN performs alignment across the entire dataset. By applying $k$-means clustering to the feature representations of all vertices in the dataset, the model identifies $M$ global "prototype" representations. Each vertex in every graph is then aligned to its nearest prototype.
2. Aligned Vertex Grid Structure
The identified prototypes allow any graph to be mapped into a fixed-size $M \times c$ grid, where $c$ is the feature dimension. The grid's order is determined by prototype similarity, ensuring structural consistency across the dataset. This mapping preserves all original vertices; multiple vertices mapping to the same prototype are aggregated, ensuring zero information loss.
3. 1D Vertex Convolution
With all graphs converted into perfectly aligned, fixed-size grids, the model slides standard 1D convolutional filters over them. Stacking multiple convolution layers allows the network to learn multi-scale, local-level structural features.
The complete architecture utilizes these convolutions in parallel paths with varying filter sizes (e.g., $m=3$ and $m=5$) to capture diverse structural patterns before final classification via dense layers and a softmax output.
Results and Discussion
The AVCN was evaluated against state-of-the-art graph kernels and deep learning models on eight benchmark datasets across bioinformatics, computer vision, and social network domains. The model demonstrated superior performance, achieving accuracies of 89.06% on MUTAG, 80.90% on D&D, and 91.00% on RED-B. Notably, on the complex GatorBait dataset (30 classes), AVCN achieved 19.00% accuracy, nearly doubling the performance of competing deep learning baselines which hovered around 8-11%.
Conclusion
AVCN provides a robust framework for graph classification by establishing global vertex correspondence and utilizing 1D convolutions on aligned grids. This approach effectively extracts multi-scale local features while avoiding the information loss inherent in traditional pooling. While currently utilizing a transductive setup for prototype generation, future work may explore inductive variants to enable real-time processing of unseen graphs.
Summary updated