arXiv:2609.04978cs.AISep 2026

Manuscript Offprint

arXiv:2609.04978

Global to Local: Topology-Preserving Adaptive Graph Pooling via Granular-Ball

Sen Zhao, Gaojie Xu, Shuyin Xia, Yifan Guan, Yi Liu, Yi Wang, Wei Wang

Abstract

Graph pooling aims to compress the graph, including both node embeddings and their underlying topological patterns, into a more compact representation. Previous works focus primarily on the overly fine-grained representation of nodes, progressively coarsening the graph by removing nodes or merging them into clusters, thus neglecting the global-to-local patterns and adaptive granularity of the graph's topological structure. In the real scenario, graphs as a whole can be considered the coarsest level of granularity, encapsulating the global topological structure, with progressively finer-grained local topological structures represented from top to bottom. This process continues until the adaptive granularity for each subdomain is reached. To this end, we propose a novel Topology-Preserving Adaptive Graph Pooling (TPAGP) method that dynamically partitions graphs into granular balls by integrating node features and topological information, enabling the generation of multi-granularity representations that effectively capture both local and global structural patterns. Additionally, we design a multi-granularity graph network model that facilitates feature interaction and optimization across different granularities, significantly enhancing performance in graph classification tasks. Experimental results demonstrate that TPAGP outperforms existing pooling methods across various benchmark datasets, effectively mitigating information loss caused by fixed-granularity strategies. The code is available at https://anonymous.4open.science/r/TPAGP.

1 Introduction

Graph Neural Networks (GNNs) have become essential tools for processing graph-structured data due to their ability to propagate and aggregate node features along edges [10, 24]. While GNNs effectively learn node-level representations, many downstream tasks, such as graph classification [21, 20], require summarizing entire graphs into compact representations. Graph pooling plays a crucial role in generating such graph-level representations by compressing node embeddings and their underlying topological patterns into a unified format.

Early works [1, 24] primarily employed global pooling methods, which aggregate all node embeddings using simple operations like summation or averaging. However, these methods often fail to preserve the graph's topological structure, as they neglect finer-grained structural patterns within the graph. To overcome these limitations, researchers have introduced hierarchical pooling methods [6, 12, 26], which iteratively coarsen graphs by merging nodes or subgraphs. These approaches are designed to capture multi-scale structural information, offering a more topology-aware representation of graphs. Broadly, hierarchical pooling methods can be classified into two categories: node dropping and node clustering. Node dropping methods (as illustrated in Fig. 1a) reduce the graph size by selecting a subset of nodes based on their importance scores, discarding less important nodes during the pooling process [6, 12, 14, 25]. While these methods offer advantages in memory efficiency and computational scalability, the removal of nodes can compromise the graph's topological structure and result in information loss [4].

Preprint. Under review.

Figure

Figure 1: Comparison of hierarchical graph pooling methods.

Node clustering methods (as illustrated in Fig. 1b), in contrast, focus on preserving topological information by learning a cluster assignment matrix, which groups nodes into clusters and progressively aggregates them into coarser graph representations [26, 3, 16]. Despite their effectiveness, both node dropping and node clustering methods focus primarily on local graph information, progressively coarsening the graph by removing nodes or merging them into clusters, thus neglecting the global-to-local patterns and adaptive granularity of the graph's topological structure.

In real-world graph pooling, graphs contain subregions with varying granularities and distinct topological structures. Nodes within the same subregion tend to be more similar, indicating local topological coherence.

As shown in Fig. 1(c), the entire graph forms the coarsest granularity, while finer structures emerge hierarchically until each subdomain reaches its adaptive level. In the example shown in Fig.1 (c), G~11\widetilde{G}_1^1 corresponds to an appropriate level of granularity, while G~21\widetilde{G}_2^1 should be further decomposed into G~12\widetilde{G}_1^2 and G~22\widetilde{G}_2^2 at a finer granularity, as the structural coherence and node similarity within G~21\widetilde{G}_2^1 indicate that its subdomains could be further refined to capture more detailed topological patterns. Previous works, as illustrated in Fig. 1 (a), (b), overlook the global-to-local topological patterns by starting with an overly fine-grained representation of individual nodes and recursively coarsening the graph to capture topological information from the local to the global scale. This approach shifts attention to global topological relationships only after simplifying the local details, which can disrupt the graph's original topology and hinder the ability to capture global structural patterns. Furthermore, pooling the graph from the finest granularity disregards the adaptive nature of granularity in different topological subdomains, limiting the method's capacity to capture the full range of structural complexities across the graph.

Actually, preserving the graph's topology from global to local scales with adaptive granularity is non-trivial, due to two challenges: 1) Topological Structure Refinement: Topological structures in a graph are characterized by nodes with high connectivity and strong feature similarity. These structures should be modeled at the appropriate granularity, ensuring that neither coarser-grained parent graphs nor finer-grained subgraphs exhibit a higher degree of topological coherence than the granularity at which the structure is being analyzed. Inspired by the advantages of granular-ball computing [22, 23] in modeling multi-granular characteristics for scattered data, we explore its potential for graph refinement and propose an Adaptive Granularity graph refinement mechanism to effectively capture and preserve the topological structures within the graph. 2) Pooling of Topological Structures: The second challenge lies in how to pool these topological structures, especially considering the tree-like structure formed through graph refinement, which progresses from global to local. Due to the adaptive granularity, the depth of branches may vary across different subdomains, leading to inconsistent structural levels. This necessitates a pooling mechanism capable of handling varying depths and granularities, preserving both local and global topological patterns while adapting to the inherent complexity introduced by the hierarchical refinement process.

To this end, we propose a novel Topology-Preserving Adaptive Graph Pooling (TPAGP) method, inspired by the multi-granularity application of granular-ball computation to discrete data points. TPAGP generates multiple granular-balls, each representing a portion of the graph structure, by adaptively partitioning the graph and integrating node features with topological information. This partitioning enables the creation of subgraphs at different granularities, capturing both local and global structural patterns effectively. The pooling process is dynamic and data-driven, adjusting the granularity based on the characteristics and features of the graph, ensuring that important node relationships and attributes are preserved. Additionally, TPAGP integrates a multi-granularity graph network model, where features from different granular-balls are processed and optimized collaboratively, facilitating efficient information transfer across granularities. This enables the model to learn a more comprehensive graph representation by capturing interactions between features at various granular levels, ultimately improving performance in graph-based tasks. The adaptive nature of TPAGP allows it to flexibly handle heterogeneous graph data, making it particularly effective for complex graph structures.

References (27)