Introduction
In Graph Neural Networks (GNNs), pooling is a critical operation used to coarsen graphs into smaller representations for graph-level tasks, such as molecular classification or social network analysis. However, traditional hierarchical pooling methods face two significant challenges: fixed depth and level independence. Most models apply a pre-set number of pooling steps regardless of graph size and optimize hierarchical levels independently, often leading to suboptimal global structures.
To address these issues, we introduce MDL-Pool, a novel pooling operator that leverages the Minimum Description Length (MDL) principle. By treating graph pooling as a model selection problem, MDL-Pool adaptively determines the optimal number of clusters and hierarchical levels for each individual graph, balancing model simplicity with data fit.
The MDL-Pool Architecture
MDL-Pool follows a structured approach to graph coarsening using a Select-Reduce-Connect (SEL-RED-CON) pattern. Unlike static methods, it evaluates multiple pooling depths in parallel and selects the configuration that minimizes the total description length of the graph structure.
As shown in the architecture diagram, the model considers 0-level, 1-level, and 2-level pooling simultaneously. The selection block uses the MDL loss ($\mathcal{L}_i$) as a universal quality score to pick the most efficient representation ($H', A'$) for subsequent GNN layers and the final readout.
Information Theory and the Map Equation
The mathematical foundation of MDL-Pool is the Map Equation, which treats the graph as a communication system. By simulating a random walker across the graph, the model seeks a clustering that allows for the shortest possible description of the walker's path.
Key innovations in this framework include:
- Multilevel Loss: A continuous, differentiable version of the map equation that allows for joint optimization of all hierarchical levels via gradient descent.
- Adaptive Depth Selection: The MDL principle acts as a mathematical Occam’s Razor, naturally preferring simpler models (fewer levels) unless additional complexity significantly improves the description of the data.
- Parameter-Free Clustering: The model automatically infers the optimal number of clusters ($k$), making it robust across datasets with varying graph sizes.
Experimental Results
MDL-Pool was evaluated on both unsupervised community detection and supervised graph classification tasks. It achieved state-of-the-art (SOTA) results on several major benchmarks, including COLLAB (76.3%), IMDB-BINARY (77.2%), and D&D (79.7%).
In community detection tests, MDL-Pool significantly outperformed baselines like DiffPool and MinCut in recovering ground-truth structures. Analysis of the adaptive depth selection showed that the model correctly identifies when a single level of pooling is sufficient and when deeper hierarchies are required, proving the utility of its information-theoretic approach.
Conclusion and Future Work
MDL-Pool demonstrates that information theory can effectively guide the coarsening of complex graph data. By moving away from fixed hyperparameters toward adaptive, MDL-based selection, the model achieves superior performance and structural interpretability. Future research will explore incorporating node feature-based compression into the loss function and optimizing the computational complexity for extremely dense graphs.
Summary updated