Abstract
With the development of graph convolutional networks (GCN), deep learning methods have started to be used on graph data. In addition to convolutional layers, pooling layers are another important component of deep learning. However, no effective pooling methods have been developed for graphs currently. In this work, we propose the graph pooling (gPool) layer, which employs a trainable projection vector to measure the importance of nodes in graphs. By selecting the k-most important nodes to form the new graph, gPool achieves the same objective as regular max pooling layers operating on images. Another limitation of GCN when used on graph-based text representation tasks is that GCNs do not consider the order information of nodes in a graph. To address this limitation, we propose the hybrid convolutional (hConv) layer that combines GCN and regular convolutional operations. The hConv layer is capable of increasing receptive fields quickly and computing features automatically. Based on the proposed gPool and hConv layers, we develop new deep networks for text categorization tasks. Our results show that the networks based on gPool and hConv layers achieve new state-of-the-art performance as compared to baseline methods.
Introduction
While Convolutional Neural Networks (CNNs) excel at processing grid-like data such as images and text sequences, many real-world datasets are better represented as graphs. Graph Convolutional Networks (GCNs) were developed for this purpose, but they suffer from two major drawbacks. First, they lack effective pooling operations comparable to max-pooling in CNNs, which are essential for reducing data size and enlarging the receptive field. Second, when text is converted into a graph (where words are nodes and co-occurrences are edges), the original word order is often lost. Standard GCNs treat nodes as an unordered set, ignoring the local structural patterns that traditional 1-D CNNs exploit so effectively in NLP.
Methodology
Graph Pooling (gPool)
To overcome the lack of downsampling in GCNs, the authors propose gPool, a trainable graph pooling layer. Unlike image pooling, which looks at fixed spatial neighborhoods, gPool uses a trainable projection vector to determine node importance.
Each node’s features are projected onto this vector to produce a scalar "importance score." The model selects the top-$k$ highest-scoring nodes to form a new, smaller graph. To make this selection process differentiable, the authors use a gate operation: the selected node features are multiplied by their scores (passed through a tanh function) before moving to the next layer.
Hybrid Convolutional Layer (hConv)
To address the "order-blindness" of GCNs, the hConv layer processes node features through two parallel paths. The GCN path captures global topology and long-range dependencies via graph edges, while the 1-D Conv path treats nodes as a sequence to extract local features. The outputs of both paths are concatenated, allowing the model to benefit from both graph-based relationships and local sequence patterns.
Experiments and Results
The proposed hConv-gPool-Net was evaluated on four standard text classification benchmarks: AG’s News, DBPedia, Yelp Polarity, and Yelp Full. The models used fastText for word embeddings and included position embeddings to further preserve sequence information.
As shown in the results, the hConv-gPool-Net consistently outperformed both traditional word/char-level CNNs and standard GCN baselines across all datasets. For instance, on AG’s News, it achieved a 7.09% error rate compared to 8.55% for word-level CNNs. Notably, the gPool layer adds negligible parameter overhead (only 0.06% increase), meaning the performance gains come from architectural efficiency rather than increased model size.
Conclusion
This research demonstrates that node importance in graphs is learnable and that combining graph topology with sequential information yields superior text representations. By using gPool, the network can increase its receptive field much faster than a flat GCN, achieving state-of-the-art results with only 5 layers compared to the 9 layers typically used in word-level CNNs. Future work may explore more adaptive ways to determine the optimal number of nodes to keep during pooling.
Summary updated