A Non-negative Factorization Approach to Node Pooling in Graph Convolutional Neural Networks

Davide Bacciu, Luigi Di Sotto

Introduction

In traditional Computer Vision, pooling layers such as max-pooling are fundamental for reducing data dimensionality and enabling models to focus on high-level, invariant features. However, extending this concept to Graph Convolutional Networks (GCNs) presents significant challenges. Unlike images, graphs lack a fixed grid or consistent node ordering, making standard spatial pooling inapplicable.

Early GCN architectures often relied on simple global aggregations, such as averaging all node features into a single vector. While computationally efficient, this approach discards the rich structural hierarchy inherent in complex graphs. Although advanced methods like DiffPool have been proposed, they frequently require complex, task-specific parameterized layers to learn node clustering. This paper introduces NMFPool, a mathematically grounded method that coarsens graphs by identifying underlying community structures through Non-Negative Matrix Factorization (NMF).

Methodology: The NMFPool Layer

The core innovation of this work is treating graph pooling as a matrix factorization problem. NMFPool leverages the natural community structure of graphs to perform hierarchical coarsening.

Community Discovery via NMF

The process begins by taking the graph's adjacency matrix $A$ and performing Non-Negative Matrix Factorization such that $A \approx WH$. In this decomposition, $H$ serves as a "soft-assignment" matrix. It maps the original $n$ nodes into $k$ new "pooled" nodes, which represent discovered communities within the graph.

Coarsening Operations

Using the assignment matrix $H$, the model reduces both the node features ($Z$) and the adjacency matrix ($A$) for subsequent layers:

  • Feature Reduction: $Z^{(i+1)} = H^T Z^{(i)}$
  • Structural Coarsening: $A^{(i+1)} = H^T A H$

Network Architecture

NMFPool layers are designed to be interleaved with standard GCN layers. This hierarchical structure allows the model to first learn local features, then progressively "zoom out" to observe interactions between node clusters, and finally produce a comprehensive signature for the entire graph.

Experimental Evaluation

The authors evaluated NMFPool across five benchmark datasets for graph classification, including protein structures (ENZYMES, PROTEINS, D&D), chemical compounds (NCI1), and social networks (COLLAB).

Key Results

Empirical results indicate that NMFPool consistently enhances performance over "vanilla" GCNs:

  • Accuracy Gains: On the D&D dataset, adding a single NMFPool layer increased classification accuracy from 68.1% to 76.0%.
  • Efficiency: Peak performance was often reached with just one pooling layer, suggesting that even minimal structural coarsening significantly improves context propagation.
  • Competitive Performance: NMFPool achieved results comparable to state-of-the-art methods like DiffPool, despite being a simpler, more mathematically direct approach that does not rely on task-specific parameterized decomposition.

Discussion and Insights

NMFPool offers several advantages over existing pooling techniques. By utilizing NMF, the method performs structure-aware subsampling, preserving the "community" logic where structurally similar or closely connected nodes are grouped together. Furthermore, the decomposition is task-agnostic; it identifies communities based solely on graph topology, enhancing generalizability across different tasks. The layer is also highly flexible, handling graphs of varying sizes and topologies without modification.

Conclusion and Future Work

NMFPool introduces a robust, principled framework for graph pooling. While highly effective, current limitations include the need to manually tune the number of clusters ($k$) and the use of general NMF rather than Symmetric NMF, which might better suit undirected graphs. Future research aims to evolve NMFPool into a fully generative, end-to-end differentiable layer using probabilistic approaches to further refine the pooling process during training.

Summary updated

BibTeX
@inproceedings{bacciu2019non,
  author = {Davide Bacciu and Luigi Di Sotto},
  title = {{A Non-negative Factorization Approach to Node Pooling in Graph Convolutional Neural Networks}},
  booktitle = {AI*IA},
  year = {2019},
  doi = {10.1007/978-3-030-35166-3\_21},
}
Figure